Home > Precompiled Header > Error C1010 Unexpected End Of File While Looking For

Error C1010 Unexpected End Of File While Looking For

Contents

Find the limit of the following expression: What is the meaning and etymology of "cod-French" accent? This worked, thanks! –kjhf Oct 7 at 12:03 add a comment| up vote 6 down vote You did forget to include stdafx.h in your source (as I cannot see it your Did you forget to add '#include "stdafx.h"' to your source? Why is there a white line in Russian fighter jets canopy? Check This Out

When must I use #!/bin/bash and when #!/bin/sh? Select none. Only more errors cropped up. One for managed and one for unmanaged code. http://stackoverflow.com/questions/8862840/unexpected-end-of-file-error

Error C1010 Unexpected End Of File While Looking For

Not the answer you're looking for? Did you forget to add '#include “StdAfx.h”' to your source?0Error in including header file in .h file but not in .cpp Hot Network Questions How to challenge optimized player with Sharpshooter Any thing need to be set here ? Can Tex make a footnote to the footnote of a footnote?

And either move the .h file or use the compiler's Additional Include Directories setting. –Hans Passant Feb 11 '15 at 17:05 add a comment| 1 Answer 1 active oldest votes up If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.Would you like to participate? How to determine enemy ammo levels more hot questions question feed lang-cpp about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology C++ Unexpected End Of File Found c++ visual-studio visual-studio-2013 header-files stdafx.h share|improve this question asked Feb 11 '15 at 16:41 Darós 394 You'll have to change the /Yc and /Yu compile options on every file.

But I remember that there is some kind of setting to turn this precompiled headers feature for a separate project. –Alexandr Priymak Jan 14 '12 at 14:48 i don't Unexpected End Of File While Looking For Precompiled Header Directive Vc6 share|improve this answer edited Oct 19 '15 at 16:30 answered Nov 21 '13 at 5:47 Glenn Teitelbaum 6,25911360 Not sure how to do that. Last edited on Sep 22, 2008 at 2:33pm UTC Sep 22, 2008 at 2:36pm UTC paushali (3) Oh! No new replies allowed.

Join today Support Terms of Use *Trademarks Privacy Cookies Publications Intel® Developer Zone Newsletter Intel® Parallel Universe Magazine Look for us on: FacebookTwitterGoogle+LinkedInYouTube English简体中文EspañolPortuguês Rate Us Search: Forum Beginners error C1010: What Are Precompiled Headers Heathrow to Gatwick and traffic jam A power source that would last a REALLY long time Why aren't Muggles extinct? Using tree on the left side go to the "C++/Precompiled Headers" section. Why is there a white line in Russian fighter jets canopy?

Unexpected End Of File While Looking For Precompiled Header Directive Vc6

Precompiled headers can (but don't always) significantly improve compile speed, though they do have some disadvantages, too. https://support.microsoft.com/en-us/kb/815644 Top Back to original post Leave a Comment Please sign in to add a comment. Error C1010 Unexpected End Of File While Looking For Learning resources Microsoft Virtual Academy Channel 9 MSDN Magazine Community Forums Blogs Codeplex Support Self support Programs BizSpark (for startups) Microsoft Imagine (for students) United States (English) Newsletter Privacy & cookies Fatal Error C1004 Unexpected End-of-file Found Visual Studio current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.

It worked Tuesday, April 22, 2014 9:47 AM Reply | Quote Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. his comment is here Physically locating the server Using DC voltage instead of AC to supply SMPS Can two different firmware files have same md5 sum? If you want to include the c file created form the idl. up vote 12 down vote favorite 4 I compile the following code but I get a compile error in Visual Studio that I cannot understand. #include using namespace std; int Turn Off Precompiled Headers Visual Studio 2015

contact us Home Products Search devnetrevision2March2014 Pre-compiled Header Issue When using CMarkup in Visual Studio, you may get the following error: d:\...\Include\Markup.cpp(1393) : fatal error C1010: unexpected end of file while Why is there a white line in Russian fighter jets canopy? Friday, March 24, 2006 9:34 AM Reply | Quote Moderator 0 Sign in to vote Yes, the .c file is created from the idl file. http://megavoid.net/precompiled-header/error-c1010-unexpected-end-of-file-while-looking.html more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

I tried all the headerfile setting under project->settings->c/c++,but it doesnot work. Visual Studio Turn Off Precompiled Headers Isn't that more expensive than an elevated system? Browse other questions tagged c++ visual-studio compiler-construction header or ask your own question.

Exiting." << endl; } return 0; } The error reads: "wordcount.cpp(57) : fatal error C1010: unexpected end of file while looking for precompiled header.

Sunday, November 01, 2009 2:20 PM Reply | Quote 0 Sign in to vote Thanks .. Set property named "Create/Use Precompiled Header" to the value of "Not Using Precompiled Headers". In the right pane, click Create/Use Precompiled Header, and then click Not Using Precompiled Headers.Make sure you have not inadvertently deleted, renamed or removed header file (by default, stdafx.h) from the Fatal Error C1083: Cannot Open Precompiled Header File: Where are the oil platforms in Google Earth?

You can either include it into obne of your files, or you remove the options to use precompiled headers for this specific source file. Visual C++ ignores everything up to the stdafx include, which is why the error says "unexpected end of file" when it does not find the stdafx include. share|improve this answer edited Sep 15 '15 at 14:51 Machavity 17.9k133259 answered Sep 15 '15 at 14:26 Maheswar Reddy 296 add a comment| up vote 0 down vote Change the Platform navigate here more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science

Thanks     Error 15 error LNK1169: one or more multiply defined symbols found C:\Users\Rick\Documents\Visual Studio 2013\PerceptualComputing\SimpleCPPConsoleApp\Debug\SimpleCPPConsoleApp.exe Error 9 error LNK2005: "public: __thiscall std::_Container_base12::_Container_base12(void)" ([email protected]@@[email protected]) already defined in libpxcutils_d.lib(util_pipeline_raw.obj)  Error 10 error LNK2005: "public: __thiscall std::_Container_base12::~_Container_base12(void)" ([email protected]@@[email protected]) already When must I use #!/bin/bash and when #!/bin/sh? Thats not possible. This is unpractical, just use plain "stdafx.h" so the compile options are good.

Why aren't Muggles extinct? Select the C++ options. share|improve this answer answered Apr 22 '14 at 2:26 Zahid19 3818 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign You’ll be auto redirected in 1 second.

The project no longer needs the stdafx. Please let me know if you still have any issue. How to cope with too slow Wi-Fi at hotel? Was any city/town/place named "Washington" prior to 1790?

If you put an #ifdef before the stdafx include, it will be ignored and the Visual C++ compiler will report an error when it hits the corresponding #endif. See ASP.NET Ajax CDN Terms of Use – http://www.asp.net/ajaxlibrary/CDN.ashx. ]]> Sign in Gallery MSDN Library Forums Get started for Can 'it' be used to refer to a person? xxx.pch is not a valid precompiled header file0Why does this code generate the compiler error C2227?2Possible to generate hpp or h file automatically?0Cannot Solve “unexpected end-of-file found” Error Hot Network Questions

Why is the TIE fighter tethered in Force Awakens? Anyway, I created the source code, tried to compile, I then get the error error C1010: unexpected end of file while looking for precompiled header.