This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: profile mode broken with -std=gnu++0x
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Silvius Rus <rus at google dot com>
- Cc: Paolo Carlini <paolo dot carlini at oracle dot com>, "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 5 May 2010 09:19:10 +0100
- Subject: Re: profile mode broken with -std=gnu++0x
- References: <r2pe90dbffc1005041939g8c3d3f36q75ebc11e0d9a2656@mail.gmail.com>
On 5 May 2010 03:39, Silvius Rus wrote:
>
> Could you please confirm this breakage by trying to compile a file
> containing only "#include <vector>" with "-D_GLIBCXX_PROFILE
> -std=gnu++0x"? ?If it confirms, do you happen to know which change
> might have caused this?
It looks as though it is probably the random number generator updates,
those facilities have changed significantly. One answer might be to
consistently use the TR1 random number generators, which are stable
and work the same in c++98 or c++0x mode.