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

2012-05-30 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46836 --- Comment #8 from dodji at seketeli dot org 2012-05-30 07:34:17 UTC --- "manu at gcc dot gnu.org" a écrit: > Well, we already have pragma system_header, we could extend it with an > optional > parameter. > > #pragma GCC system_header "canoni

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

2012-05-29 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46836 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

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

2012-05-29 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46836 --- Comment #6 from Jonathan Wakely 2012-05-29 12:14:18 UTC --- (In reply to comment #2) > #pragma GCC canonical_header [header-name] [identifier] I don't think we even need to do it per-identifier. If each standard header started with: #pragm

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

2012-05-29 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46836 --- Comment #5 from Jonathan Wakely 2012-05-29 12:08:24 UTC --- For PR 52974 Manu made a huge improvement, so that we only get /some/ugly/path/the/user/didn't/include instead of /some/ugly/path/the/user/can't/even/parse/../../../didn't/include, b

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

2012-05-29 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46836 --- Comment #4 from Paolo Carlini 2012-05-29 12:02:58 UTC --- Jon, is this a duplicate? A couple of weeks ago I saw a patch related to this issue but I don't see it mentioned here?!?

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

2010-12-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46836 --- Comment #3 from Jonathan Wakely 2010-12-07 16:48:56 UTC --- (In reply to comment #2) > On Tue, Dec 07, 2010 at 03:31:22PM +, redi at gcc dot gnu.org wrote: > > It's not entirely trivial, because e.g. std::tuple_size is declared in more >

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

2010-12-07 Thread froydnj at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46836 --- Comment #2 from froydnj at codesourcery dot com 2010-12-07 15:49:15 UTC --- On Tue, Dec 07, 2010 at 03:31:22PM +, 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

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

2010-12-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46836 Jonathan Wakely changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #1