Hi,
I've got a Mach-O (bundle package) project that's failing to build in CW
9.2 under Panther (10.3.4).
The problem comes when including <vector>. This header includes
<algorithm>, which includes <iterator>, which finally includes <iosfwd>. In
that header, the compiler says "undefined identifier 'wchar_t'". This error
(occurring twice) is the the only error I get.
I'm stumped. Everything in the project settings looks to me to be the
same as another similar project that has no such compile problems. They
both have the same access paths, and they both use the vector object, yet
only this one fails to compile.
Any ideas how to fix this?
Thanks for any help...
-Howard
Paul - 25 Jun 2004 19:38 GMT
Make certain your C/C++ Language Settings panel has "Enable wchar_t support"
checked. (I'm looking at 8.3, believe it's the same in 9.2 but I don't have
it here.) That's the way I usually get that error
> Hi,
>
[quoted text clipped - 15 lines]
> Thanks for any help...
> -Howard
Howard - 25 Jun 2004 19:48 GMT
> Make certain your C/C++ Language Settings panel has "Enable wchar_t support"
> checked. (I'm looking at 8.3, believe it's the same in 9.2 but I don't have
> it here.) That's the way I usually get that error
D'oh! That was it. I don't know how that got changed for just this one
version of my software, but it's compiling fine now. Thanks...
-Howard