[Bug libstdc++/86513] ostringstream default constructor missing from libstdc++

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 16 13:34:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86513

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Csaba Ráduly from comment #3)
> I don't get this. ostringstream isn't even supposed to have a default
> constructor, only the openmode, string and openmode, and the move
> constructor (if I'm reading [ostringstream.cons] in N4659 right).

That draft is no longer current, see https://wg21.link/p0935r0

> In the meantime it fixed itself at revision 262687 (mybe my usual "svn up &&
> make bootstrap && make install" triggered the necessary rebuild).

Nothing changed, you just needed a rebuild. Next time please do a clean build
and double check before reporting a bug. Incremental builds are not supported
on trunk, if you live on the bleeding edge you need to deal with it. Even "make
clean" isn't always enough, you might need a completely new build in an empty
directory.

Building in the source directory is also not supported, see
https://gcc.gnu.org/wiki/FAQ#configure (building in a separate directory has
the advantage that you can just remove the entire build dir and start again,
and the sources are unaffected because they're in a different directory).


More information about the Gcc-bugs mailing list