[comp.sys.apollo] SysV SR10.1 /usr/lib/cpp -bug

brock@tuvie (Inst.f.Prakt.Info 1802) (03/22/89)

The original code was from Li's GNU GO of rec.games.go 
/*-->-O---O-<--cut-->-O---O-<--cut-->-O---O-<--cut-->-O---O-<--*/
#include <stdio.h>
main()
{
	printf("\nTo count score, we need the following steps:\n");
	printf("\nFirst, you should enter the dead pieces (blank and white) to");
	printf(" be removed.  Enter\n");
	printf(" 'stop' when you have finished.\n");
	printf("d p");
} 
/*-->-O---O-<--cut-->-O---O-<--cut-->-O---O-<--cut-->-O---O-<--*/

U$ cc b.c
 (0008) 	printf("d
******** Line 8 of "b.c": [Error #003]  Unterminated character string.
 (0010) p");
This is due to an error in /usr/lib/cpp. /com/cc works correctly.
- Is there a way to work around this bug?
- Is there already a new release of cpp?
Thanks a lot
Ulrich Neumerkel
Please send e-mail to ulrich@vip.uucp  (...!mcvax!tuvie!vip!ulrich)

dvadura@watdragon.waterloo.edu (Dennis Vadura) (03/23/89)

In article <669@tuvie> brock@tuvie (Inst.f.Prakt.Info 1802) writes:
>This is due to an error in /usr/lib/cpp. /com/cc works correctly.
>- Is there a way to work around this bug?
>- Is there already a new release of cpp?
GNU cpp works just great!  I have replaced Apollo cpp on my box
with GNU cpp, with the appropriate macros predefined, and no more
headaches.

-dennis
-- 
--------------------------------------------------------------------------------
Charm oozed out his pores,             |Dennis  UUCP,BITNET:    dvadura@water
As he oiled his way around the floor.  |Vadura  EDU,CDN,CSNET:  dvadura@waterloo
================================================================================

nazgul@apollo.COM (Kee Hinckley) (03/24/89)

In article <669@tuvie> brock@tuvie (Inst.f.Prakt.Info 1802) writes:
>This is due to an error in /usr/lib/cpp. /com/cc works correctly.
>- Is there a way to work around this bug?
>- Is there already a new release of cpp?

Can you give more information (what OS release for instance).
I can't reproduce this at SR10.1, and I have trouble envisioning
a cpp that would work at all and still have that bug.

					-kee
-- 
### User Environment, Apollo Computer Inc. ###  Public Access ProLine BBS   ###
### {mit-erl,yale,uw-beaver}!apollo!nazgul ###  nazgul@pro-angmar.cts.com   ###
###           nazgul@apollo.com            ### (617) 641-3722 300/1200/2400 ###
I'm not sure which upsets me more; that people are so unwilling to accept       responsibility for their own actions, or that they are so eager to regulate     everyone else's.

syd@dsinc.UUCP (Syd Weinstein) (03/24/89)

In article <4233ba9d.1b147@apollo.COM> nazgul@apollo.COM (Kee Hinckley) writes:
>In article <669@tuvie> brock@tuvie (Inst.f.Prakt.Info 1802) writes:
>>This is due to an error in /usr/lib/cpp. /com/cc works correctly.
>>- Is there a way to work around this bug?
>>- Is there already a new release of cpp?
>
>Can you give more information (what OS release for instance).
>I can't reproduce this at SR10.1, and I have trouble envisioning
>a cpp that would work at all and still have that bug.
Not only is it there, it's a know bug and there is already a patch
tape for it.  I got the tape over a month ago.  Why you cannot
reproduce it is that he left out one key item, he's running Sys5.3
and you are running BSD.  It's only the Sys5.3 cpp thats broke.

Call the hotline and ask for the patch tape for the Sys 5.3 cpp.
I got mine the next day.

-- 
=====================================================================
Sydney S. Weinstein, CDP, CCP                   Elm Coordinator
Datacomp Systems, Inc.				Voice: (215) 947-9900
{allegra,bpa,vu-vlsi}!dsinc!syd	                FAX:   (215) 938-0235