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

  • SEARCH
  • Home
  • 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 895629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T14:35:22+00:00 2026-05-15T14:35:22+00:00

Intellisense in Visual Studio 2010 interprets C code as C++ and marks errors where

  • 0

Intellisense in Visual Studio 2010 interprets C code as C++ and marks errors where they don’t exist, as in:

struct my_struct *s = malloc(sizeof *s);

which is valid C, but not valid C++.

Is there any way to fix this?

  • 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-15T14:35:22+00:00Added an answer on May 15, 2026 at 2:35 pm

    It is a known bug since at least MSVC 2005. Unfortunately it has become a bigger issue in 2010 since VC now uses Intellisense to mark errors.

    See this discussion at the MSDN forums for more information. The following statement is disheartening, but I highly recommend that you add your voice to the conversation in the hopes that they may address the issue some day.

    I am just following up and let you know that we won’t fix this bug in next VS release/update.

    If this bug affects your daily productivity severely, you can open/activate this bug with connect again.

    Note that you can disable Intellisense’s error reporting in Tools → Options… → Text Editor → C/C++ → Advanced → Intellisense → Disable Error Reporting → True. Of course, this really stinks if you’re in a mixed solution or simply want to include an extern "C" header that throws Intellisense errors.

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

Sidebar

Related Questions

When editing C# code in Visual Studio 2010, the ENTER key makes IntelliSense complete
Is it possible to change the color of intellisense in Visual Studio 2010. As
IntelliSense does not work in Visual Studio 2010 if you are inside of a
I've just got the new Visual Studio 2010 Ultimate and Javascript Intellisense is not
If I write $month.find('.d-row').attr('id', 'myid'); I don't get intellisense in Visual Studio for .attr(...)
I have a pretty annoying problem with the IntelliSense in Visual Studio 2010: Every
I was delighted to see javascript intellisense in Visual studio 2010 , but I
I am using Visual Studio 2010 (c++), and Intellisense has stopped working. I've read
Basically I would like to add extend the IntelliSense of Visual Studio 2010 (C#).
Whether you are forced to code javascript in Visual Studio 2010, or insist on

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.