Skarmander <in*****@dontmailme.com> writes:
Keith Thompson wrote: "Robert Gamble" <rg*******@gmail.com> writes: Keith Thompson wrote:
dd*******@gmail.com writes:
> I'm wondering, is #warning preprocessor command is documented in
> standart C or it's implementation specific? I cannot find any
> documentation about it. It works with gcc on freebsd and linux.
It's implementation specific.
The standard preprocessor directives are:
#include
#define
#undef
#line
#error
#pragma
#
The latter is a null directive; it has no effect.
#if, #ifdef, #ifndef, #elif, #else, and #endif are preprocessing
directive too.
Sure, but they don't really count, because they aren't on the page I
was looking at.
In other words, oops.
I would have made that "those are not in *my* copy of the standard".
The requisite follow-up could have included a dog.
Yes, the dog (well, more likely a cat) ate that page of my PDF file.
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.