Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 5th, 2008, 01:01 PM
Joel Brobecker
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Remove check of ctype.h include in safe-ctype.h?

Would it work to instead #poison isalpha et al in gcc/system.h? Then
remove the check from safe-ctype.h altogether.

I think it would work. But why putting these pragmas outside of
safe-ctype.h? How about putting them at the end of safe-ctype.h
instead?

( I think there are several system.h files (like one in libcpp,
etc). We'd need to do the poison in all of them (but not in
tsystem.h).

Yep, noticed that.

I don't know if this solves the darwin problem or not. Also, this has
the disadvantage in that users of safe-ctype.h other than GCC will not
have the check.

Putting the #poison in safe-ctype.h would take care of that concern.

--
Joel

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Development > Remove check of ctype.h include in safe-ctype.h?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway