In include/clang/AST/RawCommentList.h we have

class RawComment {
public:
   enum CommentKind {
     CK_Invalid,      ///< Invalid comment
     [...]

In include/clang/AST/OperationKinds.h the following macro is defined

#define CK_Invalid ((CastKind) -1)

In clang sources this is not causing immediate problems (the two header 
files are not included together or, if they are, the former is included 
before the latter).

In our own sources, the inclusion order happens to be the other way 
round, leading to:

In file included from include/clang/AST/ASTContext.h:30:0,
                  [...]
include/clang/AST/RawCommentList.h:24:5: error: expected identifier 
before ‘(’ token


Enea.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to