PreviousIndexLast

[bug-gsl] Re: Missing extern "C" because of symbol redefinition. GSL 1.9, g++ (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42) (2008-10-13)

From: Brian Gough <bjg@gnu.org>
Subject: Re: Missing extern "C" because of symbol redefinition. GSL 1.9, g++ (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Date: Mon, 13 Oct 2008 16:27:11 +0100
To: jbs36@..........
Cc: bug-gsl@gnu.org

At Sat, 11 Oct 2008 15:54:00 -0400,
Joshua Shaffer wrote:
>
> "sys/infnan.c", "sys/hypot.c" and "sys/coerce.c" include forward function
> symbol declarations that redefine the symbols in the header files. The new
> definitions drop the extern "C".
>
> When compiling with a c++ compiler, the function turns out to have a mangled
> c++ symbol name yet they are referenced as if they were C symbols.

Thanks for the email. I will make those changes.

--
Brian Gough

GNU Scientific Library -
http://www.gnu.org/software/gsl/