Package: simulpic
Version: 1:2005-1-28-5
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 simulpic_1:2005-1-28-5 on bigsur by sbuild/mips 1.94
...
> make[1]: Entering directory `/build/tbm/simulpic-2005-1-28'
> g++ -g -fPIC -O -Wall -fno-exceptions -I. -I/usr/include/g++-3    -c -o 
> simulpic.o simulpic.cc
> tpic.h:92: error: extra qualification 'TPic::' on member 'RB_Change_Event'
> tpic.h:93: error: extra qualification 'TPic::' on member 'INT_Event'
> tpic.h:94: error: extra qualification 'TPic::' on member 'RTCC_Event'
> tpic.h:95: error: extra qualification 'TPic::' on member 'Update_RTCC'
> tpic.h:96: error: extra qualification 'TPic::' on member 'Update_WDT'
> make[1]: *** [simulpic.o] Error 1

--- ./tpic.h~   2006-03-15 15:24:48.000000000 +0000
+++ ./tpic.h    2006-03-15 15:24:57.000000000 +0000
@@ -89,11 +89,11 @@
     TRegister Bit_Read(TRegister reg, TBit_Address pos);
     TRegister Bit_Write(TRegister reg, TBit_Address pos, TBool bit);
 
-    TBool TPic::RB_Change_Event();
-    TBool TPic::INT_Event();
-    TBool TPic::RTCC_Event();
-    void TPic::Update_RTCC();
-    TBool TPic::Update_WDT();
+    TBool RB_Change_Event();
+    TBool INT_Event();
+    TBool RTCC_Event();
+    void Update_RTCC();
+    TBool Update_WDT();
 
           /****   PIC16C84 - Instruction Set  ****/
 

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