中国开发网: 论坛: 程序员情感CBD: 贴子 137178
pigprince: (Command-line switches: -VF)
(Command-line switches: -VF)

Turn this option on to compile code that is compatible with the Microsoft foundation classes (MFC). Among other things, the compiler makes the following adjustments to be compatible with MFC:

Accepts spurious semicolons in a class scope
Allows anonymous structs
Uses the old-style scoping resolution in for loops
Allows methods to be declared with a calling convention, but leaves off the calling convention in the definition
Tries the operator new if it cannot resolve a call to the operator new[燷
Lets you omit the operator & on member functions
Allows a const class that is passed by value to be treated as a trivial conversion, not as a user conversion

Allows you to use a cast to a member pointer as a selector for overload resolution, even if the qualifying type of the member pointer is not derived from the class in which the member function is declared
Accepts declarations with duplicate storage in a class, as in

extern "C" typedef

Accepts and ignores #pragma comment(linker, "...") directives

Note: The -VF option is not compatible with ?A.

Setting the -VF option implies that the 朧d switch (old style scoping in for loops) is on. If you turn on the 朧F switch, you do not need to turn on ?Vd.

Default = OFF
欢迎访问新版:我读书我存在

www.freecoder.org/~phil

我爱大锁头啊!我爱大锁头!!!!

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录