kevin@kosman.UUCP (Kevin O'Gorman) (01/17/90)
I am trying to make PERL 3.0 to patchlevel 8 (I already have pl6). Suddenly things don't work, and I wonder if anyone can shed light on this. I'm running a 3b1 with the 3.51 OS, using gcc 1.36 compiler. I do gcc -fpcc-struct-return -c toke.c (because -O runs me out of memory) and I get > toke.c: In function yylex: > toke.c:186: `yylval' undeclared (first use this function) > toke.c:186: (Each undeclared identifier is reported only once > toke.c:186: for each function it appears in.) > toke.c: In function scanpat: > toke.c:1316: `yylval' undeclared (first use this function) > toke.c: In function scansubst: > toke.c:1424: `yylval' undeclared (first use this function) > toke.c: In function scantrans: > toke.c:1603: `yylval' undeclared (first use this function) > toke.c: In function scanstr: > toke.c:1651: `yylval' undeclared (first use this function) This is bad news: yylval is a structure, and having it undeclared is bound to be a problem. I tried the stock cc on this system, and things were even worse. What happened???? -- Kevin O'Gorman ( kevin@kosman.UUCP, kevin%kosman.uucp@nrc.com ) voice: 805-984-8042 Vital Computer Systems, 5115 Beachcomber, Oxnard, CA 93035 Non-Disclaimer: my boss is me, and he stands behind everything I say.