Package: coin2
Version: 2.4.4-2
Severity: important
Tags: patch

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.

A patch is below.


> Automatic build of coin2_2.4.4-2 on bigsur by sbuild/mips 1.94
...
>  g++ -DHAVE_CONFIG_H -I../../include -I../../include -D_REENTRANT 
> -DCOIN_DEBUG=1 -DCOIN_INTERNAL -g -O2 -fno-exceptions -W -Wall -Wno-unused 
> -Wno-multichar -Woverloaded-virtual -fno-builtin -finline-functions 
> -Wreturn-type -Wchar-subscripts -Wparentheses -c SoExtSelection.cpp  -fPIC 
> -DPIC -o .libs/SoExtSelection.o
> SoExtSelection.cpp:351: error: extra qualification 
> 'SoExtSelectionP::SelectionState::' on member 'SelectionState'
> SoExtSelection.cpp:359: error: extra qualification 
> 'SoExtSelectionP::SelectionState::' on member 'SelectionState'
> make[4]: *** [SoExtSelection.lo] Error 1
> make[4]: Leaving directory `/build/tbm/coin2-2.4.4/src/nodes'


--- ./src/nodes/SoExtSelection.cpp~     2006-03-16 03:42:21.000000000 +0000
+++ ./src/nodes/SoExtSelection.cpp      2006-03-16 03:42:44.000000000 +0000
@@ -348,7 +348,7 @@
     SbList<SbVec2s> coords;
     SoTimerSensor * updatetimer;
 
-    SelectionState::SelectionState(SoExtSelection * t)
+    SelectionState(SoExtSelection * t)
     {
       this->updatetimer = new SoTimerSensor(&SoExtSelectionP::timercallback, 
t);
       this->updatetimer->setBaseTime(SbTime::zero());
@@ -356,7 +356,7 @@
       this->reset();
     }
 
-    SelectionState::~SelectionState()
+    ~SelectionState()
     {
       delete this->updatetimer;
     }

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