comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@acm.org>
To: cl1motorsports <cwlambert76@yahoo.com>
Cc: comp.lang.ada@ada-france.org
Subject: Re: how do i implement double-dispatching?
Date: 22 Dec 2003 17:47:48 -0500
Date: 2003-12-22T17:47:48-05:00	[thread overview]
Message-ID: <mailman.159.1072133279.31149.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <pan.2003.12.21.17.40.50.118571@yahoo.com>

cl1motorsports <cwlambert76@yahoo.com> writes:

> On Sun, 21 Dec 2003 08:39:59 -0500, Stephen Leake wrote:
> 
> > cl1motorsports <cwlambert76@yahoo.com> writes:
> > 
> >> Seriously though, the most common preprocessor is
> >> the one that comes with gcc, and it puts alot of non standard C stuff in
> >> its output. 
> > 
> > Hmm. I never noticed anything that was not in the ANSI C standard. Are
> > you sure it is truly not in that standard? Or is it just something you
> > are not familiar with? In any case, you can disable any non-standard
> > stuff by specifying -ansi.
> 
> extern int vsnprintf (char *   __s, size_t __maxlen,
> 		      __const char *   __format, __gnuc_va_list  __arg)
>        __attribute__ ((__format__ (__printf__, 3, 0)));

> the __attribute__ keyword gets processed even when -ansi is used.

By the compiler, true (although maybe not with -pedantic?). But we
were talking about the preprocessor; it just passes __attribute__
thru.

> But from what i can tell, that is only used in the system header
> files. I mean it is not created by the preprocessor. I have a newer
> version of GCC since i last checked this. so maybe it was only in
> one version or something like that *shrugs*.

Ok. So as far as you know, the gcc preprocessor is ANSI compliant.
That was my point.

-- 
-- Stephe




  reply	other threads:[~2003-12-22 22:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-17 18:08 how do i implement double-dispatching? cl1motorsports
2003-12-18  2:17 ` Stephen Leake
2003-12-18  9:48 ` Dmitry A. Kazakov
2003-12-18 15:13 ` Martin Krischik
2003-12-20  6:27 ` cl1motorsports
2003-12-20  9:56   ` Martin Krischik
2003-12-20 17:00     ` cl1motorsports
2003-12-21 13:39       ` Stephen Leake
2003-12-21 17:40         ` cl1motorsports
2003-12-22 22:47           ` Stephen Leake [this message]
2003-12-22 21:41   ` cl1motorsports
2003-12-22 21:47     ` cl1motorsports
2003-12-23 11:03       ` Dmitry A. Kazakov
2003-12-22 22:49     ` Stephen Leake
2003-12-22 23:04       ` cl1motorsports
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox