|
From: | Louis Chrétien |
Subject: | Problem building version 1251 on Mac OS X |
Date: | Tue, 7 Apr 2020 15:02:37 -0400 |
This morning, having done the SVN update, I got version 1251. When I try to compile on Mac OS X 10.14.6, with Xcode 11.3, I get this error: g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -Werror -g -O2 -MT apl-Bif_F12_DOMINO.o -MD -MP -MF .deps/apl-Bif_F12_DOMINO.Tpo -c -o apl-Bif_F12_DOMINO.o `test -f 'Bif_F12_DOMINO.cc' || echo './'`Bif_F12_DOMINO.cc Bif_F12_DOMINO.cc:333:4: error: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Werror,-Wmismatched-new-delete] delete data; ^ [] Bif_F12_DOMINO.cc:242:17: note: allocated with 'new[]' here double * data = "" double[end]; if (data == 0) WS_FULL; ^ 1 error generated. make[3]: *** [apl-Bif_F12_DOMINO.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 --- Louis Chrétien |
[Prev in Thread] | Current Thread | [Next in Thread] |