Package: celestia
Version: 1.5.1+dfsg1-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 celestia_1.5.1+dfsg1-1 on em64t by sbuild/amd64 0.53
...
>                  from command.cpp:12:
> ../celengine/overlay.h: At global scope:
> ../celengine/overlay.h:30: error: 'EOF' was not declared in this scope
> In file included from command.cpp:12:
> ../celestia/celestiacore.h:38: warning: declaration 'class astro::Date' does 
> not declare anything
> make[4]: *** [command.o] Error 1

--- build-glut/src/celengine/overlay.h~ 2008-11-07 17:37:52.000000000 +0000
+++ build-glut/src/celengine/overlay.h  2008-11-07 17:37:59.000000000 +0000
@@ -11,6 +11,7 @@
 #define _OVERLAY_H_
 
 #include <string>
+#include <cstdio>
 #include <iostream>
 #include <celtxf/texturefont.h>
 
--- build-glut/src/celengine/star.cpp~  2008-11-07 17:40:54.000000000 +0000
+++ build-glut/src/celengine/star.cpp   2008-11-07 17:41:07.000000000 +0000
@@ -9,6 +9,7 @@
 
 #include <celmath/mathlib.h>
 #include <cstring>
+#include <cstdio>
 #include <cassert>
 #include "celestia.h"
 #include "astro.h"

I only built glut, but I hope that's okay since the same code is used
for the other builds.
-- 
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