------- Comment #6 from mmitchel at gcc dot gnu dot org  2006-02-13 22:18 
-------
(I'd love to see these #pragmas go away; as indicated in the manual, they have
very little utility.  But, that's another conversation for another day.)

If you remove the lbasename calls, won't you see other problems in the
non-explicit case?  If you #include the interface header using one path (or it
is included from another header, with something like #include "../../foo.h"),
and the implementation file uses a different path, I would think that then
things wouldn't match up.  

The manual suggests that the explicit filename directives are needed precisely
when you have multiple headers with the same name.  Therefore, it seems to me
that lbasename should be used for the implicit case, and not used in the
explicit case.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26195

Reply via email to