When I set additional compiler options for a project in Visual Studio 2008, they propagate to all files. If I then set开发者_开发知识库 additional options for a specific file, they are added to the project's command line and additional options. How can I compile an individual file without the project-wide options?
It looks like your problem is that there's no way to negate /callcap for the one source file where you don't want it. Ugly as it is, you could always place that one source file into a separate static library.
精彩评论