From mboxrd@z Thu Jan 1 00:00:00 1970 From: mjn3@codepoet.org (Manuel Novoa III) Subject: Re: More dev86 changes (0.16.7) Date: Sat, 10 Aug 2002 13:36:01 -0600 Sender: linux-8086-owner@vger.kernel.org Message-ID: <20020810193601.GA11440@codepoet.org> References: Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Robert de Bath Cc: Linux-8086 Hello Robert, Sorry it took so long to do some testing, but I've been swamped. Tried to build some of my uClibc stuff and found a bug with the new cpp that is illustrated with the following test case. test.c: #define X (1UL) #if X == 0 #error this shouldn't happen #endif With the new cpp, what shouldn't happen... does. Here's the output for "ncc -ansi -E test.c". test.c:3: warning: Unexpected text following preprocessor command test.c:5: error: #error this shouldn't happen # 1 "test.c" Output without -ansi is: # 1 "test.c" test.c:3: warning: Unexpected text following preprocessor command test.c:5: error: #error this shouldn't happen Also, with the old cpp one could use "-I" to not include the default include dirs. This feature seems to be lacking in the new version. Manuel