From: Matthew G. <mat...@gm...> - 2007-09-27 10:48:10
|
Hi Lee, Oh, I check the cvs version, and sensor.h/.cpp is not ready for unicode mode... I've fix it. Matt 在 2007-09-26三的 18:39 -0400,Lee Duke写道: > > > Okay. I updated my files from the cvs repository. > > Now, besides about two billion warnings, I get: > [snip] > sensor.cpp:199: error: ambiguous overload for ‘operator<<’ in > ‘((wxTextOutputStream*)((wxTextOutputStream*)((wxTextOutputStream*)stream)->wxTextOutputStream::operator<<(((const wxString&)((const wxString*)(& Pre)))))->wxTextOutputStream::operator<<(((const wchar_t*)" \000\000\000 \000\000\000<\000\000\000m\000\000\000a\000\000\000x\000\000\000>\000\000\000\000\000\000")))->wxTextOutputStream::operator<<(((Sensor*)this)->Sensor::min) << "</max>"’ > [snip] > sensor.cpp:247: error: no match for ‘operator=’ in > ‘((Sensor*)this)->Sensor::quant_property = > JSBSim::Element::GetAttributeValue(std::string)(std::basic_string<char, std::char_traits<char>, std::allocator<char> >(((const char*)"name"), ((const std::allocator<char>&)((const std::allocator<char>*)(& std::allocator<char>())))))’ > > I wouldn't normally complain about the warning, but in this case they > make it very difficult to spot the errors. > > Lee > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Jsbsimcommander-devel mailing list Jsb...@li... https://lists.sourceforge.net/lists/listinfo/jsbsimcommander-devel |