Article View: comp.sys.mac.programmer.codewarrior
Article #922Re: Variable re-declared error
From: MW Ron
Date: Thu, 24 Oct 2002 13:23
Date: Thu, 24 Oct 2002 13:23
28 lines
2186 bytes
2186 bytes
In article <a926f6f0.0210232256.254d397f@posting.google.com>, kurt.bierbaum@t-online.de (topdancer) wrote: >I tried to convert an old CW 7 project to CW 8.2. The compiler showed >some error messages that a function was wrongly re-declared. In fact, >the function prototype in the corresponding header file was different >from the function itself, some variables were missing in the header >file (CW 7 did not see this error!). > >After correcting these issues, the error messages did NOT go away, >although the header file was correct in number and type of variables. > >Why? How can I resolve this? We really should see the error message. As Daniel said this may be a case of changing a wrong file or the file being cached. It may be that this is in the precompiled headers and you will need to update that. It also may be a matter of const/volatile and you'll need to fix that in your source. Ron -- Do what you do best and let Metrowerks do the rest !! http://www.metrowerks.com/MW/Services/SSG/default.htm Metrowerks, maker of CodeWarrior - "Software Starts Here" Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Technical Details
Message-ID:
<mwron-ED7E29.09231024102002@enews.newsguy.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwronReferences:
<a926f6f0.0210232256.254d397f@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f635e,3d2f73bf0dd224ae
X-Google-Attributes: gidf635e,public
X-Google-Thread: 10bcce,3d2f73bf0dd224ae
X-Google-Attributes: gid10bcce,public
X-Google-ArrivalTime: 2002-10-24 06:51:00 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron
From: MW Ron <mwron@metrowerks.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: Variable re-declared error
Date: Thu, 24 Oct 2002 09:23:10 -0400
Organization: Metrowerks
Lines: 28
Message-ID: <mwron-ED7E29.09231024102002@enews.newsguy.com>
References: <a926f6f0.0210232256.254d397f@posting.google.com>
NNTP-Posting-Host: p-157.newsdawg.com
User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X)
X-Face: )mY~XFHLw)UOW!W#[Ljvxq6Ja7(g'#F0-g*&puNxR8hEJkd@Oue/70^.)I78\
(%a%&Id211u"l/t.llWo/M|?15XUlx9!IGkdWiEmcasiyg"k;Q9[~XuE+`t2"*n(>nmm
@L/q,TjMd5+H{gASEPDR^$