This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Migrating from Dev-C++ to mVC++ 6.0


Migrating from Dev-C++ to mVC++ 6.0

Postby Alexander » Jul 10, 2003 @ 4:55am

I brought all the correct files over into a new project, and it did not compile. It said:


c:\documents and settings\alex apostol\my documents\c and c++\print\calculator\divider.cpp(53) : fatal error C1010: unexpected end of file while looking for precompiled header directive
main.cpp


The bold part is the important part, the compiler already knows where my files are. I do not understand what they mean. I am very sorry for bugging the dev forum lately, but I am just having a hard time learning C/C++ (mostly due to compiler problems).
This is the real Alex.
Alexander
Welcome to BANNED
 
Posts: 1296
Joined: Jul 5, 2003 @ 10:56pm


Postby Conan » Jul 10, 2003 @ 7:37am

What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby Dan East » Jul 10, 2003 @ 12:41pm

Go into Project->Settings... and for each source file with that error, go into the C / C++ tab, Precompiled Headers category, and select Not using precompiled headers.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Alexander » Jul 10, 2003 @ 1:02pm

Thank you both very much. I have fixed it by disabling the precompiled headers, just like Mr. East said.
This is the real Alex.
Alexander
Welcome to BANNED
 
Posts: 1296
Joined: Jul 5, 2003 @ 10:56pm


Postby fzammetti » Jul 10, 2003 @ 8:11pm

Dan, I'm just curious, as I've of course like everyone gotten the unexpected end of file error plenty of times because I didn't close a code block... why does the precompiled headers option cause this problem though?
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Dan East » Jul 10, 2003 @ 9:47pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum