FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

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

<-- thread -->
<-- date -->
  • From: Konrad Ludwig Moritz Rudolph <konrad.rudolph@fu-berlin.de>
  • To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Date: Sat, 14 May 2011 11:23:58 +0200
  • Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Subject: Re: [Seqan-dev] GCC unused-result warnings

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




<-- thread -->
<-- date -->
  • References:
    • [Seqan-dev] GCC unused-result warnings
      • From: John Reid <j.reid@mail.cryst.bbk.ac.uk>
    • Re: [Seqan-dev] GCC unused-result warnings
      • From: Manuel Holtgrewe <manuel.holtgrewe@fu-berlin.de>
    • Re: [Seqan-dev] GCC unused-result warnings
      • From: John Reid <j.reid@mail.cryst.bbk.ac.uk>
  • seqan-dev - May 2011 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the seqan-dev mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal