Make bitwise_expression forwards compatible

Skip syms for tmath

Skip more syms

Add casting back for cast_expression. Disable cast test on Nim < 1.0.0

Skip more syms for cast expressions on Nim < 1.0.0
This commit is contained in:
Joey Yakimowich-Payne 2020-04-20 11:33:53 -06:00
commit 208098b3eb
3 changed files with 18 additions and 5 deletions

View file

@ -13,6 +13,10 @@ when defined(windows):
complex = object
static:
when (NimMajor, NimMinor, NimPatch) < (1, 0, 0):
cSkipSymbol @["mingw_choose_expr", "EXCEPTION_DEFINED", "COMPLEX_DEFINED", "matherr", "HUGE", "FP_ILOGB0", "FP_ILOGBNAN"]
else:
cSkipSymbol @["mingw_choose_expr", "EXCEPTION_DEFINED", "COMPLEX_DEFINED", "matherr", "HUGE"]
cDebug()
cDisableCaching()
cAddStdDir()