This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24215] [4.0/4.1 Regression] pragma interface in included file with same name
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2005 06:49:29 -0000
- Subject: [Bug c++/24215] [4.0/4.1 Regression] pragma interface in included file with same name
- References: <bug-24215-11467@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from mmitchel at gcc dot gnu dot org 2005-10-11 06:49 -------
The semantics of #pragma interface are not entirely well-specified in this
case. However, the documentation does suggest that you use an explicit
subdirectory when you have multiple headers with the same name in different
directories. Indeed, using:
#pragma interface "b/a.h"
fixes the problem.
Therefore, I'm going to close this as INVALID.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24215