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