Multiple ABIs for a single compilation unit?

Alexandre Oliva oliva@dcc.unicamp.br
Fri Apr 30 23:15:00 GMT 1999


On Apr 23, 1999, Lauri Alanko <la@iki.fi> wrote:

> So how about extending the same syntax for some gcc-specific abi
> definitions?  Like:

> extern "regparm=2" "rtd" {
> #include "MyLibHeader.H"
> }	

I'd rather have:

extern "C" __attribute__((regparm(2))) {
...
}

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists




More information about the Gcc mailing list