Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It should be noted that relying on such extensions makes code non-portable and goes against guideline MSC14-C. Do not introduce unnecessary platform dependencies.

This code also falls under exception comes very close to violating DCL37-EX0 of rule DCL37-C. Do not declare or define a reserved identifier.This code is also . It technically complies with this rule because it falls under exception DCL37-EX0. However, this code is potentially unsafe if it were invoked with a variable named __tmp. Such calling code would constitute a geniuine violation of of DCL37-C. Do not declare or define a reserved identifier. This is considered an acceptable problemFinally, this code is unsafe if it is ever invoked on a platform where __tmp actually has special meaning...see rule DCL37-C for more info. These are considered acceptable problems, as C provides no mechanism to declare a variable in a scope that is guaranteed to be distinct from all other variables in the same scope.

...