esp-idf/tools/test_apps/system/cxx_build_test
Ivan Grokhotkov 3973db7664
soc: make register access macros compatible with C++20
In C++20, using the result of an assignment to a 'volatile' value is
deprecated.

Breaking change: register "setter" or modification macros can no
longer be used as expressions.

Closes https://github.com/espressif/esp-idf/issues/9170
2022-06-17 18:09:22 +02:00
..
main soc: make register access macros compatible with C++20 2022-06-17 18:09:22 +02:00
CMakeLists.txt soc: make register access macros compatible with C++20 2022-06-17 18:09:22 +02:00
README.md soc: make register access macros compatible with C++20 2022-06-17 18:09:22 +02:00

C++ build test

This build-only app can be used to check if certain headers, macros or features can be successfully compiled in a C++ source file.

To add a new test, create a new file main/test_<name>.cpp and add it to main/CMakeLists.txt.

If you need to check specific compiler flags, use set_source_files_properties CMake function to adjust the compilation flags for the given source file.