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: #pragma message in GCC




Am 05.10.2005 um 23:48 schrieb Markian Hlynka:

codewarrior used to support

#pragma once

which was a lot cleaner than

gcc has #import instead, even cleaner.

Oh, maybe #import is supported with Obj-C, only.


#ifndef MYGOOFYSYMBOL
#define MYGOOFYSYMBOL

#endif //which I'm going to forget or misplace!

If you are cold and want to get flamed, go to a GNUstep list and start a discussion about "#import is better than #include" (or "#pragma once is better than ..."). Tradition seems to be a lot stronger than logic, whatever this means in this case ;-)



Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________ 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: 
 >Re: #pragma message in GCC (From: Bryan Pietrzak <email@hidden>)
 >Re: #pragma message in GCC (From: Markian Hlynka <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.