Menu

#82 recent git build warnings

closed
nobody
None
2022-08-07
2018-10-21
No

Today's build on Gentoo GNU/Linux (with GCC-7.3.0-r3) showed the following warnings:

* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
* ./conflib.h:70:8: warning: implicit declaration of function ‘wait’; did you mean ‘write’? [-Wimplicit-function-declaration]
* ./conflib.h:100:10: warning: implicit declaration of function ‘creat’; did you mean ‘pread’? [-Wimplicit-function-declaration]
* ./conflib.h:70:8: warning: implicit declaration of function ‘wait’; did you mean ‘write’? [-Wimplicit-function-declaration]
* ./conflib.h:100:10: warning: implicit declaration of function ‘creat’; did you mean ‘pread’? [-Wimplicit-function-declaration]
* string/strmatch.c:107:20: warning: implicit declaration of function ‘iswalnum’ [-Wimplicit-function-declaration]
* string/strmatch.c:109:20: warning: implicit declaration of function ‘iswalpha’ [-Wimplicit-function-declaration]
* string/strmatch.c:113:20: warning: implicit declaration of function ‘iswblank’ [-Wimplicit-function-declaration]
* string/strmatch.c:111:20: warning: implicit declaration of function ‘iswcntrl’ [-Wimplicit-function-declaration]
* string/strmatch.c:115:20: warning: implicit declaration of function ‘iswdigit’ [-Wimplicit-function-declaration]
* string/strmatch.c:117:20: warning: implicit declaration of function ‘iswgraph’ [-Wimplicit-function-declaration]
* string/strmatch.c:119:20: warning: implicit declaration of function ‘iswlower’ [-Wimplicit-function-declaration]
* string/strmatch.c:121:20: warning: implicit declaration of function ‘iswprint’ [-Wimplicit-function-declaration]
* string/strmatch.c:123:20: warning: implicit declaration of function ‘iswpunct’ [-Wimplicit-function-declaration]
* string/strmatch.c:125:20: warning: implicit declaration of function ‘iswspace’ [-Wimplicit-function-declaration]
* string/strmatch.c:127:20: warning: implicit declaration of function ‘iswupper’ [-Wimplicit-function-declaration]
* string/strmatch.c:129:21: warning: implicit declaration of function ‘iswxdigit’ [-Wimplicit-function-declaration]
* string/strmatch.c:546:11: warning: implicit declaration of function ‘iswctype’; did you mean ‘isctype’? [-Wimplicit-function-declaration]
* string/strmatch.c:546:24: warning: implicit declaration of function ‘wctype’; did you mean ‘wcpcpy’? [-Wimplicit-function-declaration]
* misc/optget.c:149:6: warning: implicit declaration of function ‘_optget’; did you mean ‘optget’? [-Wimplicit-function-declaration]
* port/astwinsize.c:189:9: warning: implicit declaration of function ‘ioctl’; did you mean ‘ttctl’? [-Wimplicit-function-declaration]
* cmdinit.c:99:11: warning: implicit declaration of function ‘strrchr’ [-Wimplicit-function-declaration]
* cmdinit.c:99:11: warning: incompatible implicit declaration of built-in function ‘strrchr’
* ./conflib.h:70:8: warning: implicit declaration of function ‘wait’; did you mean ‘write’? [-Wimplicit-function-declaration]
* ./conflib.h:100:10: warning: implicit declaration of function ‘creat’; did you mean ‘pread’? [-Wimplicit-function-declaration]
* ./conflib.h:70:8: warning: implicit declaration of function ‘wait’; did you mean ‘write’? [-Wimplicit-function-declaration]
* ./conflib.h:100:10: warning: implicit declaration of function ‘creat’; did you mean ‘pread’? [-Wimplicit-function-declaration]
* string/strmatch.c:107:20: warning: implicit declaration of function ‘iswalnum’ [-Wimplicit-function-declaration]
* string/strmatch.c:109:20: warning: implicit declaration of function ‘iswalpha’ [-Wimplicit-function-declaration]
* string/strmatch.c:113:20: warning: implicit declaration of function ‘iswblank’ [-Wimplicit-function-declaration]
* string/strmatch.c:111:20: warning: implicit declaration of function ‘iswcntrl’ [-Wimplicit-function-declaration]
* string/strmatch.c:115:20: warning: implicit declaration of function ‘iswdigit’ [-Wimplicit-function-declaration]
* string/strmatch.c:117:20: warning: implicit declaration of function ‘iswgraph’ [-Wimplicit-function-declaration]
* string/strmatch.c:119:20: warning: implicit declaration of function ‘iswlower’ [-Wimplicit-function-declaration]
* string/strmatch.c:121:20: warning: implicit declaration of function ‘iswprint’ [-Wimplicit-function-declaration]
* string/strmatch.c:123:20: warning: implicit declaration of function ‘iswpunct’ [-Wimplicit-function-declaration]
* string/strmatch.c:125:20: warning: implicit declaration of function ‘iswspace’ [-Wimplicit-function-declaration]
* string/strmatch.c:127:20: warning: implicit declaration of function ‘iswupper’ [-Wimplicit-function-declaration]
* string/strmatch.c:129:21: warning: implicit declaration of function ‘iswxdigit’ [-Wimplicit-function-declaration]
* string/strmatch.c:546:11: warning: implicit declaration of function ‘iswctype’; did you mean ‘
isctype’? [-Wimplicit-function-declaration]
* string/strmatch.c:546:24: warning: implicit declaration of function ‘wctype’; did you mean ‘wcpcpy’? [-Wimplicit-function-declaration]
* misc/optget.c:149:6: warning: implicit declaration of function ‘_optget’; did you mean ‘optget’? [-Wimplicit-function-declaration]
* port/astwinsize.c:189:9: warning: implicit declaration of function ‘ioctl’; did you mean ‘ttctl’? [-Wimplicit-function-declaration]
* cmdinit.c:99:11: warning: implicit declaration of function ‘strrchr’ [-Wimplicit-function-declaration]
* cmdinit.c:99:11: warning: incompatible implicit declaration of built-in function ‘strrchr’

Discussion

  • Jon Trulson

    Jon Trulson - 2018-10-21
    • status: open --> helpwanted
     
  • Jon Trulson

    Jon Trulson - 2018-10-21

    Yes, fixing compiler warnings are an ongoing exercise.

     
  • Jon Trulson

    Jon Trulson - 2022-08-07
    • status: helpwanted --> closed
     

Log in to post a comment.