Package: mrpt
Version: 0.6.4svn585-1
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.


> Automatic build of mrpt_0.6.4svn585-1 on em64t by sbuild/amd64 0.53
...
> make[3]: Entering directory `/build/tbm/mrpt-0.6.4svn585'
> [ 35%] Building CXX object 
> src/core/CMakeFiles/mrpt-core.dir/registerAllClasses.o
> In file included from 
> /build/tbm/mrpt-0.6.4svn585/include/mrpt/utils/utils_defs.h:67,
>                  from /build/tbm/mrpt-0.6.4svn585/include/mrpt/utils.h:31,
>                  from 
> /build/tbm/mrpt-0.6.4svn585/src/core/registerAllClasses.cpp:31:
> /build/tbm/mrpt-0.6.4svn585/include/mrpt/system/os.h:205: error: 'va_list' 
> has not been declared
> /build/tbm/mrpt-0.6.4svn585/include/mrpt/system/os.h:209: error: 'va_list' 
> has not been declared
> /build/tbm/mrpt-0.6.4svn585/include/mrpt/utils/CFileStream.h:53: warning: 
> 'mrpt::utils::fomAppend' defined but not used
> make[3]: *** [src/core/CMakeFiles/mrpt-core.dir/registerAllClasses.o] Error 1
> make[3]: Leaving directory `/build/tbm/mrpt-0.6.4svn585'

--- include/mrpt/system/os.h~   2008-11-14 09:19:36.000000000 +0000
+++ include/mrpt/system/os.h    2008-11-14 09:19:51.000000000 +0000
@@ -32,6 +32,7 @@
 

 #include <mrpt/utils/types.h>

 

+#include <cstdarg>

 #include <cstdlib>

 #include <cstring>

 #include <deque>


But then we get lots of error like these which I didn't investigate:

[ 90%] Building CXX object 
apps/RawLogViewer/CMakeFiles/RawLogViewer.dir/CFormMotionModel.o
/home/tbm/src/mrpt-0.6.4svn585/apps/RawLogViewer/CFormMotionModel.cpp: In 
member function 'void CFormMotionModel::showOptionsIn
Dialog()':
/home/tbm/src/mrpt-0.6.4svn585/apps/RawLogViewer/CFormMotionModel.cpp:738: 
error: 'class wxNotebook' has no member named 'Chang
eSelection'
/home/tbm/src/mrpt-0.6.4svn585/apps/RawLogViewer/CFormMotionModel.cpp:760: 
error: 'class wxNotebook' has no member named 'Chang
eSelection'
/home/tbm/src/mrpt-0.6.4svn585/apps/RawLogViewer/CFormMotionModel.cpp: In 
member function 'void CFormMotionModel::OnbtnPickInpu
tClick(wxCommandEvent&)':
/home/tbm/src/mrpt-0.6.4svn585/apps/RawLogViewer/CFormMotionModel.cpp:872: 
error: 'wxFD_OPEN' was not declared in this scope
/home/tbm/src/mrpt-0.6.4svn585/apps/RawLogViewer/CFormMotionModel.cpp:872: 
error: 'wxFD_FILE_MUST_EXIST' was not declared in th
is scope
/home/tbm/src/mrpt-0.6.4svn585/apps/RawLogViewer/CFormMotionModel.cpp: In 
member function 'void CFormMotionModel::OnbtnPickOutC
lick(wxCommandEvent&)':
/home/tbm/src/mrpt-0.6.4svn585/apps/RawLogViewer/CFormMotionModel.cpp:898: 
error: 'wxFD_SAVE' was not declared in this scope
/home/tbm/src/mrpt-0.6.4svn585/apps/RawLogViewer/CFormMotionModel.cpp:898: 
error: 'wxFD_OVERWRITE_PROMPT' was not declared in t
his scope
/home/tbm/src/mrpt-0.6.4svn585/include/mrpt/utils/CFileStream.h: At global 
scope:

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to