Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* [Q]  V2.0 cc known bug?
@ 1994-09-19 12:34 Philip Shearer @ZUO-DC EBS-Team
  1994-09-20 10:07 ` Bjorn Wennberg
  1994-09-20 15:00 ` Greg Lueck Development Environment
  0 siblings, 2 replies; 4+ messages in thread
From: Philip Shearer @ZUO-DC EBS-Team @ 1994-09-19 12:34 UTC (permalink / 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"


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-09-20 15:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-19 12:34 [Q] V2.0 cc known bug? Philip Shearer @ZUO-DC EBS-Team
1994-09-20 10:07 ` Bjorn Wennberg
1994-09-20 14:57   ` Burkhard Neidecker-Lutz
1994-09-20 15:00 ` Greg Lueck Development Environment

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