[Botan-devel] Catching 'Botan::Decoding_Error'

Gregor Schraegle gregor.schraegle at gmx.de
Tue Nov 16 10:44:04 EST 2010


Hello Jack,

thanks for the information.
Yes, I had been wrong about the static library.
I am going to try to compile the DLL with the latest GCC compiler 
and the required options.

I will let you know of the result.

Best regards,
Gregor

>             
> -------- 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. 
> 
> (http://www.mingw.org/wiki/GCCStatus)
> 
> 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
> library.
> 
> -Jack
> 
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel
> 
        
-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20101116/e8add7eb/attachment.html>


More information about the botan-devel mailing list