diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-04-14 12:48:27 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-04-15 21:17:56 +0200 |
commit | 9168e2470d5203661faa5500361b7eb493aa24dd (patch) | |
tree | dc87ff09ad9ddab8918ade5c8ee385b072976a08 /lib/file.c | |
parent | e50e2850ba273259081722946ea9bd84bcaa6709 (diff) |
curl-compilers.m4: turn implicit function declarations into errors
This adds -Werror-implicit-function-declaration for GCC 2.95+ so that
these errors are visible at the point where they occur instead of only
at link time.
Implicit function declarations are illegal in C99 and C++ anyway, and
the same warning has been turned into an error for ICC in commit
3072c5b8a127057aa922b7c51051bbb4a630b091.
Ref: https://gcc.gnu.org/onlinedocs/gcc-2.95.2/gcc_2.html#SEC8
Ref: https://curl.haxx.se/mail/lib-2017-04/0001.html
Closes https://github.com/curl/curl/pull/1419
Diffstat (limited to 'lib/file.c')
0 files changed, 0 insertions, 0 deletions