[Bug c++/11390] line directives interfere with friend linkage
pinskia at physics dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Tue Jul 1 15:22:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11390
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-07-01 15:21:59
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-01 15:21 -------
I can reproduce this with the preprocessed file but once I remove the line directives it is fine.
Once I comment out the:
//# 24 "/usr/include/errno.h" 2 3 4
extern "C" {
//# 38 "/usr/include/errno.h" 3 4
extern int *___errno();
//# 49 "/usr/include/errno.h" 3 4
}
# 7 "test.cc
It works also.
This is on the mainline (20030701).
More information about the Gcc-bugs
mailing list