This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Fix warnings in regex
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Tim Shen <timshen91 at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 17 Oct 2013 20:57:18 +0200 (CEST)
- Subject: Re: [Patch] Fix warnings in regex
- Authentication-results: sourceware.org; auth=none
- References: <CAPrifD=nHj5-uiuqsUV+C7QrJC+0Oywe5mhDKE4pADJpVjJCYg at mail dot gmail dot com>
- Reply-to: libstdc++ at gcc dot gnu dot org
On Thu, 17 Oct 2013, Tim Shen wrote:
...to prevent potential bugs.
By the way, I execute `g++ -E file.cc > prep.cc && sed -i 's|^#.*$||'
prep.cc && g++ -Wall prep.cc 2> log` to get all warnings. Do we have a
better way?
-Wsystem-headers ?
(note also the -P flag)
--
Marc Glisse