Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / May 2005



Tip: Looking for answers? Try searching our database.

CW 9.5 and Tiger 10.4

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ruedi Boesch - 22 May 2005 20:03 GMT
Hi

when I compile CW 9.5 with {OSX Volume}=/Developer/SDKs/MacOSX10.4.0.sdk
(installed with XCode 2.0), then lots of redeclaration errors are
appearing:

Error   : identifier '__mbstate_t' redeclared
was declared as: '__mbstate_t'
now declared as: '@class$48019WinTest_c'
(included from:
machine/_types.h:26
sys/_types.h:27
sys/syslog.h:203
syslog.h:23
WinTest.c:16)
_types.h line 73   } __mbstate_t;
...
(following error messages removed)
...

With {OSX Volume}=/Developer/SDKs/MacOSX10.3.9.sdk, all my projects
compile without error.

Before I dig into the MSL-stuff, have others found the same problems
with gcc4/tiger-headers or what's wrong here ?

Ruedi
MW Ron - 23 May 2005 15:28 GMT
>Hi
>
[quoted text clipped - 23 lines]
>
>Ruedi

You probably didn't recompile your precompiled headers so the OS X
Volume is the same in them as it is in your projects.   That is the
usual mistake and it shows up as __mbstate_t error

Ron

Signature

Metrowerks Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and Metrowerks' staff
       --   http://www.metrowerks.com/community  --

Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.