Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: makefile - xcode - C++ macro error




On Apr 5, 2007, at 10:10 PM, Bruce Johnson wrote:

From my research I'm finding that apparently the compiler confuses the function
 template<typename _CharT>
   inline bool
   isspace(_CharT, const locale&);

in localefwd.h

with the macro
#define isspace(c)      __istype((c), _CTYPE_S)
in ctype.h

It's not that it's confusing the two, it's that the preprocessor runs first. Try including <cctype> before <iostream>.



-- Steve Checkoway



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >makefile - xcode - C++ macro error (From: "Bruce Johnson" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.