"Variable length array for a non POD (plain old data) element" build failure(s) — clang 3.6.0
The following code is not (and won't) supported by clang.
#include <vector>
void foo() {
int N=2;
std::vector<int> best[2][N];
}
| Package | Version | Supposed error message | Full log | Bug report |
|---|---|---|---|---|
| apertium | 3.1.0-2 | hmm.cc:730:23: error: variable length array of non-POD element type 'vector | Log | |
| beignet | 0.9.3~really.0.8+dfsg-1 | gen_insn_selection.cpp:2404:22: error: variable length array of non-POD element type 'gbe::GenRegister' | Log | |
| ceph | 0.80.7-2 | key_value_store/kv_flat_btree_async.cc:1123:40: error: variable length array of non-POD element type 'librados::ObjectWriteOperation' | Log | |
| fte | 0.50.2b6-2 | con_linux.cpp:434:12: error: variable length array of non-POD element type 'TCell' | Log | |
| musescore | 1.3+dfsg1-0.1 | rendermidi.cpp:559:36: error: variable length array of non-POD element type 'QList | Log | |
| pfstmo | 1.4-1 | display_adaptive_tmo.cpp:743:26: error: variable length array of non-POD element type 'UniformArrayLUT' | Log | 749156 |
| powertop | 2.6.1-1 | cpu/cpu.cpp:470:18: error: variable length array of non-POD element type 'string' (aka 'basic_string | Log | |
| qelectrotech | 0.22+svn897-1.1 | sources/customelement.cpp:514:16: error: variable length array of non-POD element type 'QPointF' | Log | |
| qjoypad | 4.1.0-1 | layout_edit.cpp:42:18: error: variable length array of non-POD element type 'QString' | Log | |
| simutrans | 111.2.2-1 | freight_list_sorter.cc:114:2: error: variable length array of non-POD element type 'ware_t' | Log | |
| stardict | 3.0.1-9.2 | t_lookupdata.cpp:20:30: error: variable length array of non-POD element type 'std::vector | Log | |
| steghide | 0.5.1-9.1 | BmpFile.cc:217:44: error: variable length array of non-POD element type 'std::vector | Log | |
| voxbo | 1.8.5~svn1246-1.1 | tes.cpp:1339:12: error: variable length array of non-POD element type 'Tes' | Log |
13 errors