Gawk 2.13 problems

Previous thread: FAQ by Michael Kraehe on Wednesday, February 12, 1992 - 4:09 pm. (1 message)

Next thread: DOS and LINUX cohabitating on the same Disc? by Howard Honig on Wednesday, February 12, 1992 - 7:51 pm. (1 message)
Date: Wednesday, February 12, 1992 - 6:32 pm

I am trying to compile original gawk-2.13 source. I created my own
config file which has BLKSIZE_MISSING, RANDOM_MISSING, and STDC_HEADERS.
Everything compiles without warnings except some complaints about
assigning const char *'s to char *'s, and the lack of a prototype for
popen() (I supplied the missing prototype, but why is it
missing anyway?). When I tested the executable with some trivial stuff
it seems to work, but all the test programs that come with the gnu
distribution fail. In particular, when awf formats text it comes out
without any control characters, and the rand() builtin always returns 0.
What am I missing? Are there different warning levels with gcc? If I
turn up the warning level will I be overwhelmed with pages of warnings?

mark

Previous thread: FAQ by Michael Kraehe on Wednesday, February 12, 1992 - 4:09 pm. (1 message)

Next thread: DOS and LINUX cohabitating on the same Disc? by Howard Honig on Wednesday, February 12, 1992 - 7:51 pm. (1 message)