[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: |
Paolo Bonzini |
Subject: |
Re: Using gnulib with -pedantic, I get many warnings about #include_next |
Date: |
Mon, 25 Aug 2008 09:44:56 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (Macintosh/20080707) |
> Reuben has chosen to set CPP_PEDANTIC to true, so in order to get rid of the
> warning, he needs to make dir->origin == EXTENSION evaluate to false.
> This means, specify the directory containing the built gnulib header files
> with '-isystem' instead of '-I'.
You can put "#pragma GCC system_header" in the gnulib files. However, I
don't know offhand if it applies to *all* warnings in the file, or only
those after the pragma. If it is the former, I think it would be better
to have a separate macro to set it, rather than set it by default.
Paolo
- Using gnulib with -pedantic, I get many warnings about #include_next, (continued)
- Using gnulib with -pedantic, I get many warnings about #include_next, Reuben Thomas, 2008/08/24
- Re: Using gnulib with -pedantic, I get many warnings about #include_next, Bruno Haible, 2008/08/24
- Re: Using gnulib with -pedantic, I get many warnings about #include_next, Bruno Haible, 2008/08/24
- Re: Using gnulib with -pedantic, I get many warnings about #include_next, Reuben Thomas, 2008/08/24
- Re: Using gnulib with -pedantic, I get many warnings about #include_next, Eric Blake, 2008/08/24
- Re: Using gnulib with -pedantic, I get many warnings about #include_next, Bruno Haible, 2008/08/24
- Re: Using gnulib with -pedantic, I get many warnings about #include_next, Paolo Bonzini, 2008/08/25
- Re: Using gnulib with -pedantic, I get many warnings about #include_next,
Paolo Bonzini <=
- Re: Using gnulib with -pedantic, I get many warnings about #include_next, Bruno Haible, 2008/08/25
- Re: Using gnulib with -pedantic, I get many warnings about #include_next, Reuben Thomas, 2008/08/25
- Re: Using gnulib with -pedantic, I get many warnings about #include_next, Eric Blake, 2008/08/25
- Re: Using gnulib with -pedantic, I get many warnings about #include_next, Bruno Haible, 2008/08/29
- Re: Using gnulib with -pedantic, I get many warnings about #include_next, Eric Blake, 2008/08/30
- Re: unintentional commits, Bruno Haible, 2008/08/30