Closed vpmedia closed 2 weeks ago
Crashes: clang -g -O2 -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I/cygdrive/f/crossbridge-futures/dmalloc-5.5.2 -c /cygdrive/f/crossbridge-futures/dmalloc-5.5.2/arg_check.c -o ./arg_check.o
Works: clang -O2 -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I/cygdrive/f/crossbridge-futures/dmalloc-5.5.2 -c /cygdrive/f/crossbridge-futures/dmalloc-5.5.2/arg_check.c -o ./arg_check.o
So the '-g -O2' debug flag is the reason.. but '-g -O4' works
New error with -O3 flag:
./dmalloc_fc_t -s
RangeError: Error #1506
Makefile:347: recipe for target 'light' failed