> From: Catherine E. White [mailto:[EMAIL PROTECTED]]
> 
> We've started putting a big comment in our C++ classes for 
> classes that [...] are safe to use with non standard launch codes
> when you don't have global variables.

You know what would be great?  A new #pragma added to the compiler, which
you would put above a function, that would indicate "this function is not
allowed to use global or static variables."  Then if somebody later
mistakenly added code that did try to access any A5-relative data, the
compiler would spit out a warning or error.  I bet diligent usage of such a
#pragma would really help eliminate that particular class of errors.

-slj-

Reply via email to