comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Variable arguments magic in Ada to C code
Date: Thu, 15 Aug 2002 12:09:27 +0200
Date: 2002-08-15T10:09:10+00:00	[thread overview]
Message-ID: <87k7mso2lk.fsf@deneb.enyo.de> (raw)
In-Reply-To: slrnalkonl.oj.lutz@taranis.iks-jena.de

lutz@iks-jena.de (Lutz Donnerhacke) writes:

>>>>The calling convention of a C function which expects a variable number
>>>>of arguements can differ considerably from one which does not.
>>>
>>> This would cause major problems when compiling legal C code without
>>> advanced prototypes for such function.
>>
>>Yes, these problems exist.  So what?
>
> I can't believe such a brain damage. There must be something really huge
> hitting and smashing the inventors head.

Quite a lot of GNU C code breaks when compiled with a conforming
C compiler because prototypes do not match old-style function
definitions (I'm not sure if prototypes were allowed at all for
old-style function definitions before C99).



  reply	other threads:[~2002-08-15 10:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-05 23:47 Variable arguments magic in Ada to C code Andreas Almroth
     [not found] ` <slrnakv5v0.p2.lutz@taranis.iks-jena.de>
2002-08-14 10:01   ` Florian Weimer
2002-08-14 11:34     ` Lutz Donnerhacke
2002-08-14 13:13       ` Dale Stanbrough
2002-08-14 13:59       ` Florian Weimer
2002-08-14 14:02         ` Lutz Donnerhacke
2002-08-15 10:09           ` Florian Weimer [this message]
2002-08-18 22:43             ` David Thompson
     [not found]   ` <87ptww7yj6.fsf@almroth.com>
     [not found]     ` <slrnal1l8s.pj.lutz@taranis.iks-jena.de>
     [not found]       ` <dstanbro-CDC252.20502007082002@news-server.bigpond.net.au>
2002-08-14  9:05         ` Lutz Donnerhacke
     [not found]       ` <87vg6nj8jd.fsf@almroth.com>
2002-08-16 19:41         ` David Thompson
replies disabled

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