tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: must use gcc builtin?



On Wed, 22 Feb 2012 23:30:27 +0000 (UTC)
christos%astron.com@localhost (Christos Zoulas) wrote:

> In article <20120222222902.GI26015%snowdrop.l8s.co.uk@localhost>,
> David Laight  <david%l8s.co.uk@localhost> wrote:
> 
> >So if you want varargs, you have to use the compiler builtins.
> 
> You could use -mregparm=0, but then you are in standalone mode and can't
> call anything outside your project.

Indeed.  If I remember, according to gcc(1), it uses 0 by default, but
then again this means relying on the default configuration of a
particular compiler...
-- 
Matt


Home | Main Index | Thread Index | Old Index