Mercurial > hg > CbC > old > device
changeset 913:7aa39f5128f9
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 09 Apr 2014 21:25:41 +0900 |
parents | 553cd297b0a8 |
children | 0b55a3ab50d3 |
files | Makefile mc-code-i64.c mc-parse.c |
diffstat | 3 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Apr 09 21:21:26 2014 +0900 +++ b/Makefile Wed Apr 09 21:25:41 2014 +0900 @@ -1,4 +1,4 @@ -GCC = gcc +GCC = clang CC = $(GCC) -std=c99 $(CCEXT) $(M) -fgnu89-inline # -O3 # MCFLAG = -DUSE_CODE_KEYWORD
--- a/mc-code-i64.c Wed Apr 09 21:21:26 2014 +0900 +++ b/mc-code-i64.c Wed Apr 09 21:25:41 2014 +0900 @@ -139,6 +139,7 @@ #define __GXX_ABI_VERSION 1002\n\ #define __FLT_MIN_EXP__ (-125)\n\ #define __x86_64 1\n\ +#define __x86_64__ 1\n\ #define __DBL_MIN__ 2.2250738585072014e-308\n\ #define __LP64__ 1\n\ #define __DBL_HAS_QUIET_NAN__ 1\n\
--- a/mc-parse.c Wed Apr 09 21:21:26 2014 +0900 +++ b/mc-parse.c Wed Apr 09 21:25:41 2014 +0900 @@ -51,7 +51,7 @@ extern double strtod(const char *nptr, char **endptr); #endif -int parse_mode = 1; // generate parse tree for all code +int parse_mode = 0; // generate parse tree for all code static int HEAP_REPORT = 0; static int lfree_type_limit; // debugging purpose