4 ms·
I don't know what compiler & flags they ran it on, but with gcc 12's preprocessor it looks much more than that: include files nest to a level of 200 before an e
by jepler 2y ago
I don't know what compiler & flags they ran it on, but with gcc 12's preprocessor it looks much more than that: include files nest to a level of 200 before an error by default. with `-fmax-include-depth=10`, about 200kB of error is printed, and each subsequent level doubles that, so you'd be in for about 3e62 bytes of error output by my calculation...
clang 14 terminates preprocessing as soon as any header exceeds maximum nesting, so only ~6kB of errors are produced by it.