Get tttypes installed correctly.
There is a problem with CPP_PROGRAM - using $CPP or $GENCPP (tradcpp) always fails in tt_type_comp with the error: "nclude ", line 8: syntax error If I define it to /lib/cpp (previous hardcoded value) then it seems to work fine. Only the dtinfo and dtinfo_start ptypes use #include, and therefore show this error. Needs investigation.
This commit is contained in:
@@ -12,7 +12,7 @@ mp_types_gram.h:
|
||||
bin_PROGRAMS = tt_type_comp
|
||||
|
||||
tt_type_comp_CXXFLAGS = -I../../lib -I../../slib \
|
||||
$(TT_VERSION_DEFINE) -DCPP_PROGRAM="\"$(CPP)\""
|
||||
$(TT_VERSION_DEFINE) -DCPP_PROGRAM="\"$(GENCPP)\""
|
||||
|
||||
tt_type_comp_SOURCES = mp_type_comp.C mp_types_table.C \
|
||||
frozen.mp_types_lex.C frozen.mp_types_gram.C
|
||||
|
||||
Reference in New Issue
Block a user