2 Regressions?
Alexandre Oliva
oliva@dcc.unicamp.br
Fri Sep 11 22:15:00 GMT 1998
Chad Gatesman <chadg@redrose.net> writes:
> First is that if you put inlines in the C or C++ module instead of in
> the header file, it does not link correctly (example below):
Which is correct, at least for C++. The C++ Standard requires you to
*define* an inline function in every translation unit that uses it.
I don't know whether the C standard does too.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list