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