There's a simple fix to hide warnings caused by SeqAn: just include the SeqAn include headers via the flag `-isystem` instead of `-I`. That is, append `-isystem PATH/TO/SEQAN` to your CXXFLAGS. Perhaps that helps. Kind regards, Konrad On May 14, 2011, at 9:03, John Reid wrote: > 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> >> > > _______________________________________________ > seqan-dev mailing list > seqan-dev@lists.fu-berlin.de > https://lists.fu-berlin.de/listinfo/seqan-dev