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




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