[Bug c/25175] New: Meaningless pre-processor lineno comments inserted
jw203198 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 30 02:09:00 GMT 2005
Create this file, x.c:
main(){}
Then pre-process with, "cc -E -g x.c" (the -g is significant).
The output will contain a line such as:
# 1 "/home/me/testdir//"
This seems to be at odds with all other such annotations.
Why is the current directory output? And why the double /?
--
Summary: Meaningless pre-processor lineno comments inserted
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jw203198 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25175
More information about the Gcc-bugs
mailing list