[Bug c++/52974] Canonicalize include paths in diagnostics

2012-05-02 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 --- Comment #9 from Jonathan Wakely 2012-05-02 23:04:55 UTC --- (In reply to comment #8) > Does it also help with the debug info? I haven't tested that. It does, great! > Also, I don't think it changes the output of g++ -v. It doesn't, I don'

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-30 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 --- Comment #7 from Jonathan Wakely 2012-04-30 17:03:30 UTC --- Nice, thanks very much!

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-30 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 --- Comment #6 from Manuel López-Ibáñez 2012-04-30 17:01:11 UTC --- Author: manu Revision: 186991 Modified property: svn:log Modified: svn:log at Mon Apr 30 17:00:59 2012 --

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 --- Comment #5 from Jonathan Wakely 2012-04-15 18:32:49 UTC --- That was fast :) I've only tested it lightly but it looks great, thank you very much.

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-15 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-15 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 --- Comment #4 from Manuel López-Ibáñez 2012-04-15 15:31:46 UTC --- Created attachment 27160 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27160 patch This patch implements the shortening in line-map.c. It seems more general fix than touch

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 --- Comment #3 from Jonathan Wakely 2012-04-13 13:55:27 UTC --- I don't know where they're defined but they're built in and g++ -v shows them #include "..." search starts here: #include <...> search starts here: /home/redi/gcc/4.x/lib/gcc/x86_6

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-13 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 --- Comment #2 from Manuel López-Ibáñez 2012-04-13 13:42:51 UTC --- (In reply to comment #0) > This probably isn't a good idea for user headers, as the include path they use > with -I should be preserved so they recognise it, but for GCC's own C+

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 --- Comment #1 from Jonathan Wakely 2012-04-13 13:16:01 UTC --- The canonicalized version of that error is a lot more readable t.cc: In function 'void f()': t.cc:2:23: error: no matching function for call to 'sort(int)' t.cc:2:23: note: candidat