Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#153 // comments break on AIX / IBM XL C

2.5.37
open
nobody
5
2013-04-17
2013-04-17
Martin Baute
No

When compiling on AIX using IBM's XL C compiler, the default is to *not* handle C++ style comments ("//"). Since Flex source has them, compilation fails.

A simple workaround is setting CFLAGS=-qcpluscmt prior to ./configure to enable proper handling of such comments.

A better solution would be if Flex's configure would set this compiler flag automatically.

Discussion