From lyndon@orthanc.ab.ca  Fri Aug 18 13:15:17 2000
Return-Path: <lyndon@orthanc.ab.ca>
Received: from orthanc.ab.ca (207-167-15-66.dsl.worldgate.ca [207.167.15.66])
	by hub.freebsd.org (Postfix) with ESMTP id 50DDB37B423
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Aug 2000 13:15:17 -0700 (PDT)
Received: (from lyndon@localhost)
	by orthanc.ab.ca (8.11.0.Beta3/8.11.0.Beta3) id e7IKFFR28900;
	Fri, 18 Aug 2000 14:15:15 -0600 (MDT)
Message-Id: <200008182015.e7IKFFR28900@orthanc.ab.ca>
Date: Fri, 18 Aug 2000 14:15:15 -0600 (MDT)
From: Lyndon Nerenberg <lyndon@orthanc.ab.ca>
Reply-To: lyndon@orthanc.ab.ca
To: FreeBSD-gnats-submit@freebsd.org
Subject: /usr/libexec/cpp doesn't support -undef flag
X-Send-Pr-Version: 3.2

>Number:         20707
>Category:       gnu
>Synopsis:       /usr/libexec/cpp doesn't support -undef flag
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 18 13:20:00 PDT 2000
>Closed-Date:    Fri Nov 10 10:02:53 PST 2000
>Last-Modified:  Fri Nov 10 10:17:28 PST 2000
>Originator:     Lyndon Nerenberg
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
The Frobozz Magic Homing Pigeon Company
>Environment:

4-STABLE as of August 18th.

>Description:

/usr/libexec/cpp doesn't support the -undef flag, although --help
documents it. (As does the cpp(1) manpage, although it's unclear
if cpp(1) is meant to apply to /usr/libexec/cpp as well as the
one in /usr/bin.)

lcc (/usr/ports/lang/lcc) invokes /usr/libexec/cpp with -undef, and
thus breaks when /usr/libexec/cpp barfs about the unrecognized option.

>How-To-Repeat:

Install lcc from ports, then try to compile something.

>Fix:

Re-enable -undef for the cpp in /usr/libexec.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->obrien 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Mon Aug 21 05:21:04 PDT 2000 
Responsible-Changed-Why:  
Over to the maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20707 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Fri Nov 10 10:02:53 PST 2000 
State-Changed-Why:  
-undef is not needed with the new libexec/cpp designed just for compiler's 
use.  Fix committed to the lcc port. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20707 
>Unformatted:
