Include cmMakefile.h before cm*Lexer.h to get stdint.h first

Some generated cm*Lexer.h headers define preprocessor macros normally
provided by <stdint.h>.  The latter is included indrectly by cmMakefile.h
since commit 2268c41a (Optimize custom command full-path dependency
lookup, 2013-08-06).  Adjust the order to avoid redefinition warnings.
This commit is contained in:
Brad King 2013-08-07 10:14:58 -04:00
parent 7c9f0c664f
commit ae6a5ea5a2
2 changed files with 4 additions and 4 deletions

View File

@ -12,10 +12,10 @@
#include "cmCommandArgumentParserHelper.h"
#include "cmSystemTools.h"
#include "cmCommandArgumentLexer.h"
#include "cmMakefile.h"
#include "cmCommandArgumentLexer.h"
int cmCommandArgument_yyparse( yyscan_t yyscanner );
//
cmCommandArgumentParserHelper::cmCommandArgumentParserHelper()

View File

@ -12,10 +12,10 @@
#include "cmExprParserHelper.h"
#include "cmSystemTools.h"
#include "cmExprLexer.h"
#include "cmMakefile.h"
#include "cmExprLexer.h"
int cmExpr_yyparse( yyscan_t yyscanner );
//
cmExprParserHelper::cmExprParserHelper()