K
Keith Thompson
jacob navia said:When you invoke the compiler with
-ansic however, all extensions are disabled, including
this one. The only exception is _stdcall.
Then perhaps most of this discussion has been a waste of time.
Am I correct in thinking that lcc-win with "-ansic" claims to be a
conforming C compiler, and lcc-win without "-ansic" does not?
If so, then the behavior of lcc-win without "-ansic" is of no
particular relevance here. It doesn't matter whether your
implementation of operator overloading conforms to the C standard, or
whether you issue a diagnostic for any constraint violations or syntax
errors that result from using it, because your implementation, in its
mode that supports operator overloading, is not bound by the C
standard.
Or does lcc-win without "-ansic" claim to be a conforming C compiler
with extensions? If so, then how it handles those extensions is
relevant to the question of whether it's a conforming implementation.