Quantcast
Viewing all articles
Browse latest Browse all 24

Answer by Nuclear for Generate the longest error message in C++

This code

#include <sstream>namespace myns {//}#include <valarray>

when compiled with gcc 11.3 with -std=c++2a produces an infinite complier error output (at least I waited for 5 minutes and it still was outputtimg errors)

==edit==

Actually, the output is not infinite. It generates 18 megabytes of error log, which contains 255059 lines.


Viewing all articles
Browse latest Browse all 24

Trending Articles