https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101493
Bug ID: 101493 Summary: Error message for too deep include seems to be off by one Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: wolf+gcc at wolfsden dot cz Target Milestone: --- When you by accident create infinite loop in includes, you get this error message: ../foo.c:1:32: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum) That seems slightly off, since 200 does not exceed 200. I guess it should have been 201 exceeds [..] 200?