If a source file includes itself, mcpp correctly reports the problem:
/private/tmp/x.ice:1: fatal error: More than 256 nesting of #include
from /private/tmp/x.ice: 1: #include <x.ice>
from /private/tmp/x.ice: 1: #include <x.ice>
The last line is repeated for each nesting.
However, even though mcpp reports a fatal error, the call to mccp_lib_main() returns zero status; it should return non-zero status after an error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I ran into this problem on OS X:
If a source file includes itself, mcpp correctly reports the problem:
/private/tmp/x.ice:1: fatal error: More than 256 nesting of #include
from /private/tmp/x.ice: 1: #include <x.ice>
from /private/tmp/x.ice: 1: #include <x.ice>
The last line is repeated for each nesting.
However, even though mcpp reports a fatal error, the call to mccp_lib_main() returns zero status; it should return non-zero status after an error.