Language
C++
Compiler
clang 17.0.1
Options
Warnings
Optimization
Don't Use Boost
C++17(GNU)
no pedantic
$ clang++ prog.cc -Wall -Wextra -O2 -march=native -std=gnu++17 Signal:
Segmentation fault
Author
anonymous
almost 2 years ago
C++
clang 17.0.1
Author
anonymous
almost 2 years ago
$ clang++ prog.cc -Wall -Wextra -O2 -march=native -std=gnu++17 prog.cc:11:5: warning: stack frame size (1099511627768) exceeds limit (4294967295) in 'main' [-Wframe-larger-than]
11 | int main() {
| ^
In file included from prog.cc:4:
In file included from /opt/wandbox/clang-17.0.1/include/c++/v1/functional:529:
/opt/wandbox/clang-17.0.1/include/c++/v1/__functional/function.h:310:70: warning: stack frame size (1099511627768) exceeds limit (4294967295) in 'std::__1::__function::__func<LonghistBackend::f::'lambda'(), std::__1::allocator<LonghistBackend::f::'lambda'()>, int ()>::__clone() const' [-Wframe-larger-than]
310 | _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual __base<_Rp(_ArgTypes...)>* __clone() const;
| ^
2 warnings generated.