[cfe-dev] TOT broken in release build (issue in AST/TemplateBase.h)

Douglas Gregor dgregor at apple.com
Thu Oct 29 08:28:30 PDT 2009


On Oct 29, 2009, at 3:25 AM, Jean-Daniel Dupas wrote:

>
> The 85500 commit causes build error the build when NDEBUG is not
> defined.
> This is due to an issue in AST/TemplateBase.h
>
> The Kind enum is declared conditionally, but used in many places:
>
> #ifndef NDEBUG
>   enum Kind {
>     K_None,
>     K_DeclaratorInfo,
>     K_Expression
>   } Kind;
> #endif

Fixed in r85509; thanks for noticing this!

	- Doug



More information about the cfe-dev mailing list