Re: Interesting #define #ifdef behavior
- From: "Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp>
- Date: Thu, 06 Apr 2006 08:43:02 -0400
David wrote:
I found a module that simply refuses to process certain
#defines
and even #pragma message statements early in the source file. I'd like to
know
what problem I've run into and what the proper resolution needs to be.
When using the precompiled header feature everything before the
#include "stdafx.h"
is ignored. That line tells the compiler to restore the state it saved when precompiling. It must be the first (noncomment) line in the file.
--
Scott McPhillips [VC++ MVP]
.
- Follow-Ups:
- Re: Interesting #define #ifdef behavior
- From: Jason Doucette
- Re: Interesting #define #ifdef behavior
- References:
- Interesting #define #ifdef behavior
- From: David
- Interesting #define #ifdef behavior
- Prev by Date: Interesting #define #ifdef behavior
- Next by Date: Re: Template and VS 2005
- Previous by thread: Interesting #define #ifdef behavior
- Next by thread: Re: Interesting #define #ifdef behavior
- Index(es):
Relevant Pages
|