I was wondering if there is any demand for a plugin for VC++ or Borland C++ 4.5 that would detect infinite loops during the compile process and create an error if there was.
Printable View
I was wondering if there is any demand for a plugin for VC++ or Borland C++ 4.5 that would detect infinite loops during the compile process and create an error if there was.
Sometimes infinite loops are intended.
Or perhaps that doesn't count as an infinite loop.Code:
while (true)
{
...
if (cond)
return a;
}
Anyway, I don't think such a plugin would be very useful.