Using VC6, all at once I've started to get C1010 errors for each of the 5 C
files mixed in with my many C++ files. The errors say:

"unexpected end of file while looking for precompiled header directive"

What is a precompiled header directive, and what might I have done to start
getting these messages?
(The explanation given in the MSDN library didn't help much.)

Thanks,
E-Jo

Re: C1010 looking for precompiled header by David

David
Mon May 10 10:01:41 CDT 2004

>Using VC6, all at once I've started to get C1010 errors for each of the 5 C
>files mixed in with my many C++ files. The errors say:
>
>"unexpected end of file while looking for precompiled header directive"
>
>What is a precompiled header directive, and what might I have done to start
>getting these messages?

Presumably your 'C' source files don't #include "stdafx.h"?

The solution is to change your project settings for those 'C' source
modules so that they're not built with the precompiled option.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq

Re: C1010 looking for precompiled header by Everett

Everett
Mon May 10 11:32:50 CDT 2004

Well, is that something I can do for the C files without doing it for C++
files too (which do include the stdafx.h)?

Thanks, Dave
E-Jo

"David Lowndes" <davidl@example.invalid> wrote in message
news:h76v90tciq6c5o8plirt64vbl1kbovbv48@4ax.com...
> >Using VC6, all at once I've started to get C1010 errors for each of the 5
C
> >files mixed in with my many C++ files. The errors say:
> >
> >"unexpected end of file while looking for precompiled header directive"
> >
> >What is a precompiled header directive, and what might I have done to
start
> >getting these messages?
>
> Presumably your 'C' source files don't #include "stdafx.h"?
>
> The solution is to change your project settings for those 'C' source
> modules so that they're not built with the precompiled option.
>
> Dave
> --
> MVP VC++ FAQ: http://www.mvps.org/vcfaq



Re: C1010 looking for precompiled header by David

David
Mon May 10 11:46:19 CDT 2004

>Well, is that something I can do for the C files without doing it for C++
>files too (which do include the stdafx.h)?

Yes, select the individual files (rather than the project) and change
the compiler setting just for those.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq