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 8351113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:31:50+00:00 2026-06-09T08:31:50+00:00

This question refers to Visual Studio C++ 2010. If I disable language extensions, even

  • 0

This question refers to Visual Studio C++ 2010. If I disable language extensions, even the simplest toy program gets an error of “unexpected end-of-file found” when I include even an empty .h file. It appears that the problem lies with the #ifndef HEADER_THING trick for not including a header twice. If I omit that, the error message goes away.

  • 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-06-09T08:31:51+00:00Added an answer on June 9, 2026 at 8:31 am

    I found it by googling. It is a bug in VC++ 2010. The workaround is to add a newline after every #endif at the end of header files.

    http://connect.microsoft.com/VisualStudio/feedback/details/728179/unexpected-unexpected-end-of-file-found-found

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

Sidebar

Related Questions

Note, this is not a duplicate of .prop() vs .attr() ; that question refers
This question refers to the IEEE standard floating point numbers used on C/x86. Is
This question refers to this one along with its accepted answer posted here on
This question refers to the question Show/hide fields depending on select value <select id=viewSelector>
Textbox refers to <input type=text> in this question. For each textbox with a given
Good Day All, I’m new to programming. I’m using Visual Studio 2010. I’m taking
This question refers to http://www.matthidinger.com/archive/2009/02/08/asp.net-mvc-recursive-treeview-helper.aspx Let's say I have a table that looks like
Is there a way to force garbage collection in VBA/Excel 2000? This question refers
This question refers to curl 7.21.4 and GNU Wget 1.13.4, I don't know if
Note: This question refers to a very old version of jQuery.validate() (version 1.5). This

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.