Build problem with 0.5


After sorting out all the prerequisites and some issues with having some things installed in non-standard locations, I was able to build almost everything successfully, but got one error:

/home/dhinds/build/scidb-0.5/src/smgr/io/src/SSDBLoader.cpp:74: error: no matching function for call to ‘common::Config::getOption()’

My work-around was to change this line to return the result by value instead of by reference, but I’m not sure this is the right fix or why I’m getting this error in the first place. My gcc is:

gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)

– Dave


Looks like your workaround not so workaround but fix :smile: Template method getOption already returning values by reference, so no need to add ‘&’ into call. Don’t know why g++ 4.4 silently ignored it. I’ll fix it in trunk later.