Compiling fails due to improper if statement(?)
Status: Beta
Brought to you by:
tom7
I haven't been able to compile the program completely from scratch yet but, it does hang on /cc-lib/util.cc:924 and 948 on the if statements. I don't remember much about C++ but, when I change this to #ifdef for both lines, it continues to compile properly.
Sorry, I don't understand -- the indicated lines already contain #ifdef, but so does this file at head. So maybe this issue was already fixed and you're somehow using an old version of the file?
I compile util.cc into many projects, so it's more likely an issue with the makefile or other configuration. Usually you need to define one of WIN32, LINUX, or OSX (like with -DWIN32=1 as an arg to g++).