[Bug preprocessor/29276] C preprocessor run on Objective C code

2006-09-28 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-09-28 22:15 ---
([ will never make a valid token even in Objective-C mode.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29276



[Bug preprocessor/29276] C preprocessor run on Objective C code

2006-09-28 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-09-29 04:34 ---
Someone did not read the docs correctly.
Anyways in NSException.h
the defintion for THROW should be:
# define THROW(exception...)[exception raise]


http://gcc.gnu.org/onlinedocs/gcc-4.1.1/cpp/Variadic-Macros.html#Variadic-Macros


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29276