This is the mail archive of the gcc@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]

GCC 3.4 parser bug?


Hi,

The attached testcase compiles fine with GCC 3.2, and 3.3-branch.

However with GCC 3.4 20030117 (experimental), I get:

R1.cpp: In instantiation of `ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK>':
R1.cpp:53:   instantiated from here
R1.cpp:26: error: `ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK>::lock_' has 
   incomplete type
R1.cpp:26: error: invalid use of template type parameter

Is this ill-formed code, or a parser bug?
-- 
Craig Rodrigues        
http://home.attbi.com/~rodrigc
rodrigc@attbi.com

Attachment: R1.cpp
Description: Text document


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