Hi,
Does anyone know why the following error would be produced by g++ but not by intel compiler, or mips pro?
/abe/Manta/SCIRun -I/Users/abe/Manta/SCIRun/include -c /Users/abe/ Manta/UserInterface/PromptUI.cc
/Users/abe/Manta/UserInterface/PromptUI.cc: In member function `void Manta::PromptUI::processCommand(const std::string&)':
/Users/abe/Manta/UserInterface/PromptUI.cc:184: error: no matching function for call to 'Manta::Callback::create(Manta::PromptUI* const, <unknown type>, std::string&)'
Line in question:
manta_interface->addTransaction( "select camera",
Callback::create( this, PromptUI::mantaCamera, value_string ));
Supposedly unknown type:
void mantaCamera( string text );
https://code.sci.utah.edu/svn/Manta/branches/itanium2/UserInterface/ PromptUI.h
https://code.sci.utah.edu/svn/Manta/branches/itanium2/UserInterface/ PromptUI.cc
Thanks for any advice--
Abe
Archive powered by MHonArc 2.6.16.