Package: osgcal
Version: 0.1.36-1
Severity: important

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.


> Automatic build of osgcal_0.1.36-1 on bigsur by sbuild/mips 1.80
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -O2 -I./include 
> "-DNPROFILE_SAMPLE(a)" -DSUPPORT_GIF_HLS -I/usr/include/libxml2 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -Wall -O2 -MT IOCFG.lo 
> -MD -MP -MF .deps/IOCFG.Tpo -c src/osgCal/IOCFG.cpp  -fPIC -DPIC -o 
> .libs/IOCFG.o
> ./include/osgCal/Model:228: error: extra qualification 'osgCal::Model::' on 
> member 'setActiveMesh'
> make[3]: *** [IOCFG.lo] Error 1

Well, this one is easy to fix:

--- ./include/osgCal/Model~     2006-03-09 06:52:29.000000000 +0000
+++ ./include/osgCal/Model      2006-03-09 06:52:35.000000000 +0000
@@ -225,7 +225,7 @@
    *
    * @remark By default all the meshes are set to active.  
    */   
-  bool Model::setActiveMesh(const std::string &_meshName);
+  bool setActiveMesh(const std::string &_meshName);
 
   bool setActiveMeshes(const std::vector<int>& activeMeshes) { _activeMeshes = 
activeMeshes; return true; }
   const std::vector<int>& getActiveMeshes(void) const { return _activeMeshes; }


But then I get an error I don't know how to fix:


/usr/bin/g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  
-DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 CMatrix.cc -o pic/CMatrix.o
CMatrix.cc: In function ‘ComplexMatrix operator*(const ColumnVector&, const 
ComplexRowVector&)’:
CMatrix.cc:2263: error: conversion from ‘Complex’ to non-scalar type 
‘ComplexMatrix’ requested
CMatrix.cc: In function ‘ComplexMatrix operator*(const ComplexColumnVector&, 
const RowVector&)’:
CMatrix.cc:2270: error: conversion from ‘Complex’ to non-scalar type 
‘ComplexMatrix’ requested
make[3]: *** [pic/CMatrix.o] Error 1


-- 
Martin Michlmayr
http://www.cyrius.com/

Reply via email to