简体   繁体   中英

Include directory precedence in VS2010

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 and a system header.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM