Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 869543 Details for
Bug 913593
app-text/hnb-1.9.18-r1 - [clang] prefs.c: error: embedding a #include directive within macro arguments is
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text:hnb-1.9.18-r1:20230903-193604.log
app-text:hnb-1.9.18-r1:20230903-193604.log (text/plain), 79.66 KB, created by
Toralf Förster
on 2023-09-03 19:48:46 UTC
(
hide
)
Description:
app-text:hnb-1.9.18-r1:20230903-193604.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-09-03 19:48:46 UTC
Size:
79.66 KB
patch
obsolete
> * Package: app-text/hnb-1.9.18-r1:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking hnb-1.9.18.tar.gz to /var/tmp/portage/app-text/hnb-1.9.18-r1/work >>>> Source unpacked in /var/tmp/portage/app-text/hnb-1.9.18-r1/work >>>> Preparing source in /var/tmp/portage/app-text/hnb-1.9.18-r1/work/hnb-1.9.18 ... > * Applying hnb-1.9.18-flags.patch ... > [ ok ] > * Applying hnb-1.9.18-include.patch ... > [ ok ] > * Applying hnb-1.9.18-printf.patch ... > [ ok ] > * Applying hnb-1.9.18-fno-common.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-text/hnb-1.9.18-r1/work/hnb-1.9.18 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-text/hnb-1.9.18-r1/work/hnb-1.9.18 ... >make -j5 >(cd src;make) >make[1]: Entering directory '/var/tmp/portage/app-text/hnb-1.9.18-r1/work/hnb-1.9.18/src' >(cd libcli;make libcli.a) >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o actions.o actions.c >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o autosave.o autosave.c >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o cal.o cal.c >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o cli_macro.o cli_macro.c >make[2]: Entering directory '/var/tmp/portage/app-text/hnb-1.9.18-r1/work/hnb-1.9.18/src/libcli' >clang -Wall -c -o cli.o cli.c >actions.ccal.c:4:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] >autosave.c:5: * Copyright (C) 2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >cal.c:4:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] >28: * Copyright (C) 2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >autosave.c:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >actions.c:4:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >In file included from cal.c:22: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from cal.c:22: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from cal.c:23: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s >In file included from ^ >libcli/cli.h:2:actions.c33::22 warning: invalid UTF-8 in comment [-Winvalid-utf8] >: > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from cal.c:23: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from actions.c:22: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from actions.c:23: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from actions.c:23: >cli_macro.c:In file included from 4:28:libcli/cli.h warning: invalid UTF-8 in comment [-Winvalid-utf8]: >79: >libcli/cli_history.h:2 * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net>: >23 ^ >cli_macro.c:: 4:38: warning: warning: invalidinvalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >UTF-8 in comment [-Winvalid-utf8] >In file included from cli_macro.c:22: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from cli_macro.c:22: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from cli_macro.c:24: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from autosave.c:24: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from cli_macro.c:24: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from autosave.c:24: >./tree.h:In file included from actions.c:24: >In file included from ./ui.h:6: >./ui_style.h:17:29: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void ui_style_restore_color (); > ^ > void >21:16:In file included from cal.c:24: >In file included from ./ui.h:6: >./ui_style.h:17:29: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void ui_style_restore_color (); > ^ > void >In file included from actions.c:24: >./ui.h:21:14 :warning: a function declarationwarning: awithout functiona declarationprototype withoutis >a deprecatedprototype isin deprecatedall > versionsIn file included from in all cal.c:24: >./ui.h of C [-Wstrict-prototypes] >:Node *tree_new (); > ^ > void >21:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_init (); > ^ > void >./ui.h:25:13: warning: a function declarationIn file included from autosave.c:25: >./prefs.h:25: without a prototype is versions of Cdeprecated > in all [-Wstrict-prototypes] >versionsvoid ui_init (); > ^ > void > of C [-Wstrict-prototypes] >void ui_end (); > ^ > void./ui.h:25:13 >: warning: a function declaration without ./ui.h:32a prototype is :14: deprecatedwarning: a function declaration > in allwithout a prototype versions of is deprecatedC [-Wstrict-prototypes] > >void ui_end (); > in all versions of C ^ > void >[-Wstrict-prototypes] >int ui_input (); >./ui.h:32:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] > ^int ui_input (); > ^ > void > > void >In file included from cal.c:26: >./prefs.h:25:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void write_default_prefs (); > ^ >17: warning: a function declaration without void >a cli.c:233prototype:10 is: > deprecated inwarning: cast to smaller integer type 'int' > from 'void *' [-Wvoid-pointer-to-int-cast] > all versions int ret=(int)data;of > C ^~~~~~~~~ [-Wstrict-prototypes] > >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void write_default_prefs (); > ^ > void >cli.c:413:12: warning: cast to smaller integer type 'int' > from 'void *' [-Wvoid-pointer-to-int-cast] > return(int)data; > ^~~~~~~~~ >cli.c:420:8: warning: cast to smaller integer type 'int' > from 'void *' [-Wvoid-pointer-to-int-cast] > return(int)data; > ^~~~~~~~~ >cli.c:449:8: warning: cast to smaller integer type 'int' > from 'void *' [-Wvoid-pointer-to-int-cast]cli_macro.c:91: >11 return(int)data; >: ^~~~~~~~~ warning: >cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int)do_macro(tmacro,pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >cli_macro.c:100:12: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >cli_macro.c:122:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >cal.c:48:10: warning: cast to smaller integer type 'int' from 'void *' > actions.c[-Wvoid-pointer-to-int-cast] >:41:3: warning: ignoring return (int)data; >return ^~~~~~~~~ >value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > system (argv[1]); > ^~~~~~ ~~~~~~~ >actions.c:45:9: warning: cast to cal.csmaller: 56integer: 10type: 'int'warning: castfrom to'Node *' >smaller (aka 'struct Node *')integer [-Wpointer-to-int-cast]type > 'int' return (int)pos;from > ^~~~~~~~'void *' > > [-Wvoid-pointer-to-int-cast] > return (int)data; > ^~~~~~~~~ >cal.c:106:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int)pos; > ^~~~~~~~ >actions.c:126:3: warning: ignoring return value of function declaredcal.c :with112 >: 14'warn_unused_result': attributewarning: a[-Wunused-result] >function declaration without system (cmdline); >a ^~~~~~ ~~~~~~~ >prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void init_cal(){ > ^ > void >actions.c:146:11: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >actions.c:150:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >actions.c:153:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >actions.c:163:20: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_exec_cmd () > ^ > void >4 warnings generated. >In file included from autosave.c:26: >In file included from ./ui.h:6: >./ui_style.h:17:29: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void ui_style_restore_color (); > ^ > void >In file included from autosave.c:26: >In file included from ./ui.h:8: >In file included from ./ui_cli.h:4: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from autosave.c:26: >In file included from ./ui.h:8: >In file included from ./ui_cli.h:4: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from autosave.c:26: >./ui.h:21:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_init (); > ^ > void >./ui.h:25:13: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_end (); > ^ > void >./ui.h:32:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >int ui_input (); > ^ > void >autosave.c:59:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >autosave.c:71:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >autosave.c:77:20: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_autosave () > ^ > void >18 warnings generated. >11 warnings generated. >clang -Wall -c -o cli_history.o cli_history.c >17 warnings generated. >19 warnings generated. >clang -Wall -c -o cli_tokenize.o cli_tokenize.c >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o clipboard.o clipboard.c >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o evilloop.o evilloop.c >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o expanded.o expanded.c >clipboard.c:5:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >clipboard.c:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >In file included from clipboard.c:23: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from clipboard.c:23: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from clipboard.c:24: >./prefs.h:25:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void write_default_prefs (); > ^ > void >expanded.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >expanded.c:4:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o file.o file.c >In file included from clipboard.c:25: >In file included from ./ui.h:6: >./ui_style.h:17:29: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void ui_style_restore_color (); > ^ > void >In file included from clipboard.c:25: >In file included from ./ui.h:8: >In file included from ./ui_cli.h:4: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from clipboard.c:25: >In file included from ./ui.h:8: >In file included from ./ui_cli.h:4: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from clipboard.c:25: >./ui.h:21:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_init (); > ^ > void >./ui.h:25:13: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_end (); > ^ > void >./ui.h:32:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >int ui_input (); > ^ > void >clipboard.c:42:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >clipboard.c:50:10: warning: cast to smaller integer type 'int' from 'void *' > [-Wvoid-pointer-to-int-cast] > return (int)data; > ^~~~~~~~~ >clipboard.c:61:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >clipboard.c:74:11: warning: In file included from cast to expanded.c:22: >smaller integer typeIn file included from ./tree.h:4 'int' from : >./node.h:109:16'void *' > [-Wvoid-pointer-to-int-cast] >: warning: a function declaration return (int)data; > ^~~~~~~~~ >without a prototype is > deprecated in all versions of C clipboard.c:81:[-Wstrict-prototypes] >9: Node *node_new (); > ^ > void >warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >In file included from expanded.c:22: >./tree.h:21:16: warning: a function declaration clipboard.cwithout a prototype :87:21is > deprecated: warning: a function in alldeclaration without versions ofa prototype is > C [-Wstrict-prototypes]deprecated in >allNode *tree_new (); > ^ > void versions of > C [-Wstrict-prototypes] >void init_clipboard () > ^ > void >In file included from expanded.c:23: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from expanded.c:23: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >evilloop.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >evilloop.c:4:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >expanded.c:39:11: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int)pos; > ^~~~~~~~ >expanded.c:51:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >expanded.c:63:11: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int)pos; > ^~~~~~~~ >expanded.c:76:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >expanded.c:82:20: warning: a function declaration withoutcli_tokenize.c:222:40: warning: passing > 'unsigned char[128]' 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] > total_length+=strlen(cli_getstring(varname)); > ^~~~~~~ >cli_tokenize.c:83:27: note: passing argument to parameter > 'variable' here >char *cli_getstring(char *variable); > ^ > a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_expanded () > ^ > void >cli_tokenize.c:272:33: warning: passing > 'unsigned char[128]' 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] > strcpy(output,cli_getstring(varname)); > ^~~~~~~ >cli_tokenize.c:83:27: note: passing argument to parameter > 'variable' here >char *cli_getstring(char *variable); > ^ >cli_tokenize.c:273:34: warning: passing > 'unsigned char[128]' 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] > output+=strlen(cli_getstring(varname)); > ^~~~~~~ >cli_tokenize.c:83:27: note: passing argument to parameter > 'variable' here >char *cli_getstring(char *variable); > ^ >3 warnings generated. >In file included from evilloop.c:25: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >20 warnings generated. >In file included from evilloop.c:25: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >llvm-ar rc libcli.a cli*.o >In file included from evilloop.c:27: >In file included from ./ui.h:6: >./ui_style.h:17:29: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void ui_style_restore_color (); > ^ > void >file.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file.c:4:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >In file included from evilloop.c:27: >In file included from ./ui.h:8: >In file included from ./ui_cli.h:4: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o file_ascii.o file_ascii.c >In file included from evilloop.c:27: >In file included from ./ui.h:8: >In file included from ./ui_cli.h:4: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from evilloop.c:27: >./ui.h:21:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_init (); > ^ > void >./ui.h:25:13: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_end (); > ^ > void >./ui.h:32:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >int ui_input (); > ^ > void >In file included from evilloop.c:30: >./prefs.h:25:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void write_default_prefs (); > ^ > void >evilloop.c:129:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int)pos; > ^~~~~~~~ >evilloop.c:135:15: warning: a function declaration without a prototype 13 warnings generated. >is > deprecated in all versions of C [-Wstrict-prototypes] >void init_quit(){ > ^ > void >evilloop.c:343:20: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_evilloop () > ^ > void >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o file_binary.o file_binary.c >In file included from file.c:30: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from file.c:30: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from file.c:32: >./prefs.h:25:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void write_default_prefs (); > ^ > void >In file included from file.c:33: >In file included from ./ui_cli.h:4: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file.c:33: >In file included from ./ui_cli.h:4: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >file.c:159:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int)pos; > ^~~~~~~~ >file.c:182:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >file.c:200:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >file.c:207:16: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void init_file () > ^ > void >make[2]: Leaving directory '/var/tmp/portage/app-text/hnb-1.9.18-r1/work/hnb-1.9.18/src/libcli' >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o file_help.o file_help.c >file_binary.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] >file_ascii.c:4:28: warning: invalid * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> >UTF-8 ^ >in file_binary.ccomment: 4[-Winvalid-utf8]: >38: warning: invalid UTF-8 in * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> >comment ^ >[-Winvalid-utf8] >file_ascii.c:4:38: warning: invalid * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> >UTF-8 ^ >in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >14 warnings generated. >In file included from file_ascii.c:28: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_ascii.c:28: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_ascii.c:29: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o file_hnb.o file_hnb.c >file_ascii.c:29: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ >file_help.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > void > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_help.c:4:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >In file included from file_ascii.c:31: >./query.h:5:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >./query.h:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_ascii.c:49:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) (node); > ^~~~~~~~~~~~ >file_ascii.c:76:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) (node); > ^~~~~~~~~~~~ >file_ascii.c:113:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_ascii.c:133:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_ascii.c:140:22: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_file_ascii () > ^ > void >In file included from file_binary.c:30: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_binary.c:30: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_binary.c:31: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from file_binary.c:31: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from file_binary.c:34: >./prefs.h:25:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void write_default_prefs (); > ^ > void >In file included from file_binary.c:35: >./query.h:5:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >./query.h:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_binary.c:92:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_binary.c:102:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_binary.c:120:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_binary.c:124:3: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > fread(&header, sizeof(int), 1, file); > ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >file_binary.c:125:3: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > fread(&version, sizeof(int), 1, file); > ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >file_binary.c:138:3: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > fread(&attributes, sizeof(int),1,file); > ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >file_binary.c:147:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > fread(&len, sizeof(int),1,file); > ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ >file_binary.c:149:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > fread(att_name,1,len,file); > ^~~~~ ~~~~~~~~~~~~~~~~~~~ >file_binary.c:151:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > fread(&len, sizeof(int),1,file); > ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ >file_binary.c:153:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > fread(att_data,1,len,file); > ^~~~~ ~~~~~~~~~~~~~~~~~~~ >file_binary.c:169:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_binary.c:175:23: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_file_binary () > ^ > void >17 warnings generated. >In file included from file_help.c:30: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_help.c:30: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_help.c:31: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from file_help.c:31: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from file_help.c:33: >./query.h:5:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >./query.h:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_help.c:5815 warnings generated. >:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_help.c:89:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_help.c:50:32: warning: variable 'lastlevel' set but not used > [-Wunused-but-set-variable] > int level, flags, startlevel, lastlevel, cnt; > ^ >file_hnb.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_hnb.c:4:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o file_html.o file_html.c >file_help.c:103:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) (node); > ^~~~~~~~~~~~ >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o file_opml.o file_opml.c >file_help.c:109:21: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_file_help () > ^ > void >24 warnings generated. >In file included from file_hnb.c:29: >./xml_tok.h:3:27: warning: invalid UTF-8 in comment [-Winvalid-utf8] >/* xml/html tokenizer (c) <D8>yvind Kol<E5>s 2002 */ > ^ >./xml_tok.h:3:37: warning: invalid UTF-8 in comment [-Winvalid-utf8] >/* xml/html tokenizer (c) <D8>yvind Kol<E5>s 2002 */ > ^ >file_html.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_html.c:4:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >In file included from file_hnb.c:31: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_hnb.c:31: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_hnb.c:32: >In file included from ./tree.h:4: >./node.h:109:clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o file_ps.o file_ps.c >16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from file_hnb.c:32: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from file_hnb.c:35: >./prefs.h:25:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void write_default_prefs (); > ^ > void >In file included from file_hnb.c:36: >./query.h:5:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >./query.h:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_hnb.c:121:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_hnb.c:146:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_hnb.c:173:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_hnb.c:183:11: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_hnb.c:266:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_hnb.c:272:20: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_file_hnb () > ^ > void >file_opml.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_opml.c:4:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >In file included from file_html.c:29: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_html.c:29: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_html.c:30: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from file_html.c:30: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from file_html.c:32: >./query.h:5:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >./query.h:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_html.c:44:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<F8>", "ø", > ^~~~ >file_html.c:45:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<D8>", "Ø", > ^~~~ >file_html.c:46:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<E5>", "å", > ^~~~ >file_html.c:47:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<C5>", "Å", > ^~~~ >file_html.c:48:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<E6>", "æ", > ^~~~ >file_html.c:49:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<C6>", "Æ",NULL > ^~~~ >file_html.c:70:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_html.c:133:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_html.c:60:13: warning: variable 'flags' set but not used > [-Wunused-but-set-variable] > int level, flags, startlevel, lastlevel, cnt; > ^ >file_html.c:177:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_html.c:227:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_html.c:233:21: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_file_html () > ^ > void >In file included from file_opml.c:28: >./xml_tok.h:3:27: warning: invalid UTF-8 in comment [-Winvalid-utf8] >/* xml/html tokenizer (c) <D8>yvind Kol<E5>s 2002 */ > ^ >./xml_tok.h:3:37: warning: invalid UTF-8 in comment [-Winvalid-utf8] >/* xml/html tokenizer (c) <D8>yvind Kol<E5>s 2002 */ > ^ >In file included from file_opml.c:30: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_opml.c:30: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_opml.c:31: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from file_opml.c:31: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from file_opml.c:34: >./prefs.h:25:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions offile_ps.c C: [-Wstrict-prototypes] >4void write_default_prefs ();:28: > ^ >warning: invalid UTF-8 void >in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_ps.c:4:38:In file included from file_opml.c:35 : >./query.h:5warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >./query.h:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_opml.c:106:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_opml.c:136:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_opml.c:157:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_opml.c:167:11: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_opml.c:211:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_opml.c:218:21: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_file_opml () > ^ > void >22 warnings generated. >In file included from file_ps.c:31: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o file_xml.o file_xml.c >20In file included from warningfile_ps.cs:31: > generatedIn file included from . >libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_ps.c:32: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from file_ps.c:32: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from file_ps.c:34: >./query.h:5:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >./query.h:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_ps.c:44:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<E6>", "\\346", > ^~~~ >file_ps.c:45:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<F8>", "\\370", > ^~~~ >file_ps.c:46:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<E5>", "\\345", > ^~~~ >file_ps.c:47:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<C6>", "\\306", > ^~~~ >file_ps.c:48:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<D8>", "\\330", > ^~~~ >file_ps.c:49:3: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] > "<C5>", "\\305",NULL > ^~~~ >file_ps.c:78:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_ps.c:84:17: warning: string literal of length 5113 exceeds maximum length > 4095 that ISO C99 compilers are required to support [-Woverlength-strings] > fprintf (file, "%%!PS %% all files must open with this header\n\ > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/bits/stdio2.h:92:51: note: expanded from macro 'fprintf' > __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) > ^~~~~~~~~~~ >file_ps.c:228:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_ps.c:234:19: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_file_ps () > ^ > void >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o hnb.o hnb.c >make[1]: Circular init_subsystems.c <- init_subsystems.c dependency dropped. >20 warnings generated. >20 warnings generated. >echo "/* this file is autogenerated, do not edit */">init_subsystems.c >cat actions.c autosave.c cal.c cli_macro.c clipboard.c evilloop.c expanded.c file.c file_ascii.c file_binary.c file_help.c file_hnb.c file_html.c file_opml.c file_ps.c file_xml.c hnb.c init_subsystems.c node.c path.c prefs.c query.c search.c spell.c statcmds.c state.c tokenizer.c tree.c tree_misc.c tree_sort.c tree_todo.c ui.c ui_binding.c ui_cli.c ui_draw.c ui_edit.c ui_menu.c ui_overlay.c ui_style.c util_string.c xml_tok.c | grep "^\!init_" | sort | sed -e "s/^\!/void /g">>init_subsystems.c >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o node.o node.c >file_xml.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8]grep: warning: stray \ before ! > > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_xml.c:4:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >echo "">>init_subsystems.c >15 warnings generated. >echo "void init_subsystems(){">>init_subsystems.c >cat actions.c autosave.c cal.c cli_macro.c clipboard.c evilloop.c expanded.c file.c file_ascii.c file_binary.c file_help.c file_hnb.c file_html.c file_opml.c file_ps.c file_xml.c hnb.c init_subsystems.c node.c path.c prefs.c query.c search.c spell.c statcmds.c state.c tokenizer.c tree.c tree_misc.c tree_sort.c tree_todo.c ui.c ui_binding.c ui_cli.c ui_draw.c ui_edit.c ui_menu.c ui_overlay.c ui_style.c util_string.c xml_tok.c | grep "^\!init_" | sort | sed -e "s/^\!/ /g">>init_subsystems.c >hnb.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >hnb.c:4:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >hnb.c:25:4: warning: invalid UTF-8 in comment [-Winvalid-utf8] > g<E5> til parent > ^ >hnb.c:28:27: warning: invalid UTF-8 in comment [-Winvalid-utf8] > sannsynlig grunn: feil h<E5>ndtering av temporary attributte > ^ >grep: warning: stray \ before ! >echo "}">>init_subsystems.c >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o path.o path.c >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o prefs.o prefs.c >In file included from file_xml.c:28: >./xml_tok.h:3:27: warning: invalid UTF-8 in comment [-Winvalid-utf8] >/* xml/html tokenizer (c) <D8>yvind Kol<E5>s 2002 */ > ^ >./xml_tok.h:3:37: warning: invalid UTF-8 in comment [-Winvalid-utf8] >/* xml/html tokenizer (c) <D8>yvind Kol<E5>s 2002 */ > ^ >In file included from file_xml.c:30: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_xml.c:30: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from file_xml.c:31: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from file_xml.c:31: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from file_xml.c:34: >./prefs.h:25:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void write_default_prefs (); > ^ > void >In file included from file_xml.c:35: >./query.h:5:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >./query.h:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_xml.c:79:6: warning: variable 'flags' set but not used > [-Wunused-but-set-variable] > int flags; > ^ >file_xml.c:162:10: warning: cast to smaller integernode.c:5:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> ^~~~~~~~~~ > > ^ >node.c:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001-2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >file_xml.c:173:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_xml.c:224:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_xml.c:234:11: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_xml.c:331:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) node; > ^~~~~~~~~~ >file_xml.c:337:20: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_file_xml () > ^ > void >In file included from hnb.c:40: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from hnb.c:40: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from hnb.c:42: >In file included from ./ui_cli.h:4: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from hnb.c:42: >In file included from ./ui_cli.h:4: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from node.c:24: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >node.c:28:16: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >Node *node_new () > ^ > void >In file included from node.c:138: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >prefs.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >prefs.c:4:38: warning: invalid UTF-8 In file included from node.c:138: >in In file included from commentlibcli/cli.h :[-Winvalid-utf8]79 >: >libcli/cli_history.h:2:23: warning: * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net>invalid > UTF-8 ^ >in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >node.c:148:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >node.c:152:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >node.c:162:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >node.c:169:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >node.c:177:10: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >node.c:180:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >node.c:193:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >node.c:199:20: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void init_nodetest () > ^ > void >In file included from hnb.c:44: >In file included from ./ui.h:6: >./ui_style.h:17:29: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void ui_style_restore_color (); > ^ > void >In file included from hnb.c:44: >./ui.h:21:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_init (); > ^ > void >./ui.h:25:13: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_end (); > ^ > void >./ui.h:32:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >int ui_input (); > ^ > void >In file included from hnb.c:45: >./prefs.h:25:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void write_default_prefs (); > ^ > void >hnb.c:55:26: warning: illegal character encoding in string literal > [-Winvalid-source-encoding] >Hierarchical NoteBook by <D8>yvind Kol<E5>s <pippin@users.sourceforge.net>\n\ > ^~~~ ~~~~ >/usr/include/bits/stdio2.h:92:51: note: expanded from macro 'fprintf' > __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) > ^~~~~~~~~~~ >hnb.c:80:22: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void init_subsystems (); > ^ > void >hnb.c:268:7: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > fgets(response,10,stdin); > ^~~~~ ~~~~~~~~~~~~~~~~~ >In file included from prefs.c:25: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >hnb.c:346:10: warning: cast to 'Node *' (aka 'struct Node *') from smaller > integer type 'int' [-Wint-to-pointer-cast] > pos = (Node *) cli_docmd (cmdline.cmd, pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from hnb.c:348:11: warning: castprefs.c to 'Node *' (aka 'struct Node *') from smaller >: integer type 'int' [-Wint-to-pointer-cast] >25: >./tree.h:21: pos = (Node *) cli_docmd (argv[argno++], pos);16 > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: > warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >path.c:4:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2001 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >path.c:4:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2001 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >16 warnings generated. >In file included from prefs.c:26: >In file included from ./ui.h:6: >./ui_style.h:17:29: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void ui_style_restore_color (); > ^ > void >In file included from prefs.c:26: >In file included from ./ui.h:8: >In file included from ./ui_cli.h:4: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from prefs.c:26: >In file included from ./ui.h:8: >In file included from ./ui_cli.h:4: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from prefs.c:26: >./ui.h:21:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_init (); > ^ > void >./ui.h:25:13: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_end (); > ^ > void >./ui.h:32:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >int ui_input (); > ^ > void >In file included from prefs.c:28: >./prefs.h:25:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void write_default_prefs (); > ^ > void >prefs.c:54:17: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void init_prefs () > ^ > void >prefs.c:82:26: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void write_default_prefs () > ^ > void >prefs.c:88:2: error: embedding a #include directive within macro arguments is > not supported >#include "hnbrc.inc" > ^ >prefs.c:87:2: note: expansion of macro 'fprintf' requested here > fprintf (file, > ^ >prefs.c:87:2: error: expected expression > fprintf (file, > ^ >/usr/include/bits/stdio2.h:92:62: note: expanded from macro 'fprintf' > __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) > ^ >16 warnings and 2 errors generated. >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o query.o query.c >make[1]: *** [Makefile:9: prefs.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >21 warnings generated. >In file included from path.c:24: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from path.c:24: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from path.c:25: >./tokenizer.h:18:6: warning: invalid UTF-8 in comment [-Winvalid-utf8] > (c) <D8>yvind Kol<E5>s 2000 > ^ >./tokenizer.h:18:16: warning: invalid UTF-8 in comment [-Winvalid-utf8] > (c) <D8>yvind Kol<E5>s 2000 > ^ >query.c:5:28: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >query.c:5:38: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2001,2003 <D8>yvind Kol<E5>s <pippin@users.sourceforge.net> > ^ >In file included from query.c:23: >In file included from ./tree.h:4: >./node.h:109:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *node_new (); > ^ > void >In file included from query.c:23: >./tree.h:21:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >Node *tree_new (); > ^ > void >In file included from query.c:24: >./prefs.h:25:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void init_prefs (); > ^ > void >./prefs.h:31:26: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void write_default_prefs (); > ^ > void >In file included from query.c:25: >In file included from ./ui.h:6: >./ui_style.h:17:29: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >void ui_style_restore_color (); > ^ > void >In file included from query.c:25: >In file included from ./ui.h:8: >In file included from ./ui_cli.h:4: >libcli/cli.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from query.c:25: >In file included from ./ui.h:8: >In file included from ./ui_cli.h:4: >In file included from libcli/cli.h:79: >libcli/cli_history.h:2:23: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >libcli/cli_history.h:2:33: warning: invalid UTF-8 in comment [-Winvalid-utf8] > * Copyright (C) 2002 <D8>yvind Kol<E5>s > ^ >In file included from query.c:25: >./ui.h:21:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_init (); > ^ > void >./ui.h:25:13: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void ui_end (); > ^ > void >./ui.h:32:14: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >int ui_input (); > ^ > void >21 warnings generated. >query.c:39:9: warning: cast to smaller integer type 'int' from 'Node *' > (aka 'struct Node *') [-Wpointer-to-int-cast] > return (int) pos; > ^~~~~~~~~ >query.c:45:17: warning: a function declaration without a prototype is deprecated > in all versions of C [-Wstrict-prototypes] >void init_query () > ^ > void >16 warnings generated. >6 warnings generated. >make[1]: Leaving directory '/var/tmp/portage/app-text/hnb-1.9.18-r1/work/hnb-1.9.18/src' >make: *** [Makefile:3: src/hnb] Error 2 > * ERROR: app-text/hnb-1.9.18-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-text/hnb-1.9.18-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-text/hnb-1.9.18-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-text:hnb-1.9.18-r1:20230903-193604.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/hnb-1.9.18-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-text/hnb-1.9.18-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-text/hnb-1.9.18-r1/work/hnb-1.9.18' > * S: '/var/tmp/portage/app-text/hnb-1.9.18-r1/work/hnb-1.9.18' >
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 913593
:
869542
| 869543 |
869544
|
869545
|
869546
|
869547
|
869548