Updated to revision 1018.
Output of clang++ -v:
clang version 4.0.1 (tags/RELEASE_401/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/7
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/7
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
The failed compilation step:
clang++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -Wold-style-cast -Werror
-I/usr/include -I/usr/i
nclude -g -O2 -MT apl-Quad_FFT.o -MD -MP -MF .deps/apl-Quad_FFT.Tpo -c -o
apl-Quad_FFT.o `test
-f 'Quad_FFT.cc' || echo './'`Quad_FFT.cc
Quad_FFT.cc:80:9: error: 'delete' applied to a pointer that was allocated with
'new[]'; did you m
ean 'delete[]'? [-Werror,-Wmismatched-new-delete]
delete wp;
^
[]
Quad_FFT.cc:71:23: note: allocated with 'new[]' here
double * wp = new double[N];
^
Quad_FFT.cc:224:9: error: 'delete' applied to a pointer that was allocated with
'new[]'; did you
mean 'delete[]'? [-Werror,-Wmismatched-new-delete]
delete wp;
^
[]
Quad_FFT.cc:210:23: note: allocated with 'new[]' here
double * wp = new double[N];
^
2 errors generated.
--
Whoever has lived long enough to find out what life is, knows how deep a debt
of gratitude we owe to Adam, the first great benefactor of our race. He
brought death into the world.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"