autooptimiser.cpp: In function 'int main(int, char**)': autooptimiser.cpp:136: warning: comparison with string literal results in unspecified behaviour --- src/tools/autooptimiser.cpp +++ src/tools/autooptimiser.cpp @@ -133,7 +133,7 @@ Panorama pano; PanoramaMemento newPano; - if (scriptFile == "-") { + if (strcmp(scriptFile,"-") == 0) { if (newPano.loadPTScript(cin)) { pano.setMemento(newPano); } else {