This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with GCC 4.9.0, Wextra, c++1y, and post-preprocessed linux header files
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Matt Godbolt <matt at godbolt dot org>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>, Nevin Liber <nliber at gmail dot com>
- Date: Thu, 24 Apr 2014 17:48:57 +0100
- Subject: Re: Problem with GCC 4.9.0, Wextra, c++1y, and post-preprocessed linux header files
- Authentication-results: sourceware.org; auth=none
- References: <CAFWXXN0y=qEV7pvQ+AfUzWaD-kGcSQZt1_WQqT+2+20YhpifDQ at mail dot gmail dot com>
On 24 April 2014 17:44, Matt Godbolt wrote:
> This only happens with std=c++1y, Wextra and -O (which macro-izes
> htonl instead of making it an external function). It does not happen
> with std=c++11.
I don't have an answer, but this reminds me of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57573