Menu

#6 compiling problem - gcc 4.3?

open
nobody
None
5
2008-06-11
2008-06-11
Anonymous
No

Hello,

I'm on Gentoo. While switching to gcc-4.3, I noticed kooldock 0.4.7 wouldn't compile, while did with gcc-4.2.4 . The problem is that abs() declaration is not included. Seems resolved adding

#include <cstdlib>

at the top of the file, at least on my machine.

Curious that the problem didn't occur whit the previous gcc, don't know if it has different default including or it's strictier..

hope this helps

go on with your work, it's awesome!!

Marco

Discussion


Log in to post a comment.