Mark Millard
2018-05-22 00:46:57 UTC
FreeBSD-head-amd64-gcc (based on a more modern gcc) reports a
more explicit error for -r333974 and later:
--- all_subdir_usr.bin ---
/workspace/src/usr.bin/top/commands.c:132:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
scanint(str, intp)
^~~~~~~
The older gcc 4.2.1 builds report:
--- all_subdir_usr.bin/top ---
cc1: warnings being treated as errors
/usr/src/usr.bin/top/commands.c:134: warning: function declaration isn't a prototype
*** [commands.o] Error code 1
make[4]: stopped in /usr/src/usr.bin/top
1 error
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
more explicit error for -r333974 and later:
--- all_subdir_usr.bin ---
/workspace/src/usr.bin/top/commands.c:132:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
scanint(str, intp)
^~~~~~~
The older gcc 4.2.1 builds report:
--- all_subdir_usr.bin/top ---
cc1: warnings being treated as errors
/usr/src/usr.bin/top/commands.c:134: warning: function declaration isn't a prototype
*** [commands.o] Error code 1
make[4]: stopped in /usr/src/usr.bin/top
1 error
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)