Package: raidutils
Version: 0.0.4-7
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 raidutils_0.0.4-7 on bigsur by sbuild/mips 1.86
...
> if mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O3 
> -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL 
> -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH   -g -O2 -MT raidutil-alarm.o -MD 
> -MP -MF ".deps/raidutil-alarm.Tpo" -c -o raidutil-alarm.o `test -f 
> 'alarm.cpp' || echo './'`alarm.cpp; \
>       then mv -f ".deps/raidutil-alarm.Tpo" ".deps/raidutil-alarm.Po"; else 
> rm -f ".deps/raidutil-alarm.Tpo"; exit 1; fi
> ../include/device.hh:40: warning: 'packed' attribute ignored for field of 
> type 'dptCcapacity_S'
> ../include/device.hh:41: warning: 'packed' attribute ignored for field of 
> type 'dptCemuParam_S'
> ../include/get_info.h:384: warning: 'packed' attribute ignored for field of 
> type 'uCHAR'
> ../include/get_info.h:385: warning: 'packed' attribute ignored for field of 
> type 'uCHAR'
> ../include/mgr.hh:37: warning: 'packed' attribute ignored for field of type 
> 'dptCaddr_S'
> ../include/mgr.hh:38: warning: 'packed' attribute ignored for field of type 
> 'dptCaddr_S'
> ../include/hba.hh:37: warning: 'packed' attribute ignored for field of type 
> 'dptIOaddr_U'
> ../include/hba.hh:43: warning: 'packed' attribute ignored for field of type 
> 'dptHBAid_U'
> ../include/hba.hh:83: warning: 'packed' attribute ignored for field of type 
> 'dptChanInfo_S [3]'
> ../include/mgr.hh:37: warning: 'packed' attribute ignored for field of type 
> 'dptCaddr_S'
> ../include/mgr.hh:38: warning: 'packed' attribute ignored for field of type 
> 'dptCaddr_S'
> ../include/mgr.hh:37: warning: 'packed' attribute ignored for field of type 
> 'dptCaddr_S'
> ../include/mgr.hh:38: warning: 'packed' attribute ignored for field of type 
> 'dptCaddr_S'
> alarm.hpp:61: error: extra qualification 'AlarmStatus::' on member 
> 'AlarmStatus'


--- ./raideng/connect.hpp~      2006-03-11 14:33:50.000000000 +0000
+++ ./raideng/connect.hpp       2006-03-11 14:33:54.000000000 +0000
@@ -189,7 +189,7 @@
 
 // Constructor/Destructor.............................
 
-                       dptSCSIcon_C::dptSCSIcon_C();
+                       dptSCSIcon_C();
 
 // Message Handlers...................................
 
--- ./raideng/raid.h~   2006-03-11 14:34:11.000000000 +0000
+++ ./raideng/raid.h    2006-03-11 14:34:15.000000000 +0000
@@ -271,7 +271,7 @@
 
 // Constructor/Destructor.............................
 
-                       raidDef_S::raidDef_S();
+                       raidDef_S();
 
 };
 #endif  // c++
