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 Oct 5, 2005, at 14:27, Bryan Pietrzak wrote:

On Sep 15, 2005, at 4:29 PM, Peter Lau wrote:


On Sep 15, 2005, at 4:34 PM, Chris Espinosa wrote:


Pragmas by their very nature are outside of the standard and compiler-specific.  The only compiler I can find that supports #pragma message is the DEC compiler.



Indeed true for #pragma in C...

DEC as the Digital Equipment?   The company that made VAX and Ultrix (sp?)

#pragma message() is available on CW and VC...


I'd *MUCH* rather user #pragma message to display messages during builds.

#warning is for warnings, not messages
#error is for errors, not warnings or messages

To me the all three have their place and value. I miss #pragma message <sigh>

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.



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



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.