Simple C question
01-Mar-93 17:28:55
Sb: #32546-Simple C question
Fm: Doug Walker 71165,2274
To: Greg Comeau@Comeau Cmptg 72331,3421
By a #pragma registry, I just meant that the token immediately following
the word "pragma" would be registered and guaranteed unique among all
vendors.
I.E. if you want to use a SAS/C pragma, you do
#pragma sasc ….
if you want to do a Borland C++ pragma, you do
#pragma borlandc …
or whatever. Sure, what the #pragma DOES is implementation-specific.
The current definition allows two different vendors to define pragmas
with identical syntax but different semantics. If there was a
registered name there, at least the compiler would know which ones
to ignore.
–Doug