--- ./raidutil/alarm.hpp~       2006-03-11 14:23:14.000000000 +0000
+++ ./raidutil/alarm.hpp        2006-03-11 14:23:19.000000000 +0000
@@ -58,7 +58,7 @@
 class AlarmStatus:public Command
        {
        public:
-               AlarmStatus::AlarmStatus( int hba, AlarmCommand cmd );          
                                        
+               AlarmStatus( int hba, AlarmCommand cmd );                       
                                
                AlarmStatus( const AlarmStatus &new_AlarmStatus );
                virtual ~AlarmStatus();
                AlarmStatus     &operator = ( AlarmStatus &right );
--- ./raidutil/eventlog.hpp~    2006-03-11 14:23:59.000000000 +0000
+++ ./raidutil/eventlog.hpp     2006-03-11 14:24:03.000000000 +0000
@@ -77,7 +77,7 @@
        {
 
        public:
-               EventLog::EventLog(SCSI_Addr_List *deviceList, 
+               EventLog(SCSI_Addr_List *deviceList, 
             EventLogOptions cmd);
                EventLog(const EventLog &new_EventLog);
                virtual ~EventLog();
--- ./raidutil/expand.hpp~      2006-03-11 14:24:25.000000000 +0000
+++ ./raidutil/expand.hpp       2006-03-11 14:24:50.000000000 +0000
@@ -55,7 +55,7 @@
 class Expand:public Command
 {
    public:
-      Expand::Expand (SCSI_Address raid, SCSI_Addr_List *list);
+                Expand (SCSI_Address raid, SCSI_Addr_List *list);
                Expand (const Expand &new_Expand);
                virtual ~Expand();
                Expand &operator = (Expand &right);
--- ./raidutil/forcest.hpp~     2006-03-11 14:25:25.000000000 +0000
+++ ./raidutil/forcest.hpp      2006-03-11 14:25:29.000000000 +0000
@@ -65,7 +65,7 @@
 class ForceState:public Command
        {
        public:
-               ForceState::ForceState(SCSI_Addr_List *deviceList, 
ForceStateOptions cmd);
+               ForceState(SCSI_Addr_List *deviceList, ForceStateOptions cmd);
                ForceState(const ForceState &new_ForceState);
                virtual ~ForceState();
 
--- ./raidutil/namarray.hpp~    2006-03-11 14:27:36.000000000 +0000
+++ ./raidutil/namarray.hpp     2006-03-11 14:27:39.000000000 +0000
@@ -58,7 +58,7 @@
 {
 
        public:
-               NameArray::NameArray(SCSI_Address arrayToName, char *arrayName);
+               NameArray(SCSI_Address arrayToName, char *arrayName);
                NameArray(const NameArray &new_NameArray);
                virtual ~NameArray();
 
--- ./raidutil/setrate.hpp~     2006-03-11 14:28:08.000000000 +0000
+++ ./raidutil/setrate.hpp      2006-03-11 14:29:09.000000000 +0000
@@ -59,8 +59,8 @@
        public:
 
                // Set the (global) rebuild rate
-        SetRate::SetRate(int rate, SCSI_Addr_List *objs);
-        SetRate::SetRate(const SetRate &right);
+                SetRate(int rate, SCSI_Addr_List *objs);
+                SetRate(const SetRate &right);
                virtual ~SetRate();
 
                Dpt_Error execute(String_List **output);
--- ./raidutil/setcache.hpp~    2006-03-11 14:28:16.000000000 +0000
+++ ./raidutil/setcache.hpp     2006-03-11 14:31:13.000000000 +0000
@@ -55,11 +55,11 @@
 class SetCache:public Command
        {
        public:
-               SetCache::SetCache(
-                               SCSI_Addr_List  *addresses,             // a 
list of addresses
-                               int                             on,             
                // Whether to enable or disable
-                               int                             rw              
                // Read or write cacheing.
-                               );                                              
                // to delete raid tables on
+               SetCache(
+                       SCSI_Addr_List  *addresses,             // a list of 
addresses
+                       int                             on,                     
        // Whether to enable or disable
+                       int                             rw                      
        // Read or write cacheing.
+                       );                                                      
        // to delete raid tables on
                SetCache( const SetCache &new_SetCache );
                virtual ~SetCache();
                SetCache        &operator = ( SetCache &right );
--- ./raidutil/taskctrl.hpp~    2006-03-11 14:29:32.000000000 +0000
+++ ./raidutil/taskctrl.hpp     2006-03-11 14:29:34.000000000 +0000
@@ -59,7 +59,7 @@
 class TaskControl:public Command
        {
        public:
-               TaskControl::TaskControl(SCSI_Addr_List *deviceList, 
TaskCommandOptions cmd);
+               TaskControl(SCSI_Addr_List *deviceList, TaskCommandOptions cmd);
                TaskControl(const TaskControl &new_TaskControl);
                virtual ~TaskControl();
 
--- ./raidutil/segment.hpp~     2006-03-11 14:29:44.000000000 +0000
+++ ./raidutil/segment.hpp      2006-03-11 14:29:47.000000000 +0000
@@ -51,7 +51,7 @@
 {
 
        public:
-               arraySegment::arraySegment(SCSI_Address raidToSeg, uLONG 
segSize[8], uLONG segOffset[8], bool showSeg);
+               arraySegment(SCSI_Address raidToSeg, uLONG segSize[8], uLONG 
segOffset[8], bool showSeg);
                arraySegment(const arraySegment &new_arraySegment);
                virtual ~arraySegment();
 
--- ./raidutil/setscfg.hpp~     2006-03-11 14:29:52.000000000 +0000
+++ ./raidutil/setscfg.hpp      2006-03-11 14:29:56.000000000 +0000
@@ -59,7 +59,7 @@
 {
 
        public:
-               setscfg::setscfg();
+               setscfg();
                virtual ~setscfg();
 
                Dpt_Error execute(String_List **output);
--- ./raidutil/rmwflash.hpp~    2006-03-11 14:30:51.000000000 +0000
+++ ./raidutil/rmwflash.hpp     2006-03-11 14:30:04.000000000 +0000
@@ -59,7 +59,7 @@
 {
 
         public:
-                RMWFlash::RMWFlash(int hbaNo, char *Data, int Region, unsigned 
long Offset, unsigned Size);
+                RMWFlash(int hbaNo, char *Data, int Region, unsigned long 
Offset, unsigned Size);
                 RMWFlash(const RMWFlash &new_RMWFlash);
                 virtual ~RMWFlash();
 
--- ./raidutil/zap.hpp~ 2006-03-11 14:31:18.000000000 +0000
+++ ./raidutil/zap.hpp  2006-03-11 14:31:26.000000000 +0000
@@ -55,7 +55,7 @@
 class Zap:public Command
        {
        public:
-               Zap::Zap(
+               Zap(
                                SCSI_Addr_List  *addresses,  // a list of 
addresses
             int resync = 0            // (send reset to hba or not)
       );                                                                       
 // to delete raid tables on
--- ./raidutil/uartdmp.hpp~     2006-03-11 14:31:33.000000000 +0000
+++ ./raidutil/uartdmp.hpp      2006-03-11 14:31:36.000000000 +0000
@@ -59,7 +59,7 @@
 {
 
        public:
-               UartDmp::UartDmp(int hbaNo, char *fileName);
+               UartDmp(int hbaNo, char *fileName);
                UartDmp(const UartDmp &new_UartDmp);
                virtual ~UartDmp();
 

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