[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decc

Title:DECC
Notice:General DEC C discussions
Moderator:TLE::D_SMITHNTE
Created:Fri Nov 13 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2212
Total number of notes:11045

2153.0. "#include"x.h> chokes system" by AOSF1::kras (Cyber-Shredder) Tue Apr 15 1997 15:54

Compiling this on my system caused all sorts of havoc:

/* Note the nasty include with mismatched paren/bracket */
#include<stdio.h>
#include"t.h>
main()
{
 printf("Hello World!\n");
}


# /usr/lib/cmplrs/cc/gemc_cc -V
DEC C V5.2-033 on Digital UNIX V4.0 (Rev. 564)
#

To spare you the trouble, the compile sucked every bit of resources from
the system until I ran out of swap (I had it set up for lazy, but I think
you'll have the same problem with eager eval.)

T.RTitleUserPersonal
Name
DateLines
2153.1Real problem...DECC::SULLIVANJeff SullivanTue Apr 15 1997 16:398
I was able to reproduce this with the latest development compiler. Yes, it
really did bog down my system too.

I've reported it to our preprocessor expert.

Thanks for reporting it.

-Jeff
2153.2fixed in next releaseDECC::PARKSTue Apr 15 1997 17:519
Sorry about that.  

We're testing the fix right now.  We'll check the new code
into our mainline sources after the test results come back,
most likely tomorrow morning.

Thanks for the report.

\John