Re: [Seqan-dev] GCC unused-result warnings


Manuel,

Thanks for that. I'm using boost.build so I guess the default flags are different. I have these flags:

-ftemplate-depth-128 -Wno-error -O3 -finline-functions -Wno-inline -Wall -fPIC -Wno-deprecated -Wno-unused -DNDEBUG -DSEQAN_ENABLE_DEBUG=0 -DSEQAN_ENABLE_TESTING=0

Regards,
John.

On 13/05/11 21:13, Manuel Holtgrewe wrote:
John,

I just committed a patch [9638] that hopefully fixes the problem. Are you using the SeqAn CMake scripts and flags to build your programs? I have not seen this warning yet, although we are building with 4.4.5 for the 4.4 series.

Bests,
Manuel

Am 13.05.2011 um 19:09 schrieb John Reid:

Hi,

I get unused-result warnings with gcc 4.4.3 in the tempFileName()
function. Could you apply the attached patch to remove them? Then I'll
be able to concentrate on my own warnings....

Thanks,
John.
<unused-result.patch><ATT00001..txt>