linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* why no preprocessor #warning or #note directives?
@ 2006-01-22 13:39 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2006-01-22 13:39 UTC (permalink / raw)
  To: C programming list


  not a big deal, but i'm curious why C hasn't been extended to
include the gcc extension #warning macro?

  more to the point, why not additional directives like, say, #note or
#info.  there are times (in gcc) when i want some feedback from the
preprocessor as it's running and i'll use #warning.  but i'm not happy
with that since what's happening isn't something that really requires
a "warning", it's just something i wanted to know about.

  was there ever any discussion to add an extra information directive
or two to the preprocessor?  just curious.  it doesn't seem like this
would be a major issue in terms of enhancement.

rday

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-22 13:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-22 13:39 why no preprocessor #warning or #note directives? Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).