On Sat, Aug 20, 2011 at 07:20:41AM -0700, Ian Lance Taylor wrote: > Hmmm, you're right, -Wmissing-declarations seems to be equivalent to > -Wmissing-prototypes when using C++. Sorry I missed that.
Then it would seem that HJ's issue could be fixed by treating -Wmissing-prototypes as a synonym for -Wmissing-declarations when building C++.