This is the mail archive of the
mailing list for the GCC project.
Re: ODR violation for std::cout etc.
- From: Joe Buck <Joe dot Buck at synopsys dot COM>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: Michael Veksler <mveksler at techunix dot technion dot ac dot il>, gcc at gcc dot gnu dot org
- Date: Tue, 10 Jul 2007 10:11:29 -0700
- Subject: Re: ODR violation for std::cout etc.
- References: <4693B763.firstname.lastname@example.org> <4693BACA.email@example.com>
Michael Veksler wrote:
> >What do you think?
On Tue, Jul 10, 2007 at 06:58:50PM +0200, Paolo Carlini wrote:
> I think that the "current" solution is very, very old, and "heaven"
> knows how many others didn't work at the time on some "exotic"
> platforms. I would suggest filing a PR and CCing Benjamin.
The ODR is a rule that applies to users' programs; if they violate it,
we can't make any promises that their program will work. If there's
a violation in the internals of the libstdc++ implementation, then this only
really matters if it breaks something. Otherwise I'd suggest classifying
the "bug" P5 (absolute lowest priority); there are any number of real
bugs that are more important to fix.