Could you tell me what is the HW platform and the Linux distribution?

 

  _____  

From: Renier Morales [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 11, 2008 17:45
To: [EMAIL PROTECTED]
Cc: [email protected]; [EMAIL PROTECTED]
Subject: ipmi_watchdog.cpp: error: type qualifiers ignoredon function return
type

 


Hello, Pierre. 
About that patch, Darix is still getting the following: 

 <darix>  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../utils
-I../../utils -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -fno-strict-aliasing -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -Wall -Wpointer-arith -Wformat=2
-Wformat-security -Wformat-nonliteral -Wcast-qual -Wcast-align -Wshadow
-Wwrite-strings -Wredundant-decls -Wno-strict-aliasing -Wno-unused-value
-D_GNU_SOURCE -D_REENTRANT -fexceptions ... 
[12:31:21] <darix> ... -MT ipmi_watchdog.lo -MD -MP -MF
.deps/ipmi_watchdog.Tpo -c ipmi_watchdog.cpp  -fPIC -DPIC -o
.libs/ipmi_watchdog.o 
[12:31:24] <darix> ipmi_watchdog.cpp:59: warning: type qualifiers ignored on
function return type 
[12:31:27] <darix> ipmi_watchdog.cpp:71: warning: type qualifiers ignored on
function return type 
[12:31:29] <darix> ipmi_watchdog.cpp:85: warning: type qualifiers ignored on
function return type 

Saludos,

       --Renier 

----- Forwarded by Renier Morales/Poughkeepsie/IBM on 01/11/2008 12:36 PM
----- 


Renier Morales/Poughkeepsie/IBM 

12/18/2007 11:23 AM 


To

[EMAIL PROTECTED] 


cc

 


Subject

Fw: [Openhpi-devel] ipmi_watchdog.cpp: error: type qualifiers
ignoredon function return type

 


 

 



----- Forwarded by Renier Morales/Poughkeepsie/IBM on 12/18/2007 11:22 AM
----- 


"Pierre Sangouard" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 

12/18/2007 04:29 AM 


Please respond to
[email protected]


To

<[email protected]> 


cc

 


Subject

Re: [Openhpi-devel] ipmi_watchdog.cpp: error: type qualifiers
ignoredon function return type

 


 

 




Marking the variable const does _not_ work. Please try this patch. If it
works in your environment, please open a bug and assign it to me. 
  
  
  
Thanks, 
Pierre 
  

 

  _____  


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Renier
Morales
Sent: Monday, December 17, 2007 21:31
To: [email protected]; [EMAIL PROTECTED]
Subject: [Openhpi-devel] ipmi_watchdog.cpp: error: type qualifiers ignoredon
function return type 
  

<darix> renier: ipmi_watchdog.cpp:59: error: type qualifiers ignored on
function return type 
[16:17:15] <darix> ipmi_watchdog.cpp:73: error: type qualifiers ignored on
function return type 
[16:17:17] <darix> ipmi_watchdog.cpp:89: error: type qualifiers ignored on
function return type 
[16:17:41] <darix> the function specifies that the return value should be
const. 
[16:17:48] <darix> the variable inside the function is not const 
[16:19:12] <darix> just marking the variable inside as const seems to be the
best 
[16:21:41] <renier> darix: what gcc/glibc level is giving you that? 
[16:22:03] <darix> rpm -q gcc43 glibc 
[16:22:03] <darix> gcc43-4.3.0_20071129-6 
[16:22:03] <darix> glibc-2.6.1-29 
[16:22:45] <darix>  WDTimerUse2Hpi(unsigned char b) 
[16:22:45] <darix>  { 
[16:22:45] <darix> -   SaHpiWatchdogTimerUseT wtu; 
[16:22:45] <darix> +   const SaHpiWatchdogTimerUseT wtu; 

Saludos,

      --Renier

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to