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 / June 2004



Tip: Looking for answers? Try searching our database.

CW 9.2 and Mach-O on Panther

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Howard - 25 Jun 2004 19:27 GMT
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
 
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.