This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/18644] [3.3/3.4/4.0 regression] -Wsynth warning in <complex>
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2004 17:45:10 -0000
- Subject: [Bug libstdc++/18644] [3.3/3.4/4.0 regression] -Wsynth warning in <complex>
- References: <20041124043902.18644.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2004-11-26 17:45 -------
Subject: Re: [3.3/3.4/4.0 regression] -Wsynth warning in <complex>
"bangerth at ices dot utexas dot edu" <gcc-bugzilla@gcc.gnu.org> writes:
| > The diagnostic is nonsensical. The fix is to fix the diagnostic, not
| > to paper over the problem.
|
| That's certainly the best solution. -Wsynth should just not trigger in
| libstdc++ headers.
yes, and even more in user codes where it does not make sense.
Remember, we're currently compiling programs with ISO rules, and we
have very very little provisions to compile programs with cfront rules
(and you'd have to specify which version of cfront).
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18644