Package: orsa
Version: 0.7.0-6

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 orsa_0.7.0-6 on usurper by sbuild/amd64 0.46
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include 
> -I/usr/include/include -I./.. -I./../icons -I./../liborsa -I./../liborsa/misc 
> -I/usr/include/qt3 -I. -DQT_THREAD_SUPPORT -D_REENTRANT -g -Wall -W -pipe 
> -ftemplate-depth-64 -O3 -fno-exceptions -funroll-loops -fstrict-aliasing 
> -fno-gcse -I/usr/include -c xorsa_new_integration_dialog.cc  -fPIC -DPIC -o 
> .libs/xorsa_new_integration_dialog.o
> xorsa_plot_area.h:60: error: previous declaration of 'char* MonthNameShort 
> [13]' with 'C++' linkage
> ./../liborsa/misc/sdncal.h:75: error: conflicts with new declaration with 'C' 
> linkage
> make[4]: *** [xorsa_new_integration_dialog.lo] Error 1
> make[4]: Leaving directory `/build/tbm/orsa-0.7.0/src/libxorsa'

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