Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 1999 22:39:35 -0600 (MDT)
From:      Lyndon Nerenberg <lyndon@orthanc.ab.ca>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/12232: CPP noise compiling make.
Message-ID:  <199906160439.WAA07004@orthanc.ab.ca>

next in thread | raw e-mail | index | archive | help

>Number:         12232
>Category:       bin
>Synopsis:       Dangling text on #endif causes cpp noise.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 21:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Lyndon Nerenberg
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
The Frobozz Magic Homing Pigeon Company
>Environment:

>Description:

Three lines in usr.bin/make/sprite.h look like

	#endif FOO

which can cause cpp to grumble.

>How-To-Repeat:

Build make on an Irix box :-)

>Fix:

===================================================================
RCS file: /usr/src/usr.bin/make/sprite.h,v
retrieving revision 1.1
diff -c2 -r1.1 /usr/src/usr.bin/make/sprite.h
*** /usr/src/usr.bin/make/sprite.h	1999/06/16 04:30:46	1.1
--- /usr/src/usr.bin/make/sprite.h	1999/06/16 04:31:31
***************
*** 58,65 ****
  #ifndef TRUE
  #define TRUE	1
! #endif TRUE
  #ifndef FALSE
  #define FALSE	0
! #endif FALSE
  
  /*
--- 58,65 ----
  #ifndef TRUE
  #define TRUE	1
! #endif /* TRUE */
  #ifndef FALSE
  #define FALSE	0
! #endif /* FALSE */
  
  /*
***************
*** 92,96 ****
  #ifndef NULL
  #define NULL	 	0
! #endif NULL
  
  /*
--- 92,96 ----
  #ifndef NULL
  #define NULL	 	0
! #endif /* NULL */
  
  /*

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906160439.WAA07004>