Enable VLA Cxx extension in clang build
The clang build fails with /oai-ran/openair1/PHY/MODULATION/gen_75KHz.cpp:16:23: error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension] 16 | complex<double> t[len]; | ^~~ /oai-ran/openair1/PHY/MODULATION/gen_75KHz.cpp:16:23: note: function parameter 'len' with unknown value cannot be used in a constant expression So ignore this warning (and make the build pass), since OAI uses VLAs in various places.
Showing
Please register or sign in to comment