This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25175] New: Meaningless pre-processor lineno comments inserted
- From: "jw203198 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2005 02:09:57 -0000
- Subject: [Bug c/25175] New: Meaningless pre-processor lineno comments inserted
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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