[Gambas-devel] makefile !!!

Daniel daniel at ...318...
Sat Oct 8 14:35:19 CEST 2005


PV wrote:

> Hi Daniel.
>
> On 08/10/2005 00:36, Daniel wrote:
>
>> the new code in attachement with the modifications you want
>
>
> Hmm... the code didn't compile.
> In main.cpp the following lines
>
> catch (IBPP::Exception& e){
>    std::cout<<e.what()<<std::endl;
> ...
>
> cause a compilation error.
> I don't know whether it's a IBPP version problem (I am using 2.3.5) 
> but I don't
> see any "what" method in IBPP::Exception class in ibpp.h or in other 
> places.
>
> Anyway, I changed all occurrences of e.what() into e.ErrorMessage() 
> (don't know if that's correct, I'm not into ibpp programming...) and 
> at least the compiler stopped complaining. :)
>
> After installation however, I realized that signal #6 is back, so it 
> seems that
> exceptions have gone one more time, unlike the previous version which had
> exceptions working.
> I tried to change the -fno-exceptions flag into -fexceptions but 
> nothing changed.
>
> Could you please double check the code and makefiles?
> Thanks!
>
> Ciao,
> Piero
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
>
yes this is correct,
this code is for the 2.4.4 ibpp library (README)
1)dowload the last version and install it and also the ibpp.h header
1.a) do ldconfig
2) rename the directory gb.db.firebird in gb.db.firebird.ok and untar 
unzip the file in attachement
3) reconfig + ./configure ... etc (the makefile.am in src is modif. to 
-fexecptions)
4) a small prayer

daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gb.db.firebird.tar.gz
Type: application/x-gzip
Size: 237971 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20051008/9a30bbd9/attachment.bin>


More information about the Devel mailing list