Anyone know where I can get a list of CL.exe exit codes and what they mean? Google is not my friend on this and the particular code I'm getting (4) al开发者_StackOverflowso doesn't seem to get any hits.
Although the meaning to code 4 would be nice, I'd prefer a site that actually lists them all.
Undocumented. But it isn't unusual for a process to return the Windows error, COM failure HRESULT or exception code. Which explains why it isn't documented.
Windows error code 4 is "Too many open files". Got deeply nested .h files or recursive #includes without a guard?
MSDN says only says "cl.exe returns zero for success (no errors) and non-zero otherwise". http://msdn.microsoft.com/en-us/library/ebh0y918.aspx
精彩评论