Discussion:
[Ipmitool-devel] ID: 3608759: Remove -Wno-unused-return fixes
Dan Gora
2013-04-30 00:01:05 UTC
Permalink
Hi All,

Following are 5 patches to fix the compilation warnings which appear
in newer gcc versions (gcc 4.7.2 currently only seen in Ububtu 12.10
AFAIK) when -Wno-unused-return is removed from the compilation flags.

-Wno-unused-return basically _has_ to come out. A few compilation
warnings are better than having the compilation just fail with older
gcc versions. Hopefully these patches will fix the compilation
warnings to everyone's satisfaction.

thanks
dan
Dan Gora
2013-04-30 00:17:45 UTC
Permalink
Sorry.. that should say "6 patches"...

Let me know if there are still compilation warnings on other systems.
I've tested Suse 12.1, Ubuntu 12.10, Cavium SDK 1.8.1 and Cavium SDK
2.3.0.

thanks
dan
Post by Dan Gora
Hi All,
Following are 5 patches to fix the compilation warnings which appear
in newer gcc versions (gcc 4.7.2 currently only seen in Ububtu 12.10
AFAIK) when -Wno-unused-return is removed from the compilation flags.
-Wno-unused-return basically _has_ to come out. A few compilation
warnings are better than having the compilation just fail with older
gcc versions. Hopefully these patches will fix the compilation
warnings to everyone's satisfaction.
thanks
dan
Loading...