FreeBSD Bugzilla – Attachment 174079 Details for
Bug 212138
devel/cdecl: Needs to be compiled in ANSI C (C89) mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
build log of devel/cdecl
build.log (text/plain), 6.57 KB, created by
Robert Clausecker
on 2016-08-25 22:10:36 UTC
(
hide
)
Description:
build log of devel/cdecl
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2016-08-25 22:10:36 UTC
Size:
6.57 KB
patch
obsolete
>root@miso:/usr/ports/devel/cdecl # make clean >===> Cleaning for cdecl-2.5_1 >root@miso:/usr/ports/devel/cdecl # make >===> NOTICE: > >The cdecl port currently does not have a maintainer. As a result, it is >more likely to have unresolved issues, not be up-to-date, or even be removed in >the future. To volunteer to maintain this port, please create an issue at: > >https://bugs.freebsd.org/bugzilla > >More information about port maintainership is available at: > >https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port > >===> Found saved configuration for cdecl-2.5_1 >===> cdecl-2.5_1 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by cdecl-2.5_1 for building >===> Extracting for cdecl-2.5_1 >=> SHA256 Checksum OK for cdecl-2.5.tar.gz. >===> Patching for cdecl-2.5_1 >===> Applying FreeBSD patches for cdecl-2.5_1 >===> Configuring for cdecl-2.5_1 >===> Building for cdecl-2.5_1 >--- cdgram.c --- >--- cdlex.c --- >--- cdgram.c --- >yacc cdgram.y && mv y.tab.c cdgram.c >--- cdlex.c --- >lex cdlex.l && mv lex.yy.c cdlex.c >--- cdgram.c --- >yacc: 7 shift/reduce conflicts. >--- c++decl --- >cc -O3 -march=corei7-avx -s -DUSE_READLINE -o c++decl cdecl.c -lreadline -lncurses -Wl,-rpath=/usr/lib:/usr/local/lib -fstack-protector >In file included from cdecl.c:203: >y.tab.c:550:23: warning: implicit declaration of function 'yylex' is invalid in C99 [-Wimplicit-function-declaration] > if ((yychar = YYLEX) < 0) yychar = YYEOF; > ^ >y.tab.c:61:16: note: expanded from macro 'YYLEX' ># define YYLEX yylex() > ^ >cdecl.c:255:24: error: expected identifier or '(' > register int i, j, restrict; > ^ >cdecl.c:255:23: error: expected ';' at end of declaration > register int i, j, restrict; > ^ > ; >cdecl.c:255:24: error: restrict requires a pointer or reference > register int i, j, restrict; > ^~~~~~~~ >cdecl.c:255:24: warning: declaration does not declare anything [-Wmissing-declarations] > register int i, j, restrict; > ^~~~~~~~ >cdecl.c:272:12: error: expected identifier or '(' > restrict = crosscheck[i][j]; > ^ >cdecl.c:273:7: error: expected expression > if (restrict == ALWAYS) > ^ >cdecl.c:277:7: error: expected expression > if (restrict == NEVER) > ^ >cdecl.c:281:12: error: expected expression > else if (restrict == RITCHIE) > ^ >cdecl.c:286:12: error: expected expression > else if (restrict == PREANSI) > ^ >cdecl.c:291:12: error: expected expression > else if (restrict == ANSI) > ^ >cdecl.c:300:20: error: expected expression > progname, i, j, restrict); > ^ >cdecl.c:404:5: warning: implicit declaration of function 'add_history' is invalid in C99 [-Wimplicit-function-declaration] > add_history (line_read); > ^ >cdecl.c:413:54: warning: incompatible pointer types passing 'char *(char *, int)' to parameter of type 'rl_compentry_func_t *' (aka 'char *(*)(const char *, int)') [-Wincompatible-pointer-types] > if (start == 0) matches = completion_matches(text, command_completion); > ^~~~~~~~~~~~~~~~~~ >/usr/include/readline/readline.h:460:71: note: passing argument to parameter here >extern char **completion_matches PARAMS((char *, rl_compentry_func_t *)); > ^ >/usr/include/readline/rlstdc.h:33:28: note: expanded from macro 'PARAMS' ># define PARAMS(protos) protos > ^ >cdecl.c:428:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (command = commands[index]) { > ~~~~~~~~^~~~~~~~~~~~~~~~~ >cdecl.c:428:18: note: place parentheses around the assignment to silence this warning > while (command = commands[index]) { > ^ > ( ) >cdecl.c:428:18: note: use '==' to turn this assignment into an equality comparison > while (command = commands[index]) { > ^ > == >cdecl.c:449:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (option = options[index]) { > ~~~~~~~^~~~~~~~~~~~~~~~ >cdecl.c:449:19: note: place parentheses around the assignment to silence this warning > while (option = options[index]) { > ^ > ( ) >cdecl.c:449:19: note: use '==' to turn this assignment into an equality comparison > while (option = options[index]) { > ^ > == >cdecl.c:469:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > } else while (keyword = keywords[index]) { > ~~~~~~~~^~~~~~~~~~~~~~~~~ >cdecl.c:469:27: note: place parentheses around the assignment to silence this warning > } else while (keyword = keywords[index]) { > ^ > ( ) >cdecl.c:469:27: note: use '==' to turn this assignment into an equality comparison > } else while (keyword = keywords[index]) { > ^ > == >cdecl.c:919:21: warning: implicit declaration of function 'dotmpfile_from_string' is invalid in C99 [-Wimplicit-function-declaration] > if (len) ret = dotmpfile_from_string(line); > ^ >cdecl.c:1119:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else if (prev == 'a') > ^ >cdecl.c:1151:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else if (prev == 'r') > ^ >cdecl.c:1268:34: warning: incompatible pointer types assigning to 'rl_compentry_func_t *' (aka 'char *(*)(const char *, int)') from 'Function *' (aka 'int (*)()') [-Wincompatible-pointer-types] > rl_completion_entry_function = (Function *)keyword_completion; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >11 warnings and 10 errors generated. >*** [c++decl] Error code 1 > >make[2]: stopped in /usr/ports/devel/cdecl/work/cdecl-2.5 >1 error > >make[2]: stopped in /usr/ports/devel/cdecl/work/cdecl-2.5 >===> Compilation failed unexpectedly. >Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to >the maintainer. >*** Error code 1 > >Stop. >make[1]: stopped in /usr/ports/devel/cdecl >*** Error code 1 > >Stop. >make: stopped in /usr/ports/devel/cdecl >root@miso:/usr/ports/devel/cdecl #
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 212138
: 174079