bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Compilation failure


From: David Lamkins
Subject: Re: [Bug-apl] Compilation failure
Date: Thu, 2 Nov 2017 11:24:20 -0700

Thank you. Confirmed fixed.

On Nov 2, 2017 9:29 AM, "Juergen Sauermann" <address@hidden> wrote:
Hi David,

thanks, fixed in SVN 1019.

/// Jürgen


On 11/02/2017 03:28 AM, David B. Lamkins wrote:
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]