extern "C" bug??
Alexandre Oliva
oliva@dcc.unicamp.br
Fri Dec 18 12:45:00 GMT 1998
On Oct 22, 1998, Dale Mellor <Dale.Mellor@newcastle.ac.uk> wrote:
> I thought that specifying c linkage, i.e. 'extern "C" real foo() {...}' was
> supposed to automatically promote real return values (and function
> arguments for that matter) into double precision.
The linkage of a function isn't supposed to affect its type, AFAIK.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list