Re: [Bug-apl] Compilation failure

2017-11-02 Thread Juergen Sauermann

  
  
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.




  




Re: [Bug-apl] Compilation failure

2017-11-02 Thread David Lamkins
Thank you. Confirmed fixed.

On Nov 2, 2017 9:29 AM, "Juergen Sauermann" 
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.
>
>
>
>