4 ms·
Multiplier: 5.9 billion That's... several orders of magnitude larger than I'd have guessed.
by underdeserver 2y ago
Multiplier: 5.9 billion
That's... several orders of magnitude larger than I'd have guessed.
- ivanjermakov 2y agoI guess the limit is the stack size? Would that mean that output error size dependends on compiler flags?
- jepler 2y agoI 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.