• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: #pragma message in GCC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #pragma message in GCC


  • Subject: Re: #pragma message in GCC
  • From: Markus Hitter <email@hidden>
  • Date: Thu, 6 Oct 2005 00:33:57 +0200


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: 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>)

  • Prev by Date: Relative Paths to plists which reach out of project folder
  • Next by Date: Code
  • Previous by thread: Re: #pragma message in GCC
  • Next by thread: weird codesense indentation?
  • Index(es):
    • Date
    • Thread