[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Call GSL from C++

From: Brian Gough
Subject: Re: [Help-gsl] Call GSL from C++
Date: Mon, 10 May 2004 11:37:43 +0100

Brad Bell writes:
 > Is there a standard way to use GSL with C++. The usual thing when linking
 > C++ to C is to use an definition like the following in your include files
 > # ifdef __cplusplus
 > # define GSL_EXTERN_C  extern "C"
 > # else
 > # define GSL_EXTERN_C  extern
 > # endif


GSL should work out of the box with C++, there are #ifdef'ed extern
"C" { ... } wrappers in the GSL header files.  

If you do find an incompatibility with C++ you could file it as a bug
report to address@hidden --- thanks.

Brian Gough

reply via email to

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