[Botan-devel] Building Botan with a Static Runtime
cmbrockman at verizon.net
Mon Feb 16 18:01:14 EST 2009
Joel Low wrote:
> Actually, you can just edit the generated makefile after configure
> has been run.
I chose to edit the msvc file because I felt marginably more comfortable
with my ability to correctly change one line over using my editor's
search-and-replace function to change 262 items.
In addition to the runtime file flag I have modified the
\Botan-1.8.1\src\build-data\cc\msvc file again to remove these warnings
generated in the building of my program:
C:\Botan-1.8.1\build\include\botan/exceptn.h(19) : warning C4275: non
dll-interface class 'std::exception' used as base for dll-interface class
C:\Program Files\Microsoft Visual Studio
9.0\VC\include\exception(95) : see declaration of 'std::exception'
C:\Botan-1.8.1\build\include\botan/exceptn.h(18) : see declaration
C:\Botan-1.8.1\build\include\botan/exceptn.h(27) : warning C4251:
'Botan::Exception::msg' : class 'std::basic_string<_Elem,_Traits,_Ax>' needs
to have dll-interface to be used by clients of class 'Botan::Exception'
with [_Elem=char, _Traits=std::char_traits<char>,
C:\Botan-1.8.1\build\include\botan/symkey.h(41) : warning C4251:
'Botan::OctetString::bits' : class 'Botan::SecureVector<T>' needs to have
dll-interface to be used by clients of class 'Botan::OctetString'
The original at line 18 of msvc:
was changed to:
More information about the botan-devel