Intel C++ Compiler 10.1

它可以与VC6完美结合工作,同时它的与VC7一样有 Zc:forScope 选项,解决VC6深恶痛绝的变量作用域问题.

 

不必修改工程,直接打开安装目录下的icl.cfg(如果是直接安装后使用,那么应该对应的是icl6.cfg)

增加一行,参考如下

# This Configuration file may be used for additional switches

# Enable Microsoft Visual C++* 6.0 compatibility
-Qvc6

# Path to Microsoft Visual C++* 6.0 linker
-Qlocation,link,"D:devtoolVCVC6MSDEVVCBin"

# *Other names and brands may be claimed as the property of others
/Zc:forScope

 

另外,支持宏 __FUNCTION__,对调试很有帮助

 

为了方便绿色使用,安装后可以提取Licenses目录和CPP目录出来,拷入绿色版的VC.如有问题,随时可以切换成原版VC6的编译工具,不错的!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s