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

Attachment: wd.patch
Description: Binary data

-------------------------------------------------------------------------
SF.Net email is sponsored by:
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