[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl]extern linkage Visual C++, gsl_precision.h
From: |
Brian Gough |
Subject: |
Re: [Bug-gsl]extern linkage Visual C++, gsl_precision.h |
Date: |
Wed, 5 Feb 2003 00:07:12 +0000 |
address@hidden writes:
> Under Visual C++ 6.0/W2K builds with /MD option code generation, the
> following
> external references (1 of 6 shown) in gsl_precision.h cause compiler error
> 2201:
> ...
> GSL_VAR const double gsl_prec_root6_eps[];
>
> Correction to gsl_precision.h file is:
> ...
> extern GSL_VAR const double gsl_prec_root6_eps[];
>
> M. Venhola
Thanks for the bug report.
I had made an error in the build settings for the DLL (undefined
DLL_EXPORT).
There's an updated version at
http://www.getafile.com/cgi-bin/merlot/get/network-theory/gsl/gsl-1.3-setup.exe
which has DLL_EXPORT properly defined. It also adds an "extern" to
"__declspec(dllexport)". Please let me know if this works better.
Brian