• 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: Dix Lorenz <email@hidden>
  • Date: Thu, 6 Oct 2005 00:01:30 +0200


On 05.10.2005, at 23:48, Markian Hlynka wrote:

codewarrior used to support 

#pragma once

which was a lot cleaner than
#ifndef MYGOOFYSYMBOL
#define MYGOOFYSYMBOL

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

<sigh> indeed.

While "#pragma once" might be nice, as soon as you move your code to other platforms/compilers you have to do the portable thing anyway. So I don't even look around docs if some compiler might help me with whatever, I use whatever the language gives me.

Dix

 _______________________________________________
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: Re: #pragma message in GCC
  • Next by Date: Re: weird codesense indentation?
  • Previous by thread: Re: #pragma message in GCC
  • Next by thread: Re: #pragma message in GCC
  • Index(es):
    • Date
    • Thread