[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-ocrad] Patches for compiling ocrad-0.10 with other compilers than g
From: |
Per Ola Ingvarsson |
Subject: |
[Bug-ocrad] Patches for compiling ocrad-0.10 with other compilers than gcc-3.x |
Date: |
Thu, 20 Jan 2005 23:09:09 +0100 (CET) |
I have made new patches for ocrad-0.10 so that it will compile with the
compilers listed on the page (gcc of different versions and Sun's CC).
The patches are available at http://www.df.lth.se/~pi/ocrad.html.
Getopt is disabled by default, but can easily be enabled again (with a
define).
The changes are much smaller than my last patches. Most problems were
solved by including a headerfile which undefines the macro versions of the
isalpha etc. functions. There were also some non-standard array
definitions that have been replaced by std::vectors and some forgotten
const on char*. __attribute__ ((noreturn)) has been replaced by a macro
that is not in effect when not using gcc.
I have verified the output of the program on the machines that have
sufficient amounts of memory (marked with asterisks on the page).
/pi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-ocrad] Patches for compiling ocrad-0.10 with other compilers than gcc-3.x,
Per Ola Ingvarsson <=