Package: liborigin
Version: 20070926-1
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://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of liborigin_20070926-1 on em64t by sbuild/amd64 0.53
...
> make[1]: Entering directory `/build/tbm/liborigin-20070926'
> g++ -c -pipe -Wall -W -O2 -fPIC OPJFile.cpp -o OPJFile.o
> In file included from OPJFile.cpp:36:
> OPJFile.h: In constructor 'originData::originData(double)':
> OPJFile.h:47: warning: 'originData::d' will be initialized after
> OPJFile.h:46: warning:   'int originData::type'
> OPJFile.h:49: warning:   when initialized here
> OPJFile.h: In constructor 'originData::originData(char*)':
> OPJFile.h:48: warning: 'originData::s' will be initialized after
> OPJFile.h:46: warning:   'int originData::type'
> OPJFile.h:54: warning:   when initialized here
> OPJFile.h: In constructor 'spreadColumn::spreadColumn(std::string, int)':
> OPJFile.h:72: warning: 'spreadColumn::index' will be initialized after
> OPJFile.h:69: warning:   'std::string spreadColumn::command'
> OPJFile.h:74: warning:   when initialized here
> OPJFile.h:70: warning: 'spreadColumn::comment' will be initialized after
> OPJFile.h:64: warning:   'int spreadColumn::value_type'
> OPJFile.h:74: warning:   when initialized here
> OPJFile.h:71: warning: 'spreadColumn::width' will be initialized after
> OPJFile.h:68: warning:   'int spreadColumn::numeric_display_type'
> OPJFile.h:74: warning:   when initialized here
> OPJFile.h: In constructor 'matrix::matrix(std::string, int)':
> OPJFile.h:138: warning: 'matrix::index' will be initialized after
> OPJFile.h:136: warning:   'std::string matrix::command'
> OPJFile.h:140: warning:   when initialized here
> OPJFile.h:136: warning: 'matrix::command' will be initialized after
> OPJFile.h:132: warning:   'int matrix::value_type_specification'
> OPJFile.h:140: warning:   when initialized here
> OPJFile.h:137: warning: 'matrix::width' will be initialized after
> OPJFile.h:135: warning:   'int matrix::numeric_display_type'
> OPJFile.h:140: warning:   when initialized here
> OPJFile.h: In constructor 'function::function(std::string, int)':
> OPJFile.h:159: warning: 'function::index' will be initialized after
> OPJFile.h:154: warning:   'int function::type'
> OPJFile.h:160: warning:   when initialized here
> OPJFile.h: In constructor 'projectNode::projectNode(std::string, int)':
> OPJFile.h:383: warning: 'projectNode::name' will be initialized after
> OPJFile.h:382: warning:   'int projectNode::type'
> OPJFile.h:384: warning:   when initialized here
> OPJFile.cpp: In function 'int strcmp_i(const char*, const char*)':
> OPJFile.cpp:47: error: 'strcasecmp' was not declared in this scope
> OPJFile.cpp: In member function 'int OPJFile::ParseFormatOld()':
> OPJFile.cpp:349: error: 'strtok' was not declared in this scope
> OPJFile.cpp:352: error: 'strcat' was not declared in this scope
> OPJFile.cpp:354: error: 'strcpy' was not declared in this scope
> OPJFile.cpp: In member function 'int OPJFile::ParseFormatNew()':
> OPJFile.cpp:779: error: 'strtok' was not declared in this scope
> OPJFile.cpp:782: error: 'strcat' was not declared in this scope
> OPJFile.cpp:784: error: 'strcpy' was not declared in this scope
> OPJFile.cpp:920: warning: array subscript has type 'char'
> OPJFile.cpp:1038: error: 'strchr' was not declared in this scope
> OPJFile.cpp:1049: error: 'strchr' was not declared in this scope
> OPJFile.cpp:1168: error: 'strcmp' was not declared in this scope
> OPJFile.cpp: In member function 'void OPJFile::readSpreadInfo(FILE*, FILE*)':
> OPJFile.cpp:1340: error: 'strcmp' was not declared in this scope
> OPJFile.cpp: In member function 'void OPJFile::readExcelInfo(FILE*, FILE*)':
> OPJFile.cpp:1590: error: 'strcmp' was not declared in this scope
> OPJFile.cpp: In member function 'void OPJFile::readMatrixInfo(FILE*, FILE*)':
> OPJFile.cpp:1818: error: 'strcmp' was not declared in this scope
> OPJFile.cpp:1840: error: 'strcmp' was not declared in this scope
> OPJFile.cpp: In member function 'void OPJFile::readGraphInfo(FILE*, FILE*)':
> OPJFile.cpp:2165: error: 'strcmp' was not declared in this scope
> OPJFile.cpp:2257: error: 'memcpy' was not declared in this scope
> OPJFile.cpp:2284: error: 'strcmp' was not declared in this scope
> OPJFile.cpp: In member function 'void OPJFile::skipObjectInfo(FILE*, FILE*)':
> OPJFile.cpp:2562: error: 'strcmp' was not declared in this scope
> make[1]: *** [liborigin.so] Error 1
> make[1]: Leaving directory `/build/tbm/liborigin-20070926'
> make: *** [build-stamp] Error 2

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