[Lcdproc] Minimum required gcc version?

Markus Dolze bsdfan@nurfuerspam.de
Sun May 7 14:29:02 2006


Hello,

when my FreeBSD port was commited the commiter added a gcc=3.2+ 
requirement to the port.

I found out that this is because compilation fails with gcc 2.95.4 which 
is the default version in FreeBSD 4.11.

It fails if it tries to compile the debug() function like this:

CFontzPacket.c: In function `CFontzPacket_flush':
CFontzPacket.c:549: syntax error before `unsigned'
...<snip>
Stop in /usr/ports/sysutils/lcdproc/work/lcdproc-0.5.0.
*** Error code 1

If I remove the debug() lines just before that line it compiles until 
gcc crosses the next debug() line.

What is the minimum required gcc version to compile lcdproc-0.5.0?

I am asking this, because requiring gcc 3.2+ adds a big dependency to 
that port (well, perhaps nobody uses 4.11 any longer, so I will ignore 
this if it is to complicated to fix).

Regards
Markus