bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #18618] When creating class files, header is not wrapped in #ifndef


From: Richard Frith-Macdonald
Subject: [bug #18618] When creating class files, header is not wrapped in #ifndef
Date: Fri, 13 Feb 2009 10:48:00 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

Follow-up Comment #3, bug #18618 (project gnustep):

Someone I met at FOSDEM told me that in the gcc-3.? series of compilers
#import didn't work (and acted just like #include).  I haven't verified that
for myself, but if so, it's a good reason to continue the practice of
bracketing header file content in
#ifndef XXX
#define XXX
...
#endif /* XXX */
So that things work with all all compiler versions.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18618>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]