bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] clang++ warning in SymbolTable.cc


From: Juergen Sauermann
Subject: Re: [Bug-apl] clang++ warning in SymbolTable.cc
Date: Wed, 13 Jul 2016 12:39:32 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi David,

thanks,, fixed in SVN 779.

/// Jürgen


On 07/12/2016 06:55 PM, David B. Lamkins wrote:
clang++ -DHAVE_CONFIG_H -I. -I..       -g -O2 -MT apl-SymbolTable.o -MD -MP -MF 
.deps/apl-SymbolTable.Tpo -c -o apl-SymbolTable.o `test -f 'SymbolTable.cc' || 
echo './'`SymbolTable.cc
SymbolTable.cc:240:4: warning: 'delete' applied to a pointer that was allocated 
with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
    delete sorted_names;
    ^
          []
SymbolTable.cc:207:36: note: allocated with 'new[]' here
const UCS_string ** sorted_names = new const UCS_string *[count];
                                    ^






reply via email to

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