Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 809707 Details for
Bug 871081
app-text/pep-2.8-r2 - main.c: error: type specifier missing, defaults to int; ISO C99 and
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text:pep-2.8-r2:20220917-202919.log
app-text:pep-2.8-r2:20220917-202919.log (text/plain), 10.62 KB, created by
Toralf Förster
on 2022-09-17 20:32:12 UTC
(
hide
)
Description:
app-text:pep-2.8-r2:20220917-202919.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-17 20:32:12 UTC
Size:
10.62 KB
patch
obsolete
> * Package: app-text/pep-2.8-r2:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking pep-2.8.zip to /var/tmp/portage/app-text/pep-2.8-r2/work >>>> Source unpacked in /var/tmp/portage/app-text/pep-2.8-r2/work >>>> Preparing source in /var/tmp/portage/app-text/pep-2.8-r2/work ... > * Applying pep-2.8-gentoo.patch ... > [ ok ] > * Applying pep-2.8-include.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-text/pep-2.8-r2/work ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-text/pep-2.8-r2/work ... >make -j4 Doc/pep.1 >sed -e 's;MANEXT;1;' \ > -e 's;LIBDIR;/usr/share/pep;' \ > < Doc/pep.man \ > > Doc/pep.1 >make -j4 CC=clang >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o main.o main.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o ansi.o ansi.c >sed -e 's;LIBDIR;/usr/share/pep;' \ > < plain.src \ > > plain.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o plain.o plain.c >ansi.c:175:24: warning: '/*' within block comment [-Wcomment] > | case 'h': break; /* + SM -- set mode * > ^ >ansi.c:176:24: warning: '/*' within block comment [-Wcomment] > | case 'l': break; /* + RM -- reset mode * > ^ >ansi.c:177:24: warning: '/*' within block comment [-Wcomment] > | case 'p': break; /* + KKR -- keyboard key reassign * > ^ >ansi.c:178:24: warning: '/*' within block comment [-Wcomment] > | case 'R': break; /* + CPR -- cursor position rep. * > ^ >ansi.c:181:17: warning: '/*' within block comment [-Wcomment] > | case '@': /* ICH -- insert characters * > ^ >ansi.c:182:17: warning: '/*' within block comment [-Wcomment] > | case 'L': /* IL -- insert lines * > ^ >ansi.c:183:17: warning: '/*' within block comment [-Wcomment] > | case 'M': /* DL -- delete lines * > ^ >ansi.c:184:17: warning: '/*' within block comment [-Wcomment] > | case 'P': /* DCH -- delete characters * > ^ >ansi.c:185:17: warning: '/*' within block comment [-Wcomment] > | case 'y': /* OCT -- output chr. translate * > ^ >main.c:413:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >main(int argc, char **argv) >^ >int >main.c:594:23: warning: using the result of an assignment as a condition without > parentheses [-Wparentheses] > if (ss = strrchr(nname,'.')) *ss = '\0'; > ~~~^~~~~~~~~~~~~~~~~~~~ >main.c:594:23: note: place parentheses around the assignment to silence this > warning > if (ss = strrchr(nname,'.')) *ss = '\0'; > ^ > ( ) >main.c:594:23: note: use '==' to turn this assignment into an equality > comparison > if (ss = strrchr(nname,'.')) *ss = '\0'; > ^ > == >1 warning and 1 error generated. >make: *** [<builtin>: main.o] Error 1 >make: *** Waiting for unfinished jobs.... >plain.c:115:7: warning: a function declaration without a prototype is deprecated > in all versions of C and is treated as a zero-parameter prototype in C2x, > conflicting with a previous declaration [-Wdeprecated-non-prototype] >char *getenv(); > ^ >/usr/include/stdlib.h:641:14: note: conflicting prototype is here >extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; > ^ >plain.c:160:17: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > while (*ss++ = *tabledir++) ; /* strcpy(fullpath,tabledir); */ > ~~~~~~^~~~~~~~~~~~~ >plain.c:160:17: note: place parentheses around the assignment to silence this > warning > while (*ss++ = *tabledir++) ; /* strcpy(fullpath,tabledir); */ > ^ > ( ) >plain.c:160:17: note: use '==' to turn this assignment into an equality > comparison > while (*ss++ = *tabledir++) ; /* strcpy(fullpath,tabledir); */ > ^ > == >plain.c:163:17: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > while (*ss++ = *cname++) ; /* strcat(fullpath,cname); */ > ~~~~~~^~~~~~~~~~ >plain.c:163:17: note: place parentheses around the assignment to silence this > warning > while (*ss++ = *cname++) ; /* strcat(fullpath,cname); */ > ^ > ( ) >plain.c:163:17: note: use '==' to turn this assignment into an equality > comparison > while (*ss++ = *cname++) ; /* strcat(fullpath,cname); */ > ^ > == >plain.c:193:12: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (ss = getenv("PEP")) fprintf(stderr, "%5d: %s\n", ii++, ss); > ~~~^~~~~~~~~~~~~~~ >plain.c:193:12: note: place parentheses around the assignment to silence this > warning > if (ss = getenv("PEP")) fprintf(stderr, "%5d: %s\n", ii++, ss); > ^ > ( ) >plain.c:193:12: note: use '==' to turn this assignment into an equality > comparison > if (ss = getenv("PEP")) fprintf(stderr, "%5d: %s\n", ii++, ss); > ^ > == >plain.c:213:23: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (tabledir = getenv("PEP")) > ~~~~~~~~~^~~~~~~~~~~~~~~ >plain.c:213:23: note: place parentheses around the assignment to silence this > warning > if (tabledir = getenv("PEP")) > ^ > ( ) >plain.c:213:23: note: use '==' to turn this assignment into an equality > comparison > if (tabledir = getenv("PEP")) > ^ > == >plain.c:225:17: warning: passing 'unsigned char[8192]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > while (fgets(Buffer, BUFSIZE-1, fdt)) { > ^~~~~~ >/usr/include/stdio.h:592:38: note: passing argument to parameter '__s' here >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > ^ >plain.c:228:23: warning: passing 'unsigned char[8192]' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if (ss = strchr(Buffer,'#')) { > ^~~~~~ >/usr/include/string.h:246:34: note: passing argument to parameter '__s' here >extern char *strchr (const char *__s, int __c) > ^ >plain.c:228:14: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (ss = strchr(Buffer,'#')) { > ~~~^~~~~~~~~~~~~~~~~~~~ >plain.c:228:14: note: place parentheses around the assignment to silence this > warning > if (ss = strchr(Buffer,'#')) { > ^ > ( ) >plain.c:228:14: note: use '==' to turn this assignment into an equality > comparison > if (ss = strchr(Buffer,'#')) { > ^ > == >plain.c:235:24: warning: passing 'unsigned char[8192]' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > for (ii = strlen(Buffer) - 1; isspace(Buffer[ii]) && (ii >= 0); ii--); > ^~~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >plain.c:239:21: warning: passing 'unsigned char[8192]' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if (sscanf(Buffer,"%d %d",&ff,&tt) != 2) mess(6); > ^~~~~~ >/usr/include/stdio.h:439:60: note: passing argument to parameter '__s' here >extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, > ^ >plain.c:306:14: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > xx = strlen(ss); > ^~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >plain.c:310:8: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > fputs(ss, Fdo); > ^~ >/usr/include/stdio.h:655:42: note: passing argument to parameter '__s' here >extern int fputs (const char *__restrict __s, FILE *__restrict __stream); > ^ >plain.c:356:20: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > while (strlen(ss) > LinSiz) { > ^~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >9 warnings generated. >13 warnings generated. > * ERROR: app-text/pep-2.8-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-text/pep-2.8-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-text/pep-2.8-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/app-text:pep-2.8-r2:20220917-202919.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/pep-2.8-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-text/pep-2.8-r2/temp/environment'. > * Working directory: '/var/tmp/portage/app-text/pep-2.8-r2/work' > * S: '/var/tmp/portage/app-text/pep-2.8-r2/work' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 871081
:
809704
| 809707 |
809710
|
809713
|
809716
|
809719