"Variable length array for a non POD (plain old data) element" build failure(s) — clang 3.4.2
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 |
|---|---|---|---|---|
| adolc | 2.5.0-3 | sparsedrivers.cpp:1142:11: error: variable length array of non-POD element type 'adtl::adouble' | Log | |
| apertium | 3.1.0-2 | hmm.cc:730:23: error: variable length array of non-POD element type 'vector | Log | |
| beignet | 0.8-1 | gen_insn_selection.cpp:2404:22: error: variable length array of non-POD element type 'gbe::GenRegister' | Log | |
| ceph | 0.80.1-1 | key_value_store/kv_flat_btree_async.cc:1123:40: error: variable length array of non-POD element type 'librados::ObjectWriteOperation' | Log | |
| disulfinder | 1.2.11-3 | Input/buildXfolds.cpp:16:41: error: variable length array of non-POD element type 'std::vector | Log | |
| extrema | 4.4.5.dfsg-3 | AxisPopup.cpp:217:19: error: variable length array of non-POD element type 'wxString' | Log | |
| fte | 0.50.2b6-1 | con_linux.cpp:434:12: error: variable length array of non-POD element type 'TCell' | Log | |
| handlersocket | 1.1.0-7-g1044a28-1.1 | HandlerSocket.xs:525:19: error: variable length array of non-POD element type 'execute_arg' | Log | |
| idba | 1.1.1-2 | ../src/tools/parallel_rna_blat.cpp:64:24: error: variable length array of non-POD element type 'FastaWriter' | Log | |
| jellyfish | 1.1.11-1 | ./jellyfish/invertible_hash_array.hpp:639:31: error: variable length array of non-POD element type 'jellyfish::invertible_hash::array | Log | |
| maitreya | 7.0.5-1 | Painter.cpp:331:11: error: variable length array of non-POD element type 'wxPoint' | Log | |
| musescore | 1.3+dfsg-2 | 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 |
| qelectrotech | 0.22+svn897-1 | :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 | |
| scim | 1.4.14-6 | scim_helper_manager_server.cpp:98:24: error: variable length array of non-POD element type 'scim::HelperModule' | Log | |
| simutrans | 111.2.2-1 | freight_list_sorter.cc:114:2: error: variable length array of non-POD element type 'ware_t' | Log | |
| steghide | 0.5.1-9 | BmpFile.cc:217:44: error: variable length array of non-POD element type 'std::vector | Log |
18 errors