[Bug c++/26195] pragma interface no longer handles explicit names
zak at transversal dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 10 15:53:00 GMT 2006
------- Comment #2 from zak at transversal dot com 2006-02-10 15:53 -------
On thinking about this further, I don't understand the application of lbasename
to the input_filename before it is passed to get_fileinfo. I included this for
consistency with the code in cxx_make_type that checks for the interface_*
settings.
However, doesn't this mean that files included as "file1.h", "dir1/file1.h" and
"dir2/file1.h" will share the same c_fileinfo struct for these purposes? The
calls to get_fileinfo(input_filename) in gcc/c-lex.c, by constrast, do not use
lbasename.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26195
More information about the Gcc-bugs
mailing list