On Oct 12, 2000, Josh Steiner <[EMAIL PROTECTED]> wrote:
> Now my file gets built, i can use preprocessor definitions from
> those files, but when i try to call a function (foobar) from one of
> those files (tX_middin.cc/h) i get an error in linking.
Make sure `foobar' is declared as `extern "C"' if it is defined in C
but called from C++.
--
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