[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 ( 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
Red Hat GCC Developer                  address@hidden,}
CS PhD student at IC-Unicamp        address@hidden,}
Free Software Evangelist    *Please* write to mailing lists, not to me

reply via email to

[Prev in Thread] Current Thread [Next in Thread]