This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/46836] reporting locations for names in std namespace could be improved


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]