bug-apl
[Top][All Lists]
Advanced

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

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


From: David B. Lamkins
Subject: [Bug-apl] clang++ warning in SymbolTable.cc
Date: Tue, 12 Jul 2016 09:55:53 -0700
User-agent: Mutt/1.6.1 (2016-04-27)

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]