[Bug preprocessor/61386] New: inaccurate location for missing headers
akim.demaille at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jun 2 08:07:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list