Bootstrap with -Wmissing-prototypes doesn't work for C++
Joe Buck
Joe.Buck@synopsys.com
Fri Aug 19 19:25:00 GMT 2011
I'm confused. Since C++ treats the lack of a prototype as a hard error, what does it mean to make -Wmissing-prototypes useless?
________________________________________
From: gcc-owner@gcc.gnu.org [gcc-owner@gcc.gnu.org] On Behalf Of H.J. Lu [hjl.tools@gmail.com]
Sent: Friday, August 19, 2011 9:36 AM
To: GCC Development
Subject: Bootstrap with -Wmissing-prototypes doesn't work for C++
Since -Wmissing-prototypes doesn't work for C++, using
C++ to bootstrap GCC makes -Wmissing-prototypes useless.
You will see the -Wmissing-prototypes message in stage 1,
but you won't see it in stage3 2/3.
--
H.J.
More information about the Gcc
mailing list