C++ & GCC / nm / symbols with trailing characters / linker errors
Alexandre Oliva
aoliva@redhat.com
Tue Sep 4 19:24:00 GMT 2001
On Aug 31, 2001, Karl Esau <karl-heinz.esau@loewe.de> wrote:
> [prod. server] with explicit declartion "extern int procname(...);":
Use extern "C" to mark functions as C-compatible, which avoids C++
name mangling.
> is there a way to tell 'g++' to treat implicit declarations simply
> as a warning?
-fpermissive does this, IIRC.
> on the productive machine I cannot step back to an older version,
> because it's simply _productive_ :/
You can always install an older version somewhere else.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-help
mailing list