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:
parent
7c9f0c664f
commit
ae6a5ea5a2
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue