开发者

Include directory precedence in VS2010

开发者 https://www.devze.com 2023-01-08 15:30 出处:网络
Just installed VS2010 on Windows 7 and am having an issue with include directories while attempting to compile existing C code.VS2010 appears to search the project directory first for include files re

Just installed VS2010 on Windows 7 and am having an issue with include directories while attempting to compile existing C code. VS2010 appears to search the project directory first for include files regardless whether the <file.h> or "file.h" include format is used. Is there a way to force a different ordering for system include files (<file.h>)? The issue arises because I have name collision between an application header 开发者_Go百科and a system header.


You will have to edit project properties. Check the changes in vs2010 here.

0

精彩评论

暂无评论...
验证码 换一张
取 消