[Qgis-developer] Compile problem in svn
Marco Hugentobler
marco.hugentobler at karto.baug.ethz.ch
Thu Feb 22 09:43:46 EST 2007
Hi,
After svn update, compiling under Linux stops with an error:
/home/humarco/src/qgis/src/providers/grass/qgsgrass.cpp:424: error: ‘status’
was not declared in this scope
and in qgsgrass.cpp, there is:
#ifdef QGISDEBUG
int status = process->exitStatus ();
std::cerr << "status = " << status << std::endl;
#endif
delete process;
// TODO WIN32 (lock.exe does not work properly?)
#ifndef WIN32
if ( status > 0 ) return "Mapset is already in use."; ---------> line 424
#endif
Can we remove status or should we just make an #ifdef QGISDEBUG around #ifdef
WIN32?
cheers,
Marco
More information about the Qgis-developer
mailing list