compile error 1.26.0 shhh mpi version

I ran across this error when trying to compile with openmpi 1.4.3 and gcc 4.6.0


shhhercommand.cpp: In member function 'std::string ShhherCommand::createNamesFile()': shhhercommand.cpp:805:113: error: expected ')' before ';' token shhhercommand.cpp: In member function 'int ShhherCommand::driver(std::vector<std::basic_string >, std::string, std::string, int, int)': shhhercommand.cpp:2318:70: warning: name lookup of 'i' changed [enabled by default] shhhercommand.cpp:2149:17: warning: matches this 'i' under ISO standard rules [enabled by default] shhhercommand.cpp:2312:25: warning: matches this 'i' under old rules [enabled by default] make: *** [shhhercommand.o] Error 1

Bob

we get the same error:

shhhercommand.cpp(805): error: expected a “)”
string nameFileName = outputDir + m->getRootName(m->getSimpleName(flowFileName) + getOutputFileNameTag(“name”);
^

shhhercommand.cpp(2318): warning #823: reference is to variable “i” (declared at line 2149) – under old for-init scoping rules it would have been variable “i” (declared at line 2312)
if ((large) && (g == 0)) { flowFileName = filenames_; theseFlowFileNames[0] = filenames_; }
^

shhhercommand.cpp(2318): warning #823: reference is to variable “i” (declared at line 2149) – under old for-init scoping rules it would have been variable “i” (declared at line 2312)
if ((large) && (g == 0)) { flowFileName = filenames_; theseFlowFileNames[0] = filenames_; }
^

compilation aborted for shhhercommand.cpp (code 2)
make: *** [shhhercommand.o] Error 2____

sorry, forgot to mention we used intel compilers, so the error looks a little different…

Thanks for reporting this. The new source is up.