From owner-freebsd-current Sun Feb 9 20:32: 0 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1086D37B401 for ; Sun, 9 Feb 2003 20:31:59 -0800 (PST) Received: from opiate.thirteenandtwo.org (CPE0030ab0ef2bb-CM014490123332.cpe.net.cable.rogers.com [24.103.202.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48E6D43FBF for ; Sun, 9 Feb 2003 20:30:38 -0800 (PST) (envelope-from munish@opiate.thirteenandtwo.org) Received: by opiate.thirteenandtwo.org (Postfix, from userid 1001) id 77852E6; Sun, 9 Feb 2003 23:30:37 -0500 (EST) Date: Sun, 9 Feb 2003 23:30:37 -0500 From: Munish Chopra To: freebsd-current@freebsd.org Subject: Re: C conformance. Message-ID: <20030210043037.GA33669@opiate.thirteenandtwo.org> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert wrote: >Marcin Dalecki wrote: >> Trying to use a compiler different from GCC I have found the folowing >error >> >> "/usr/include/sys/syslimits.h", line 42: Error: >> [ISO 6.8]: Unknown preprocessing directive, '#warning'. >> >> I think that somthing like to above should not appear in system >> headers. > >It is an ANSI compliant preprocessor directive. Please use an ANSI >compliant compiler. I'd also be curious to know in which version of the ANSI standard you have found #warning. I certainly doesn't appear in mine. -- Munish Chopra To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message