Does anybody know if there are any compilers that warn of infinite recursion ( a very simple case ) like void foo( int a ) { return foo( a ); } gcc does not seem to and lint does not seem to catch it either.