summaryrefslogtreecommitdiff
path: root/src/support/utilities.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix errors when building in C++20 mode (#4528)Jakub Szewczyk2022-03-181-3/+2
| | | | | | | * use [[noreturn]] available since C++11 instead of compiler-specific attributes * replace deprecated std::is_pod with is_trivial&&is_standard_layout (also available since C++11/14) * explicitly capture this in [=] lambdas * extra const functions in FeatureSet, fix implicit cast warning by using the features field directly * Use CMAKE_CXX_STANDARD to ensure the C++ standard parameter is set on all targets, remove manual compiler flag workaround.
* Add string parameter to WASM_UNREACHABLE (#2499)Sam Clegg2019-12-051-0/+45
This works more like llvm's unreachable handler in that is preserves information even in release builds.