Package: ccfits
Version: 1.8-2
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

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

> Automatic build of ccfits_1.8-2 on em64t by sbuild/amd64 0.53
...
> mkdir .libs
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I/usr/include -g 
> -O2 -Wall -ansi -MT AsciiTable.lo -MD -MP -MF .deps/AsciiTable.Tpo -c 
> AsciiTable.cxx  -fPIC -DPIC -o .libs/AsciiTable.o
> In file included from ColumnCreator.h:19,
>                  from AsciiTable.cxx:16:
> ColumnData.h: In member function 'virtual std::ostream& 
> CCfits::ColumnData<T>::put(std::ostream&) const':
> ColumnData.h:293: error: 'ostream_iterator' is not a member of 'std'
> ColumnData.h:293: error: expected primary-expression before '>' token
> ColumnData.h:293: error: there are no arguments to 'output' that depend on a 
> template parameter, so a declaration of 'output' must be available
> ColumnData.h:293: error: (if you use '-fpermissive', G++ will accept your 
> code, but allowing the use of an undeclared name is deprecated)
> ColumnData.h:296: error: 'output' was not declared in this scope
> make[3]: *** [AsciiTable.lo] Error 1
> make[3]: Leaving directory `/build/tbm/ccfits-1.8'

-- 
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