It's a part of larger code base, which forces -Werror on gcc. This warning is generated in a third party code that shouldn't be changed (and I actually know how to fix it), but I can disable specific warnings. This time man gcc failed me, so please, let some gcc master enlighten me. TIA.
views:
678answers:
3That made it, thank you! To be literal it's Wno-unused-value though.
phjr
2008-09-21 17:23:09
A:
Have you tried using a diagnostic pragma directive? These are available in gcc 4.2.1+, I believe.
Tyler
2008-09-21 17:18:31
That would have the same effect, but I can't edit the files. Thanks anyway, I may need that later.
phjr
2008-09-21 17:23:42