Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4597896
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:19:20+00:00 2026-05-21T23:19:20+00:00

I recently switched to Visual Studio 2010 and for Intellisense not to take half

  • 0

I recently switched to Visual Studio 2010 and for Intellisense not to take half a minute to show up when using boost libraries, Microsoft’s suggestion seems to use precompiled headers.

Except that I never used them before (except when forced to by Ugly ATL Wizards (TM)), so I searched around to figure out how they work.

Basically, the Big Centralized stdafx.h approach seems plain wrong. I never want to include (even cheaply) a whole bunch of header files in all my sources. Since I don’t use windows libraries (I make C++/CLI higher level wrappers, then use .NET for talking to the outside world), I don’t have “a whole truckload of non-changing enormous headers”. Just boost and standard library headers scattered around.

There is an interesting approach to this problem, but I can’t quite figure out how to make this work. It seems that each source file must be compiled twice (please correct me if I’m wrong): once with /Yc and once with /Yu. This adds burden on the developper which must manually tweak the build system.

I was hoping to find some “automatically generate one precompiled header for each source file” trick, or at least some “best practices”, but most people seem happy with including the world into stdafx.h.

What are the options available to me to use precompiled headers on a per source file basis ? I don’t really care about build times (as long as they don’t skyrocket), I just want intellisense to work fast.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:19:21+00:00Added an answer on May 21, 2026 at 11:19 pm

    Your problem basically seems to be that Intellisense is slow for Boost in VS2010? I don’t have a direct solution for this problem, but could Visual Assist X be an option for you? I have used it in various versions of Visual Studio now and with great pleasure. Not a direct solution, but it might work for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We just recently switched from Visual Studio 2008 to Visual Studio 2010. I have
I recently switched to Linux and wanted to compile my Visual Studio 2010 C++
I've recently switched from Visual Studio 2010 to Visual Studio 2012. The project I'm
I just recently switched from Visual C++ 2010 Express to Visual Studio 2012 Express
Recently, I switched from Visual Studio to Eclipse CDT. I've set it up beautifully
I recently switched over to C# from vb.NET and within visual studio found that
I am using Git alone for my local software project in Visual Studio 2010.
I recently switched from using Linq to Sql to the Entity Framework. One of
I've recently switched my app over to Rails 3.1 and began using the asset
I recently switched from using NSTimer to CVDisplayLink to redraw my OpenGL animation, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.