Comment 6 for bug 620327

Revision history for this message
Miika Komu (miika-iki) wrote :

It is ok assuming that we can note this in INSTALL (and perhaps manual) and add it to packaging/hipl-rpm.spec:

%build
..
# The ANSI workaround is for CentOS 5.5 (see bug id 620327 in launchpad). Seems to work also for Fedora.
CPPFLAGS=-U__STRICT_ANSI__ configure --prefix=/usr
..

Note that the change affects also Fedora which does not suffer from this problem. However, I tested it to compile successfully with the above fix.

Probably the best solution would be to do some distro detection during configure, but this would work for me.