From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14628 invoked by alias); 12 Aug 2002 18:13:07 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14617 invoked from network); 12 Aug 2002 18:13:04 -0000 Received: from unknown (HELO smtp7.andrew.cmu.edu) (128.2.10.87) by sources.redhat.com with SMTP; 12 Aug 2002 18:13:04 -0000 Received: from UNIX4.andrew.cmu.edu (UNIX4.andrew.cmu.edu [128.2.11.204]) (user=jknupp mech=KERBEROS_V4 (0 bits)) by smtp7.andrew.cmu.edu (8.12.3.Beta2/8.12.3.Beta2) with ESMTP id g7CID2Sl025170 for ; Mon, 12 Aug 2002 14:13:02 -0400 Date: Mon, 12 Aug 2002 11:13:00 -0000 From: Jeffrey C Knupp To: gcc-help@gcc.gnu.org Subject: cpp Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-08/txt/msg00094.txt.bz2 To whoever sees this, I'm a student at Carnegie Mellon University and I've been using the preprocessor, cpp, from gcc-3.1. I was wondering if and why when a previously undefined identifier in an #if is used, there is no warning given. For example, if the first line of my program is "#if Y" and Y has not been defined, it will not execute the code (obviously), but it also won't tell me that the identifier wasn't defined. I was wondering if this was done for a reason. Hopefully, someone can give me an answer. Thanks, Jeff Knupp Carnegie Mellon University