This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Wconversion versus libstdc++
On Thu, 18 Jan 2007, Robert Dewar wrote:
| Gabriel Dos Reis wrote:
|
| > The pragma thing will be fixed; however, we will still be left with
| > unhelful warning for what has become idiomatic because of the way C++
| > tends to see sequences.
|
| In Ada, we changed things a while ago to give warnings ONLY on the
| extended main unit being compiled, and not on with'ed specs. This
| is really a similar case, though it is not quite as clear how to
| get this effect in C++.
Maybe we might get some opportunity with the LTO framework, when
merging several translation units.
-- Gaby