[Botan-devel] Generation of build.h [WAS: Warning C4275 Messages When Building Base64 Example]

Charles Brockman cmbrockman at verizon.net
Thu Feb 19 13:07:00 EST 2009


Joel Low wrote:
> Charles: in the meantime you could open up build.h (in your Botan
> directory) and define BOTAN_DLL to nothing.

That works. In build.h I changed line 12 from
#define BOTAN_DLL __declspec(dllexport)
to
#define BOTAN_DLL

I rebuilt the c:\Botan-1.8.1\doc\examples\base64.cpp project. Most of the 
warnings are gone now. I'm just left with:
c:\botan-1.8.1\build\include\botan\sym_algo.h(47) : warning C4290: C++ 
exception specification ignored except to indicate a function is not 
__declspec(nothrow)
c:\botan-1.8.1\build\include\botan\sym_algo.h(55) : warning C4290: C++ 
exception specification ignored except to indicate a function is not 
__declspec(nothrow)
-- 
Charles Brockman




More information about the botan-devel mailing list