Quantcast
Viewing all articles
Browse latest Browse all 24

Answer by Alexander Shishenko for Generate the longest error message in C++

This produces infinite output on GCC 5.2 and Clang 3.6 (on Clang requires -ferror-limit=0, on GCC works with default settings):

#include __FILE__#include __FILE__

Viewing all articles
Browse latest Browse all 24

Trending Articles