[Botan-devel] Catching 'Botan::Decoding_Error'
gregor.schraegle at gmx.de
Wed Nov 17 07:35:57 EST 2010
I am trying to compile the Botan DLL using a newer GCC compiler
(gcc version 4.5.0 (GCC)), and linking with -shared-libgcc
Currently I am experiencing the following error during linking:
undefined reference to `WinMain at 16'
Could you tell me, what I am missing or doing wrong during the
Thank you very much!
> -------- Original-Nachricht --------
> Datum: Tue, 16 Nov 2010 10:17:24 -0500
> Von: Jack Lloyd <lloyd at randombit.net>
> An: botan-devel at randombit.net
> Betreff: Re: [Botan-devel] Catching 'Botan::Decoding_Error'
> Hi Gregor,
> > 2. I linked the libbotan-1.8.11.dll to may main routine (C++)
> > That means I am not using the libbotan.a static library but the dynamic
> > libbotan-1.8.11.dll
> This does not work unless you are using the latest version of GCC on
> MinGW. From the release notes for 4.4 in MinGW:
> * Shared libgcc: If all modules are linked with -shared-libgcc,
> exceptions can be thrown across DLL boundaries.
> I knew this was an issue in MinGW but you said .a in your
> original post so I assumed you were using a purely static
> botan-devel mailing list
> botan-devel at randombit.net
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the botan-devel