This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/61386] New: inaccurate location for missing headers
- From: "akim.demaille at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Jun 2014 08:07:38 +0000
- Subject: [Bug preprocessor/61386] New: inaccurate location for missing headers
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61386
Bug ID: 61386
Summary: inaccurate location for missing headers
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: akim.demaille at gmail dot com
Hi,
This is cosmetic only, but the error message for missing headers provides a
location is past the error.
akim@erebus /tmp $ g++-mp-4.9 foo.cc
foo.cc:2:20: fatal error: stexcept: No such file or directory
#include <stexcept>
^
compilation terminated.
Fwiw, clang's location is more alike what I expect:
akim@erebus /tmp $ clang++-mp-3.5 foo.cc
foo.cc:2:10: fatal error: 'stexcept' file not found
#include <stexcept>
^
1 error generated.