Re: Compiling with an updated headerfile



"Steve" <Steve@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:31BA8648-AE4A-4A36-8032-7E020EDB4733@xxxxxxxxxxxxxxxx
Visual Studio 2003 is acting stubborn. Again. I have updated a header
file
containing my #define'd list of string ID constants and Visual Studio
refuses
to compile one of my C++ files with those changes. I modify this file on
nearly a daily basis so it's really p****** me off that the compiler
refuses
to pick up my changes. I have deleted my ncb and suo files because those
files tend to be the cause of many problems, and I have selected that file
for compilation over and over again. I added an error to this header and
the
compiler just isn't picking up on it.

Most of the time, when things in header files seem to be ignored it is due
to bad usage of precompiled headers. If you have the precompiled header
option enabled, I'd disable it and retry your compilation.

If it doesn't work, as Emily Litella used to say "nevermind".

If it does, you may need to review the docs for the feature here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vclrfYPrecompiledHeaders.asp

Regards,
Will



.



Relevant Pages

  • Re: vc++ mfc project build is extremely slow taking hours
    ... How sophisticated are the "third party" libraries. ... in slower compilation, but not an hour. ... Are you using precompiled headers? ...
    (microsoft.public.vc.mfc)
  • Re: Visual Studio 2003 - 138MB precompiled header - long compilation time.
    ... I know what precompiled headers are, ... is difficult to say what causes the slowdown. ... then PCH can slowdown overall process due to ... Compilation is made on Visual Studio 2003 with SP1 (without ...
    (microsoft.public.vc.ide_general)
  • Re: Pls--Need help with Hellow World! with MS Visual C++ 6.0
    ... I'ld suggest disabling precompiled headers in the project settings ... altogether. ... Precompiled headers can speed up compilation times of even small projects by ...
    (microsoft.public.vc.language)
  • Re: A Stupid Compilation err
    ... How to fix it: ... For faster compilation, VC++ provides precompiled headers. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Install Issues With Perl DBD For Informix
    ... Perl and GCC by default use 32-bit, and we haven't worked out how to turn on a 64-bit compilation. ... You might also remember that one of the very first things we did was modify the esql script to remove flags peculiar to the HP C compiler. ... You might think it worthwhile to make a copy of the esql script in $INFORMIXDIR/bin, and then edit the file there, instead of making a copy in DBD::Informix's build directory. ...
    (perl.dbi.users)