Re: [Celestia-developers] Compile error "qteventfinder.cpp"
Real-time 3D visualization of space
Status: Beta
Brought to you by:
cjlaurel
From: Fridger S. <fri...@de...> - 2008-01-31 21:30:28
|
vincent wrote: >> Chris Laurel <cl...@gm...> wrote: >> >> I just checked in a fix: there was a missing include of cassert in >> qteventfinder.cpp. It's a little frustrating that MinGW seems to work >> fine without this include--seems like non-conformant behavior to me. >> I'll soon be switching to VS 2008, so this problem will go away soon. > > This doesn't fix the problem on Windows. Using VS 2005 and makerelease.bat, > I still get the errors previously reported by Steve. > > Adding the following include in qteventfinder.cpp solves the problem, though: > #include <algorithm> See my early Qt4 posts in the forum concerning qtcelestialbrowser.cpp: ;-) # # qtcelestialbrowser.cpp: #include <algorithm> missing F. > > > @+ > Vincent > > > >>> Selon Steve Popovich <car...@ya...>: > >>> On Jan 30, 2008 3:23 AM, Steve Popovich wrote: >>> Hi Chris, >>> FYI >>> SVN revision 4070 >>> With linux I get a compile error when trying to build with qt4. >>> >>> Compiling... >>> qteventfinder.cpp >>> .\celestia\qt\qteventfinder.cpp(461) : warning C4100: 'orientation' : >>> unreferenced formal parameter >>> .\celestia\qt\qteventfinder.cpp(482) : warning C4100: 'index' : unreferenced >>> formal parameter >>> .\celestia\qt\qteventfinder.cpp(499) : error C2039: 'sort' : is not a member >>> of 'std' >>> .\celestia\qt\qteventfinder.cpp(499) : error C2660: 'EventTableModel::sort' >>> function does not take 3 arguments >>> .\celestia\qt\qteventfinder.cpp(502) : error C2039: 'sort' : is not a member >>> of 'std' >>> .\celestia\qt\qteventfinder.cpp(502) : error C2660: 'EventTableModel::sort' >>> function does not take 3 arguments >>> .\celestia\qt\qteventfinder.cpp(505) : error C2039: 'sort' : is not a member >>> of 'std' >>> .\celestia\qt\qteventfinder.cpp(505) : error C2660: 'EventTableModel::sort' >>> function does not take 3 arguments >>> .\celestia\qt\qteventfinder.cpp(508) : error C2039: 'sort' : is not a member >>> of 'std' >>> .\celestia\qt\qteventfinder.cpp(508) : error C2660: 'EventTableModel::sort' >>> function does not take 3 arguments >>> .\celestia\qt\qteventfinder.cpp(513) : error C3861: 'reverse': identifier >>> not found >>> >>> cartrite > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Celestia-developers mailing list > Cel...@li... > https://lists.sourceforge.net/lists/listinfo/celestia-developers |