[Bug c++/46836] reporting locations for names in std namespace could be improved
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 7 16:49:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46836
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-12-07 16:48:56 UTC ---
(In reply to comment #2)
> On Tue, Dec 07, 2010 at 03:31:22PM +0000, redi at gcc dot gnu.org wrote:
> > It's not entirely trivial, because e.g. std::tuple_size is declared in more
> > than one place, and we have internal helpers which might be in namespace std
> > but probably don't want to be reported as being part of any standard header,
> > but I'd love to see this.
>
> Wow, what entirely trivial implementation are you thinking of? :)
My first thought was just fudging it with
#line 1 "<algorithm>"
But it would be nice to do better than that!
More information about the Gcc-bugs
mailing list