Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: pbs@zuunix.zuo.dec.com (Philip Shearer @ZUO-DC EBS-Team)
Subject: [Q]  V2.0 cc known bug?
Date: 19 Sep 1994 12:34:11 GMT	[thread overview]
Message-ID: <35k0g3$c54@mrnews.mro.dec.com> (raw)

uname -a
OSF1 xxxxxx.xxx.dec.com V2.0 240 alpha
(also on)
OSF1 xxxxxx.xxx.dec.com V2.1 250 alpha

I made a mistake in a piece of code but because of typedefs etc it was
difficult to spot. 

The trouble was that I had missed out a "*" (in front of the harry in
the examle below). When trying to compile this piece of code, the 
compiler never returns, (using trace cc forks a child and waits for the
child to return, but the child does not). 

Is this a known bug and is there a work around (setting switches etc)?

/*-----------------------X Cut X-----------------------------------*/
int fred1 =  1 ;

void harry[] =             /* should have been "void *harry[] =" */
{
    &fred1
} ;

int main(void)
{
	return 0 ;
}
/*-----------------------X Cut X-----------------------------------*/


--
Regards Philip Shearer

Disclaimer: Please note that the above is a personal view and should
not be construed as an official comment from DEC.

`Then there's no reason why you should know anything about Colonel Jacob
Ruppert High School in the Bronx. At Ruppert we use comparative terms,
but OUTSTANDING isn't one of them. The range runs more from cooperative
to life-threatening' 

Tom Wolf in "The Bonfire of the Vanities"


             reply	other threads:[~1994-09-19 12:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-19 12:34 Philip Shearer @ZUO-DC EBS-Team [this message]
1994-09-20 10:07 ` [Q] V2.0 cc known bug? Bjorn Wennberg
1994-09-20 14:57   ` Burkhard Neidecker-Lutz
1994-09-20 15:00 ` Greg Lueck Development Environment
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox