I compiled Lyx 1.1.3 on AIX 4.3.2 using gcc 2.95.2. There were two
minor errors that prevented successful compilation:
1) In src/support/filetools.C, about line 322:
The call to putenv fails. The putenv requires a char* argument, at
least on
AIX. I had to add a cast. Unless some systems prototype putenv with a
const char* parameter, I think this is portable.
2) In src/spellchecker.C, about line 359, the FD_ZERO macro is used. When
compiled, there is a complaint on this line that bzero is missing a
prototype.
FD_ZERO uses bzero.
As a kludge, I added a #include <strings.h>. But I think a more portable
solution would be to have configure check if bzero is prototype'd and
available, defining a macro in terms of memset otherwise, and making
sure code can use either or both of bzero and memset.
I hope these comments are useful.
/Lindsay
R. Lindsay Todd email: [EMAIL PROTECTED]
Senior Systems Programmer phone: 518-276-2605
Rensselaer Polytechnic Institute FAX: 518-276-2809
Troy, NY 12180-3590 WWW: http://www.rpi.edu/~toddr