INFO: Conforming to ANSI C Standards

ID: Q98841


The information in this article applies to:
  • Microsoft C/C++ for MS-DOS, version 7.0
  • Microsoft Visual C++ for Windows, 16-bit edition, versions 1.0, 1.5, 1.51, 1.52
  • Microsoft Visual C++, 32-bit Editions, versions 1.0, 2.0, 4.0, 5.0, 6.0


SUMMARY

Names starting with a single underscore and an uppercase letter, or names beginning with a double underscore and a lowercase letter, can be used in a "conforming" C program translated by a "conforming" implementation; these names, and the meaning and syntax associated with each name, are reserved by the implementation. ANSI C also specifies the requirements for a "strictly conforming" program, in which these constructions are not permitted.


MORE INFORMATION

Other compilers may ignore such names that exist in the implementation space, or produce any desired behavior, and the program can still be defined as conforming.

The Microsoft C compiler does not have a strictly conforming mode of operation. As a result, if a developer uses another vendor's compiler, which is a strictly conforming implementation, the Microsoft headers will not work. In this case, the vendor of the strictly conforming compiler must provide the appropriate headers for the system.

Because the standard headers are part of the implementation, there is no requirement for the header mechanisms provided by one implementation to be interoperable with the mechanisms of another. Another implementation MUST provide its own compatible set of standard headers and their associated inclusion mechanisms.

Additional query words:

Keywords : kbLangC kbVC kbVC100 kbVC150 kbVC151 kbVC152 kbVC200 kbVC400 kbVC500 kbVC600 kbDSupport
Version : MS-DOS:7.0; WINDOWS:1.0,1.5,1.51,1.52; winnt:1.0,2.0,4.0,5.0,6.0
Platform : MS-DOS WINDOWS winnt
Issue type : kbinfo


Last Reviewed: July 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.