From owner-freebsd-current@FreeBSD.ORG Fri Dec 26 06:19:43 2003 Return-Path: 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 9EC7116A4CE; Fri, 26 Dec 2003 06:19:43 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73B6643D1D; Fri, 26 Dec 2003 06:19:40 -0800 (PST) (envelope-from ru@FreeBSD.org.ua) Received: from phantom.cris.net (ru@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id hBQEJcl7078222; Fri, 26 Dec 2003 16:19:38 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id hBQEJc5j078217; Fri, 26 Dec 2003 16:19:38 +0200 (EET) (envelope-from ru) Date: Fri, 26 Dec 2003 16:19:37 +0200 From: Ruslan Ermilov To: current@FreeBSD.org Message-ID: <20031226141937.GA78132@FreeBSD.org.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline User-Agent: Mutt/1.5.5.1i cc: Alexander Kabaev cc: David O'Brien Subject: cpp -traditional broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2003 14:19:43 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I was wondering why my today's rebuild of XFree86-4-clients gave me the black-n-white xdm(1) greeting window, upsetting me a bit. It turned out to be a problem with recent cpp(1) version. The /usr/X11R6/lib/X11/xdm/Xresources file is generated by cpp(1); on RELENG_4, the following command echo '/**/#if FOO' | cpp -P -traditional gives you "#if FOO" (as expected by the XFree86 build), while on 5.2-CURRENT it gives you nothing, and results in missing parts of the Xresources file, i.e., the new cpp(1) treats '/**/#if' as a preprocessing directive, while the old cpp(1) version didn't. This is with system GCC 3.3.3 compiler. Is this a known issue? Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE/7EN5Ukv4P6juNwoRAo3nAJsG0aH0HQMLMF5sjiD9CaSeRHSLpwCfZR8j BB8N+sKCw6UR7GE597Kx2fQ= =4C9s -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI--