[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using gnulib with -pedantic, I get many warnings about #include_next

From: Bruno Haible
Subject: Re: Using gnulib with -pedantic, I get many warnings about #include_next
Date: Sun, 24 Aug 2008 16:34:10 +0200
User-agent: KMail/1.5.4


Reuben Thomas wrote:
> I compile my code with -pedantic, because I want it to work with compilers 
> other than GCC. This means that my compiler output is littered with warnings 
> about #include_next.

gnulib is clever enough to use #include_next only with compilers that support it
(i.e. gcc and Tru64 cc), but gcc does not know about it... So just ignore
this warning.

> How can I stop this?

You could ask the GCC developers for an explicit control of the particular

Or you can filter out the warnings that you don't like.

Or you can use "rerun make" instead of "make". 'rerun' is a command which
outputs not the entire output of a command, but only the diffs compared to
its last run. This is useful when commands produce a lot of output.


Attachment: rerun
Description: application/shellscript

reply via email to

[Prev in Thread] Current Thread [Next in Thread]