This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24215] [4.0/4.1 Regression] pragma interface in included file with same name



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]