From: Ray H. <ra...@le...> - 2005-04-08 12:48:04
|
I had succeeded in building Sun Solaris 1.5.2 firebird but did not install it as I wanted to recompile with the newer gcc I was building (and wanted to be able to reboot machine if required). The compile was successful with gcc 3.3.3 but I was upgrading to 3.4.3 (56 hours due to java build - yuck - I won't do that again). In the meantime, I received several pointers (thanks to you all) suggesting that I use some level of optimization (NO, NO, NO - someone is exaggerating - optimizers don't double or triple performance - maybe help by 10% if very lucky but that is if you write bad code and you guys don't , but OK I will go to -O2 from -O0 - even though I have had terrible results in the past with my own code sets - as have others) and someone else mentioned that perhaps I should force 64 bit compiles not 32 as in the default (a good idea - now I am not clear if SFIO is required here or not --- ???? anyone - the notes say it is not needed for 64 - I can try both ways WHEN I get my compiler back). So here I go ready to re-compile in newest latest and greatest GCC. Here is what I get - about 1 minute into the suite. I am considering going back to 3.3.3 as firebird is more important than GCC latest to me. for this line (I think we don't like that ampersand): } catch(const std::exception&) { .../src/include/../common/classes/tree.h:513: error: expected unqualified-id before '&' token ..../src/include/../common/classes/tree.h:513: error: ISO C++ forbids declaration of `type name' with no type ..../src/include/../common/classes/tree.h:513: error: expected `)' before '&' token ..../src/include/../common/classes/tree.h:513: error: expected `{' before '&' token ..../src/include/../common/classes/tree.h:513: error: expected primary-expression before ')' token ..../src/include/../common/classes/tree.h:513: error: expected `;' before ')' token Still working on being able to post to this list directly and having fun getting in -even though I subscribed in source forge - I need to somehow join the group without getting my web page mail connection aroused. When I try to subscribe it tries to configure me and I don't use that as a mail mechanism. Still stuck on this product (I guess I will always be - I love it even after 10+ years of using it). Ray |