Package: arpack++
Version: 2.2-7
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 arpack++_2.2-7 on swarm by sbuild/mipsel 0.45
...
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -MT debug.lo -MD -MP
> -MF .deps/debug.Tpo -c debug.cpp -fPIC -DPIC -o .libs/debug.o
> ../include/debug.h:23: error: previous declaration of 'arpack_debug debug_'
> with 'C++' linkage
> debug.cpp:23: error: conflicts with new declaration with 'C' linkage
> make[3]: *** [debug.lo] Error 1
> make[3]: Leaving directory `/build/tbm/arpack++-2.2/src'
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]