Menu

#1 Changes to ledger 2.2 for compiling with egcs 1.1.2

open
nobody
None
5
2005-03-08
2005-03-08
No

This patch changes ledger 2.2 to compile and
(hopefully) work fine with egcs 1.1.2. Note egcs will
compile with CXXFLAGS=-fno-rtti without complaint, but
the resulting binary will not be usable. This is
because there are exceptions caught by superclass in
ledger and dynamic type info is needed for this to
work. I have seen ledger both crashing and do
incorrect things if compiled with -fno-rtti and egcs.
In general, using -fno-rtti without -fno-exceptions
seems to be safe only if exceptions are used carefully
in the program.

Discussion

  • Peter Backes

    Peter Backes - 2005-03-08

    ledger-2.2-egcs.patch

     
  • Peter Backes

    Peter Backes - 2005-10-04

    ledger-2.4-egcs.patch

     

Log in to post a comment.