[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: project link problems
From: |
Alexandre Oliva |
Subject: |
Re: project link problems |
Date: |
12 Oct 2000 16:34:08 -0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
On Oct 12, 2000, Josh Steiner <address@hidden> 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 address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me