Package: vertex
Version: 0.1.15-1.1
Your package fails to build with recent versions of the gcc-snapshot
package, i.e. a pre-release of GCC 4.2. The problem is that external
variables are defined both in a C and C++ context, as you can see in
this simple example:
42059:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/g++ -c t.cc
t.cc:1: error: previous declaration of 'int i' with 'C++' linkage
t.cc:4: error: conflicts with new declaration with 'C' linkage
42060:[EMAIL PROTECTED]: ~] cat t.cc
extern int i;
extern "C" {
extern int i;
}
According to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27227#c8 this is
not valid, so please investgate.
> Automatic build of vertex_0.1.15-1.1 on usurper by sbuild/amd64 0.46
...
> Compiling module string.o
> string.cpp:6: error: previous declaration of 'char* tzname [2]' with 'C++'
> linkage
> /usr/include/time.h:279: error: conflicts with new declaration with 'C'
> linkage
> string.cpp: In function 'void strtoupper(char*)':
> string.cpp:480: warning: operation on 's' may be undefined
> string.cpp: In function 'void strtolower(char*)':
> string.cpp:492: warning: operation on 's' may be undefined
> string.cpp: In function 'char* StringGetNetArgument(const char*)':
> string.cpp:1404: warning: deprecated conversion from string constant to
> 'char*''
> string.cpp:1418: warning: deprecated conversion from string constant to
> 'char*''
> string.cpp: In function 'char* StringCurrentTimeFormat(const char*)':
> string.cpp:1441: warning: deprecated conversion from string constant to
> 'char*''
> string.cpp:1443: warning: deprecated conversion from string constant to
> 'char*''
> string.cpp:1449: warning: deprecated conversion from string constant to
> 'char*''
> make[2]: *** [string.o] Error 1
> make[2]: Leaving directory `/build/tbm/vertex-0.1.15/vertex'
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]