Changes to ledger 2.2 for compiling with egcs 1.1.2
Brought to you by:
jwiegley
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.
ledger-2.2-egcs.patch
ledger-2.4-egcs.patch