+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bkedit-0.6.23nb10/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bkedit-0.6.23nb10/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for bkedit-0.6.23nb10
cd src && make
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_menu.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_tree.c
bk_edit_tree.c: In function 'bk_edit_tree_add_root_node':
bk_edit_tree.c:94:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
94 | if (g_stack_push (tree.order_stack, (void *) tree.order) == G_STACK_FULL)
| ^
bk_edit_tree.c: In function 'bk_edit_tree_add_folder_node':
bk_edit_tree.c:196:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
196 | if (g_stack_push (tree.order_stack, (void *) tree.order) == G_STACK_FULL)
| ^
bk_edit_tree.c: In function 'bk_edit_tree_leave_folder':
bk_edit_tree.c:283:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
283 | tree.order = (int) order;
| ^
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_edit.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_file.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_ccp.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_data.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_undo.c
bk_edit_undo.c: In function 'save_folder_order':
bk_edit_undo.c:552:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
552 | g_hash_table_insert (order_table, (gpointer) child_data->id, (gpointer) child_data->order);
| ^
bk_edit_undo.c:552:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
552 | g_hash_table_insert (order_table, (gpointer) child_data->id, (gpointer) child_data->order);
| ^
bk_edit_undo.c: In function 'restore_folder_order':
bk_edit_undo.c:568:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
568 | if (g_hash_table_lookup_extended (order_table, (gpointer) child_data->id, &orig_key, &value))
| ^
bk_edit_undo.c:570:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
570 | child_data->order = (int) value;
| ^
bk_edit_undo.c: In function 'folder_order_cmp':
bk_edit_undo.c:584:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
584 | if ((int) a == (int) b)
| ^
bk_edit_undo.c:584:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
584 | if ((int) a == (int) b)
| ^
bk_edit_undo.c: In function 'bk_edit_undo_new':
bk_edit_undo.c:53:28: warning: '*undo.undo_stack' may be used uninitialized [-Wmaybe-uninitialized]
53 | undo->undo_stack = g_stack_new (undo->undo_stack);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bk_edit_undo.c: In function 'bk_edit_undo_undo':
bk_edit_undo.c:236:97: warning: pointer 'undo_item' used after 'free' [-Wuse-after-free]
236 | restore_folder_order (GTK_CTREE_ROW (node)->parent, undo_item->undo_data.undo_new->order_table);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
bk_edit_undo.c:234:25: note: call to 'free' here
234 | free (undo_item);
| ^~~~~~~~~~~~~~~~
bk_edit_undo.c:237:67: warning: pointer 'undo_item' used after 'free' [-Wuse-after-free]
237 | g_hash_table_destroy (undo_item->undo_data.undo_new->order_table);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
bk_edit_undo.c:234:25: note: call to 'free' here
234 | free (undo_item);
| ^~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dnd.c
bk_edit_dnd.c: In function 'bk_edit_dnd_drag_data_received':
bk_edit_dnd.c:109:59: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
109 | if ((name = strstr (selection_data->data, "
")))
| ~~~~~~~~~~~~~~^~~~~~
| |
| guchar * {aka unsigned char *}
In file included from /usr/include/string.h:34,
from bk_edit_dnd.c:28:
/usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'}
143 | extern char *strstr(const char *, const char *);
| ^~~~~~~~~~~~
bk_edit_dnd.c:115:58: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
115 | if ((url = strstr (selection_data->data, "href=\"")))
| ~~~~~~~~~~~~~~^~~~~~
| |
| guchar * {aka unsigned char *}
/usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'}
143 | extern char *strstr(const char *, const char *);
| ^~~~~~~~~~~~
bk_edit_dnd.c:181:59: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
181 | if ((name = strstr (selection_data->data, "NAME=")))
| ~~~~~~~~~~~~~~^~~~~~
| |
| guchar * {aka unsigned char *}
/usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'}
143 | extern char *strstr(const char *, const char *);
| ^~~~~~~~~~~~
bk_edit_dnd.c:187:58: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
187 | if ((url = strstr (selection_data->data, "URL=")))
| ~~~~~~~~~~~~~~^~~~~~
| |
| guchar * {aka unsigned char *}
/usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'}
143 | extern char *strstr(const char *, const char *);
| ^~~~~~~~~~~~
bk_edit_dnd.c:271:29: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
271 | url = selection_data->data;
| ^
bk_edit_dnd.c:273:59: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
273 | if ((name = strchr (selection_data->data, '\n')) != NULL)
| ~~~~~~~~~~~~~~^~~~~~
| |
| guchar * {aka unsigned char *}
/usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'}
140 | extern char *strchr(const char *, int);
| ^~~~~~~~~~~~
bk_edit_dnd.c:321:75: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
321 | node_data->elements[NAME] = strdup (selection_data->data);
| ~~~~~~~~~~~~~~^~~~~~
| |
| guchar * {aka unsigned char *}
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'}
139 | extern char *strdup(const char *);
| ^~~~~~~~~~~~
bk_edit_dnd.c:324:78: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
324 | node_data->elements[COMMENT] = strdup (selection_data->data);
| ~~~~~~~~~~~~~~^~~~~~
| |
| guchar * {aka unsigned char *}
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'}
139 | extern char *strdup(const char *);
| ^~~~~~~~~~~~
bk_edit_dnd.c:343:76: warning: pointer targets in passing argument 1 of 'uri_list_extract_uris' differ in signedness [-Wpointer-sign]
343 | GList *uris = uri_list_extract_uris (selection_data->data);
| ~~~~~~~~~~~~~~^~~~~~
| |
| guchar * {aka unsigned char *}
bk_edit_dnd.c:58:51: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'}
58 | static GList *uri_list_extract_uris (const gchar* uri_list);
| ~~~~~~~~~~~~~^~~~~~~~
bk_edit_dnd.c: In function 'uri_list_add':
bk_edit_dnd.c:551:9: warning: 'node_data' may be used uninitialized [-Wmaybe-uninitialized]
551 | gtk_clist_select_row (GTK_CLIST (tree.tree), gtk_clist_find_row_from_data (GTK_CLIST (tree.tree), node_data), 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bk_edit_dnd.c:497:28: note: 'node_data' was declared here
497 | bk_edit_tree_data *node_data;
| ^~~~~~~~~
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/gtk-1.2/gtk/gtk.h:52,
from bk_edit.h:4,
from bk_edit_dnd.c:30:
/home/pbulk/build/www/bkedit/work/.buildlink/include/gtk-1.2/gtk/gtkctree.h:46:67: warning: 'node' may be used uninitialized [-Wmaybe-uninitialized]
46 | #define GTK_CTREE_ROW(_node_) ((GtkCTreeRow *)(((GList *)(_node_))->data))
| ^~
bk_edit_dnd.c:496:23: note: 'node' was declared here
496 | GtkCTreeNode *node;
| ^~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_misc.c
bk_edit_misc.c: In function 'bk_edit_misc_get_selection':
bk_edit_misc.c:170:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
170 | return (int) list->selection->data;
| ^
bk_edit_misc.c: In function 'bk_edit_misc_mixed_utf8_to_latin1':
bk_edit_misc.c:196:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
196 | in_size = strlen (in_index);
| ^~~~~~~~
| |
| unsigned char *
In file included from /usr/include/string.h:34,
from bk_edit_misc.c:47:
/usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *'
79 | extern size_t strlen(const char *);
| ^~~~~~~~~~~~
bk_edit_misc.c: In function 'bk_edit_misc_utf8_to_latin1_in_place':
bk_edit_misc.c:221:36: warning: pointer targets in passing argument 1 of 'UTF8Toisolat1' differ in signedness [-Wpointer-sign]
221 | if (UTF8Toisolat1 (out, &out_len, in, &in_len) < 0)
| ^~~
| |
| char *
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:812,
from bk_edit_misc.c:57:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/encoding.h:231:57: note: expected 'unsigned char *' but argument is of type 'char *'
231 | UTF8Toisolat1 (unsigned char *out,
| ~~~~~~~~~~~~~~~^~~
bk_edit_misc.c:221:51: warning: pointer targets in passing argument 3 of 'UTF8Toisolat1' differ in signedness [-Wpointer-sign]
221 | if (UTF8Toisolat1 (out, &out_len, in, &in_len) < 0)
| ^~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/encoding.h:233:63: note: expected 'const unsigned char *' but argument is of type 'char *'
233 | const unsigned char *in,
| ~~~~~~~~~~~~~~~~~~~~~^~
bk_edit_misc.c: In function 'bk_edit_misc_utf8_to_latin1':
bk_edit_misc.c:250:71: warning: pointer targets in passing argument 3 of 'bk_edit_misc_mixed_utf8_to_latin1' differ in signedness [-Wpointer-sign]
250 | if (bk_edit_misc_mixed_utf8_to_latin1 (out, &out_len, in, &in_len) != OK)
| ^~
| |
| char *
bk_edit_misc.c:174:89: note: expected 'unsigned char *' but argument is of type 'char *'
174 | int bk_edit_misc_mixed_utf8_to_latin1 (unsigned char *out, int *out_len, unsigned char *in, int *in_len)
| ~~~~~~~~~~~~~~~^~
bk_edit_misc.c:258:24: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign]
258 | return out;
| ^~~
bk_edit_misc.c: In function 'bk_edit_misc_latin1_to_utf8':
bk_edit_misc.c:279:51: warning: pointer targets in passing argument 3 of 'isolat1ToUTF8' differ in signedness [-Wpointer-sign]
279 | if (isolat1ToUTF8 (out, &out_len, in, &in_len) < 0)
| ^~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/encoding.h:239:63: note: expected 'const unsigned char *' but argument is of type 'char *'
239 | const unsigned char *in,
| ~~~~~~~~~~~~~~~~~~~~~^~
bk_edit_misc.c:285:24: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign]
285 | return out;
| ^~~
bk_edit_misc.c: In function 'bk_edit_misc_html_entities_decode':
bk_edit_misc.c:418:52: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
418 | char *e = (char *) alloca (end - ii + 1);
| ^~~~~~
bk_edit_misc.c:418:52: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
bk_edit_misc.c: In function 'bk_edit_misc_xml_entities_encode':
bk_edit_misc.c:463:55: warning: pointer targets in passing argument 2 of 'xmlEncodeEntitiesReentrant' differ in signedness [-Wpointer-sign]
463 | char *out = xmlEncodeEntitiesReentrant (NULL, inn);
| ^~~
| |
| char *
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:20:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/entities.h:121:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
121 | const xmlChar *input);
| ~~~~~~~~~~~~~~~^~~~~
bk_edit_misc.c:463:21: warning: pointer targets in initialization of 'char *' from 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
463 | char *out = xmlEncodeEntitiesReentrant (NULL, inn);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
bk_edit_misc.c: In function 'bk_edit_misc_xml_entities_decode':
bk_edit_misc.c:475:51: warning: pointer targets in passing argument 2 of 'xmlStringDecodeEntities' differ in signedness [-Wpointer-sign]
475 | char *out = xmlStringDecodeEntities (ctx, in, XML_SUBSTITUTE_REF, 0, 0, 0);
| ^~
| |
| char *
In file included from bk_edit_misc.c:58:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parserInternals.h:523:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
523 | const xmlChar *str,
| ~~~~~~~~~~~~~~~^~~
bk_edit_misc.c:475:21: warning: pointer targets in initialization of 'char *' from 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
475 | char *out = xmlStringDecodeEntities (ctx, in, XML_SUBSTITUTE_REF, 0, 0, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_date.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_icon.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_gtkrc.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_url_handler.c
bk_edit_url_handler.c: In function 'bk_edit_url_handler':
bk_edit_url_handler.c:80:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
80 | if (USE_DEFAULT_HANDLER == (int) callback_data)
| ^
bk_edit_url_handler.c:174:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
174 | g_timeout_add (2500, (GSourceFunc) child_reaper, (gpointer) pid);
| ^
bk_edit_url_handler.c: In function 'child_reaper':
bk_edit_url_handler.c:196:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
196 | if (waitpid ((int) pid, NULL, WNOHANG) == (int) pid)
| ^
bk_edit_url_handler.c:196:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
196 | if (waitpid ((int) pid, NULL, WNOHANG) == (int) pid)
| ^
bk_edit_url_handler.c: In function 'popt_parse_argv_string':
bk_edit_url_handler.c:265:25: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
265 | char * buf = memset(alloca(buflen), 0, buflen);
| ^~~~~~
bk_edit_url_handler.c:265:25: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dialog_main.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dialog_info.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dialog_about.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dialog_edit.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dialog_undo.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dialog_clipboard.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dialog_plugin.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dialog_box.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dialog_dnd.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dialog_find.c
bk_edit_dialog_find.c: In function 'find':
bk_edit_dialog_find.c:236:76: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
236 | gtk_clist_set_row_data (GTK_CLIST (dialog_find.list), row, (gpointer) node_data->id);
| ^
bk_edit_dialog_find.c: In function 'row_selected':
bk_edit_dialog_find.c:291:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
291 | int id = (int) gtk_clist_get_row_data (GTK_CLIST (dialog_find.list), row);
| ^
bk_edit_dialog_find.c:293:94: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
293 | GtkCTreeNode *node = gtk_ctree_find_by_row_data_custom (GTK_CTREE (tree.tree), NULL, (gpointer) id, compare_id);
| ^
bk_edit_dialog_find.c:299:44: warning: variable 'node_data' set but not used [-Wunused-but-set-variable]
299 | bk_edit_tree_data *node_data;
| ^~~~~~~~~
bk_edit_dialog_find.c: In function 'compare_id':
bk_edit_dialog_find.c:316:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
316 | if (node_data->id == (int) id)
| ^
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_dialog_config.c
bk_edit_dialog_config.c: In function 'url_handler_update':
bk_edit_dialog_config.c:542:90: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
542 | gtk_clist_set_row_data (GTK_CLIST (dialog_config.url_handler_list), row, (gpointer) ((config_url_handler *) url_handler->data)->default_handler);
| ^
bk_edit_dialog_config.c: In function 'ok':
bk_edit_dialog_config.c:704:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
704 | url_handler->default_handler = (int) gtk_clist_get_row_data (GTK_CLIST (dialog_config.url_handler_list), n);
| ^
bk_edit_dialog_config.c:702:28: warning: array subscript 'config_url_handler {aka struct config_url_handler_tag}[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
702 | url_handler->name = strdup (name);
| ^~
bk_edit_dialog_config.c:693:74: note: object of size 8 allocated by 'malloc'
693 | config_url_handler *url_handler = (config_url_handler *) malloc (sizeof (url_handler));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bk_edit_dialog_config.c:703:28: warning: array subscript 'config_url_handler {aka struct config_url_handler_tag}[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
703 | url_handler->command = strdup (command);
| ^~
bk_edit_dialog_config.c:693:74: note: object of size 8 allocated by 'malloc'
693 | config_url_handler *url_handler = (config_url_handler *) malloc (sizeof (url_handler));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bk_edit_dialog_config.c:704:28: warning: array subscript 'config_url_handler {aka struct config_url_handler_tag}[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
704 | url_handler->default_handler = (int) gtk_clist_get_row_data (GTK_CLIST (dialog_config.url_handler_list), n);
| ^~
bk_edit_dialog_config.c:693:74: note: object of size 8 allocated by 'malloc'
693 | config_url_handler *url_handler = (config_url_handler *) malloc (sizeof (url_handler));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_recent_document.c
bk_edit_recent_document.c: In function 'bk_edit_recent_document':
bk_edit_recent_document.c:52:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
52 | ok (NULL, (void *) callback_action);
| ^
bk_edit_recent_document.c:56:121: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
56 | bk_edit_dialog_box ("bk edit - warning", "This will discard all unsaved data.", icon_warning, ok, NULL, (void *) callback_action);
| ^
bk_edit_recent_document.c: In function 'ok':
bk_edit_recent_document.c:120:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
120 | len = (int) which;
| ^
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_sort.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c bk_edit_modify_indicator.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c dialog_options.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c command_line.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c config.c
config.c: In function 'config_recent_documents_list_get':
config.c:134:58: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign]
134 | xmlXPathObjectPtr path = xmlXPathEvalExpression ("/child::bk_edit/child::recently_opened_documents/child::document", path_ctx);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
In file included from config.c:39:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xpath.h:529:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
529 | xmlXPathEvalExpression (const xmlChar *str,
| ~~~~~~~~~~~~~~~^~~
config.c:161:50: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
161 | if (!strcmp (node->name, "filename"))
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
In file included from /usr/include/string.h:34,
from config.c:32:
/usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
74 | extern int strcmp(const char *, const char *);
| ^~~~~~~~~~~~
config.c:165:87: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
165 | doc->filename = strdup (node->children->content);
| ~~~~~~~~~~~~~~^~~~~~~~~
| |
| xmlChar * {aka unsigned char *}
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
139 | extern char *strdup(const char *);
| ^~~~~~~~~~~~
config.c:172:55: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
172 | else if (!strcmp (node->name, "plugin"))
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
74 | extern int strcmp(const char *, const char *);
| ^~~~~~~~~~~~
config.c:176:85: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
176 | doc->plugin = strdup (node->children->content);
| ~~~~~~~~~~~~~~^~~~~~~~~
| |
| xmlChar * {aka unsigned char *}
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
139 | extern char *strdup(const char *);
| ^~~~~~~~~~~~
config.c: In function 'config_recent_documents_list_set':
config.c:205:58: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign]
205 | xmlXPathObjectPtr path = xmlXPathEvalExpression ("/child::bk_edit/child::recently_opened_documents/child::*", path_ctx);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xpath.h:529:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
529 | xmlXPathEvalExpression (const xmlChar *str,
| ~~~~~~~~~~~~~~~^~~
config.c:228:40: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign]
228 | path = xmlXPathEvalExpression ("/child::bk_edit/child::recently_opened_documents", path_ctx);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xpath.h:529:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
529 | xmlXPathEvalExpression (const xmlChar *str,
| ~~~~~~~~~~~~~~~^~~
config.c:232:73: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
232 | node = xmlNewChild (path->nodesetval->nodeTab[0], NULL, "document", NULL);
| ^~~~~~~~~~
| |
| char *
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:16,
from config.c:38:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:233:42: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
233 | xmlNewChild (node, NULL, "filename", ((config_recent_document *) l->data)->filename);
| ^~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:233:90: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
233 | xmlNewChild (node, NULL, "filename", ((config_recent_document *) l->data)->filename);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:234:42: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
234 | xmlNewChild (node, NULL, "plugin", ((config_recent_document *) l->data)->plugin);
| ^~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:234:88: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
234 | xmlNewChild (node, NULL, "plugin", ((config_recent_document *) l->data)->plugin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c: In function 'config_url_handlers_get':
config.c:266:58: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign]
266 | xmlXPathObjectPtr path = xmlXPathEvalExpression ("/child::bk_edit/child::url_handlers/child::*", path_ctx);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xpath.h:529:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
529 | xmlXPathEvalExpression (const xmlChar *str,
| ~~~~~~~~~~~~~~~^~~
config.c:295:50: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
295 | if (!strcmp (attr->name, "default"))
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
74 | extern int strcmp(const char *, const char *);
| ^~~~~~~~~~~~
config.c:308:50: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
308 | if (!strcmp (node->name, "name"))
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
74 | extern int strcmp(const char *, const char *);
| ^~~~~~~~~~~~
config.c:312:112: warning: pointer targets in passing argument 1 of 'bk_edit_misc_utf8_to_latin1' differ in signedness [-Wpointer-sign]
312 | url_handler->name = bk_edit_misc_utf8_to_latin1 (node->children->content);
| ~~~~~~~~~~~~~~^~~~~~~~~
| |
| xmlChar * {aka unsigned char *}
In file included from config.c:43:
bk_edit_misc.h:33:42: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
33 | char *bk_edit_misc_utf8_to_latin1 (char *in);
| ~~~~~~^~
config.c:319:55: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
319 | else if (!strcmp (node->name, "command"))
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
74 | extern int strcmp(const char *, const char *);
| ^~~~~~~~~~~~
config.c:323:115: warning: pointer targets in passing argument 1 of 'bk_edit_misc_utf8_to_latin1' differ in signedness [-Wpointer-sign]
323 | url_handler->command = bk_edit_misc_utf8_to_latin1 (node->children->content);
| ~~~~~~~~~~~~~~^~~~~~~~~
| |
| xmlChar * {aka unsigned char *}
bk_edit_misc.h:33:42: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
33 | char *bk_edit_misc_utf8_to_latin1 (char *in);
| ~~~~~~^~
config.c: In function 'config_url_handlers_set':
config.c:353:58: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign]
353 | xmlXPathObjectPtr path = xmlXPathEvalExpression ("/child::bk_edit/child::url_handlers/child::*", path_ctx);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xpath.h:529:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
529 | xmlXPathEvalExpression (const xmlChar *str,
| ~~~~~~~~~~~~~~~^~~
config.c:376:40: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign]
376 | path = xmlXPathEvalExpression ("/child::bk_edit/child::url_handlers", path_ctx);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xpath.h:529:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
529 | xmlXPathEvalExpression (const xmlChar *str,
| ~~~~~~~~~~~~~~~^~~
config.c:383:73: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
383 | node = xmlNewChild (path->nodesetval->nodeTab[0], NULL, "url_handler", NULL);
| ^~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:385:42: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
385 | xmlNewChild (node, NULL, "name", name);
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:385:50: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
385 | xmlNewChild (node, NULL, "name", name);
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:386:42: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
386 | xmlNewChild (node, NULL, "command", command);
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:386:53: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
386 | xmlNewChild (node, NULL, "command", command);
| ^~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:393:43: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
393 | xmlNewProp (node, "default", "yes");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:393:54: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
393 | xmlNewProp (node, "default", "yes");
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c: In function 'use_default_values':
config.c:549:29: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign]
549 | c->doc = xmlNewDoc ("1.0");
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:780:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
780 | xmlNewDoc (const xmlChar *version);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:551:34: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign]
551 | root = xmlNewNode (NULL, "bk_edit");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:838:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
838 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
config.c:555:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
555 | url_handlers = xmlNewChild (root, NULL, "url_handlers", NULL);
| ^~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:557:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
557 | node = xmlNewChild (url_handlers, NULL, "url_handler", NULL);
| ^~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:558:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
558 | xmlNewChild (node, NULL, "name", "Mozilla (New Window)");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:558:42: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
558 | xmlNewChild (node, NULL, "name", "Mozilla (New Window)");
| ^~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:559:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
559 | xmlNewChild (node, NULL, "command", "mozilla -remote 'openURL(%u,new-window)'");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:559:45: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
559 | xmlNewChild (node, NULL, "command", "mozilla -remote 'openURL(%u,new-window)'");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:561:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
561 | node = xmlNewChild (url_handlers, NULL, "url_handler", NULL);
| ^~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:562:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
562 | xmlNewChild (node, NULL, "name", "Mozilla (Existing)");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:562:42: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
562 | xmlNewChild (node, NULL, "name", "Mozilla (Existing)");
| ^~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:563:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
563 | xmlNewChild (node, NULL, "command", "mozilla -remote 'openURL(%u)'");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:563:45: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
563 | xmlNewChild (node, NULL, "command", "mozilla -remote 'openURL(%u)'");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:565:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
565 | node = xmlNewChild (url_handlers, NULL, "url_handler", NULL);
| ^~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:566:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
566 | xmlNewChild (node, NULL, "name", "Mozilla (New Tab)");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:566:42: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
566 | xmlNewChild (node, NULL, "name", "Mozilla (New Tab)");
| ^~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:567:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
567 | xmlNewChild (node, NULL, "command", "mozilla -remote 'openURL (%u,new-tab)'");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:567:45: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
567 | xmlNewChild (node, NULL, "command", "mozilla -remote 'openURL (%u,new-tab)'");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:568:27: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
568 | xmlNewProp (node, "default", "yes");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:568:38: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
568 | xmlNewProp (node, "default", "yes");
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:570:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
570 | node = xmlNewChild (url_handlers, NULL, "url_handler", NULL);
| ^~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:571:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
571 | xmlNewChild (node, NULL, "name", "www.archive.org (Mozilla)");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:571:42: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
571 | xmlNewChild (node, NULL, "name", "www.archive.org (Mozilla)");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:572:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
572 | xmlNewChild (node, NULL, "command", "mozilla -remote 'openURL(http://web.archive.org/web/*/%u,new-tab)'");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:572:45: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
572 | xmlNewChild (node, NULL, "command", "mozilla -remote 'openURL(http://web.archive.org/web/*/%u,new-tab)'");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:574:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
574 | node = xmlNewChild (url_handlers, NULL, "url_handler", NULL);
| ^~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:575:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
575 | xmlNewChild (node, NULL, "name", "Phoenix (New Tab)");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:575:42: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
575 | xmlNewChild (node, NULL, "name", "Phoenix (New Tab)");
| ^~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:576:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
576 | xmlNewChild (node, NULL, "command", "phoenix -remote 'openURL (%u,new-tab)'");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:576:45: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
576 | xmlNewChild (node, NULL, "command", "phoenix -remote 'openURL (%u,new-tab)'");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:578:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
578 | node = xmlNewChild (url_handlers, NULL, "url_handler", NULL);
| ^~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:579:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
579 | xmlNewChild (node, NULL, "name", "Opera (New Window)");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:579:42: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
579 | xmlNewChild (node, NULL, "name", "Opera (New Window)");
| ^~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:580:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
580 | xmlNewChild (node, NULL, "command", "opera -remote 'openURL(%u,new-window)'");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:580:45: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
580 | xmlNewChild (node, NULL, "command", "opera -remote 'openURL(%u,new-window)'");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:582:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
582 | node = xmlNewChild (url_handlers, NULL, "url_handler", NULL);
| ^~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:583:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
583 | xmlNewChild (node, NULL, "name", "Galeon (New Tab)");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:583:42: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
583 | xmlNewChild (node, NULL, "name", "Galeon (New Tab)");
| ^~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:584:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
584 | xmlNewChild (node, NULL, "command", "galeon --new-tab %u");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:584:45: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
584 | xmlNewChild (node, NULL, "command", "galeon --new-tab %u");
| ^~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:586:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
586 | node = xmlNewChild (url_handlers, NULL, "url_handler", NULL);
| ^~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:587:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
587 | xmlNewChild (node, NULL, "name", "Netscape (Existing)");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:587:42: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
587 | xmlNewChild (node, NULL, "name", "Netscape (Existing)");
| ^~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:588:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
588 | xmlNewChild (node, NULL, "command", "netscape -remote 'openURL(%u)'");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:588:45: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
588 | xmlNewChild (node, NULL, "command", "netscape -remote 'openURL(%u)'");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:590:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
590 | node = xmlNewChild (url_handlers, NULL, "url_handler", NULL);
| ^~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:591:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
591 | xmlNewChild (node, NULL, "name", "Netscape (New Window)");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:591:42: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
591 | xmlNewChild (node, NULL, "name", "Netscape (New Window)");
| ^~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:592:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
592 | xmlNewChild (node, NULL, "command", "netscape -remote 'openURL(%u,new-window)'");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:592:45: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
592 | xmlNewChild (node, NULL, "command", "netscape -remote 'openURL(%u,new-window)'");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:594:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
594 | node = xmlNewChild (url_handlers, NULL, "url_handler", NULL);
| ^~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:595:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
595 | xmlNewChild (node, NULL, "name", "Lynx (xterm)");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:595:42: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
595 | xmlNewChild (node, NULL, "name", "Lynx (xterm)");
| ^~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:596:34: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
596 | xmlNewChild (node, NULL, "command", "xterm -e lynx %u");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:596:45: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
596 | xmlNewChild (node, NULL, "command", "xterm -e lynx %u");
| ^~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
847 | const xmlChar *content);
| ~~~~~~~~~~~~~~~^~~~~~~
config.c:599:62: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
599 | recently_opened_documents = xmlNewChild (root, NULL, "recently_opened_documents", NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:600:48: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
600 | xmlNewProp (recently_opened_documents, "size", "5");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:600:56: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
600 | xmlNewProp (recently_opened_documents, "size", "5");
| ^~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:603:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
603 | browser_type = xmlNewChild (root, NULL, "browser_type", NULL);
| ^~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:604:35: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
604 | xmlNewProp (browser_type, "type", "Mozilla v1.0, v1.1, v1.2, v1.3 and Netscape 6+");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:604:43: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
604 | xmlNewProp (browser_type, "type", "Mozilla v1.0, v1.1, v1.2, v1.3 and Netscape 6+");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:607:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
607 | middle_mouse = xmlNewChild (root, NULL, "middle_mouse", NULL);
| ^~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:608:35: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
608 | xmlNewProp (middle_mouse, "use", "yes");
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:608:42: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
608 | xmlNewProp (middle_mouse, "use", "yes");
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:611:51: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
611 | dialog_options = xmlNewChild (root, NULL, "dialog_options", NULL);
| ^~~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:613:59: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
613 | url_dropzone = xmlNewChild (dialog_options, NULL, "url_dropzone", NULL);
| ^~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:614:35: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
614 | xmlNewProp (url_dropzone, "sticky", "no");
| ^~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:614:45: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
614 | xmlNewProp (url_dropzone, "sticky", "no");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:615:35: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
615 | xmlNewProp (url_dropzone, "always_on_top", "no");
| ^~~~~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:615:52: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
615 | xmlNewProp (url_dropzone, "always_on_top", "no");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:617:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
617 | node = xmlNewChild (url_dropzone, NULL, "size", NULL);
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:618:27: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
618 | xmlNewProp (node, "use", "no");
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:618:34: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
618 | xmlNewProp (node, "use", "no");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:619:27: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
619 | xmlNewProp (node, "width", "230");
| ^~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:619:36: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
619 | xmlNewProp (node, "width", "230");
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:620:27: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
620 | xmlNewProp (node, "height", "29");
| ^~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:620:37: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
620 | xmlNewProp (node, "height", "29");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:622:49: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
622 | node = xmlNewChild (url_dropzone, NULL, "position", NULL);
| ^~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:623:27: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
623 | xmlNewProp (node, "use", "no");
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:623:34: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
623 | xmlNewProp (node, "use", "no");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:624:27: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
624 | xmlNewProp (node, "x", "10");
| ^~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:624:32: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
624 | xmlNewProp (node, "x", "10");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:625:27: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
625 | xmlNewProp (node, "y", "10");
| ^~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:625:32: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
625 | xmlNewProp (node, "y", "10");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:628:47: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
628 | sort_order = xmlNewChild (root, NULL, "sort_order", NULL);
| ^~~~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:629:33: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
629 | xmlNewProp (sort_order, "type", "Unsorted");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:629:41: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
629 | xmlNewProp (sort_order, "type", "Unsorted");
| ^~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c: In function 'set_property':
config.c:636:58: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign]
636 | xmlXPathObjectPtr path = xmlXPathEvalExpression (xpath, path_ctx);
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xpath.h:529:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
529 | xmlXPathEvalExpression (const xmlChar *str,
| ~~~~~~~~~~~~~~~^~~
config.c:653:89: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
653 | xmlNodePtr browser_type = xmlNewChild (root, NULL, strrchr (xpath, ':') + 1, NULL);
| ~~~~~~~~~~~~~~~~~~~~~^~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:846:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
846 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:654:43: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
654 | xmlNewProp (browser_type, property, value);
| ^~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:791:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
791 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:654:53: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
654 | xmlNewProp (browser_type, property, value);
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
792 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c:665:27: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
665 | xmlSetProp (node, property, value);
| ^~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1016:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1016 | const xmlChar *name,
| ~~~~~~~~~~~~~~~^~~~
config.c:665:37: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
665 | xmlSetProp (node, property, value);
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1017:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1017 | const xmlChar *value);
| ~~~~~~~~~~~~~~~^~~~~
config.c: In function 'get_property':
config.c:675:58: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign]
675 | xmlXPathObjectPtr path = xmlXPathEvalExpression (xpath, path_ctx);
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xpath.h:529:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
529 | xmlXPathEvalExpression (const xmlChar *str,
| ~~~~~~~~~~~~~~~^~~
config.c:689:29: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
689 | value = strdup (path->stringval);
| ~~~~^~~~~~~~~~~
| |
| xmlChar * {aka unsigned char *}
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
139 | extern char *strdup(const char *);
| ^~~~~~~~~~~~
config.c: In function 'config_url_handlers_get':
config.c:289:28: warning: array subscript 'config_url_handler {aka struct config_url_handler_tag}[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
289 | url_handler->default_handler = CONFIG_URL_HANDLER_NORMAL;
| ^~
config.c:283:74: note: object of size 8 allocated by 'malloc'
283 | config_url_handler *url_handler = (config_url_handler *) malloc (sizeof (url_handler));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config.c:297:52: warning: array subscript 'config_url_handler {aka struct config_url_handler_tag}[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
297 | url_handler->default_handler = CONFIG_URL_HANDLER_DEFAULT;
| ^~
config.c:283:74: note: object of size 8 allocated by 'malloc'
283 | config_url_handler *url_handler = (config_url_handler *) malloc (sizeof (url_handler));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config.c:327:60: warning: array subscript 'config_url_handler {aka struct config_url_handler_tag}[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
327 | url_handler->command = strdup ("");
| ^~
config.c:283:74: note: object of size 8 allocated by 'malloc'
283 | config_url_handler *url_handler = (config_url_handler *) malloc (sizeof (url_handler));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config.c:323:60: warning: array subscript 'config_url_handler {aka struct config_url_handler_tag}[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
323 | url_handler->command = bk_edit_misc_utf8_to_latin1 (node->children->content);
| ^~
config.c:283:74: note: object of size 8 allocated by 'malloc'
283 | config_url_handler *url_handler = (config_url_handler *) malloc (sizeof (url_handler));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config.c:316:60: warning: array subscript 'config_url_handler {aka struct config_url_handler_tag}[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
316 | url_handler->name = strdup ("");
| ^~
config.c:283:74: note: object of size 8 allocated by 'malloc'
283 | config_url_handler *url_handler = (config_url_handler *) malloc (sizeof (url_handler));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config.c:312:60: warning: array subscript 'config_url_handler {aka struct config_url_handler_tag}[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds]
312 | url_handler->name = bk_edit_misc_utf8_to_latin1 (node->children->content);
| ^~
config.c:283:74: note: object of size 8 allocated by 'malloc'
283 | config_url_handler *url_handler = (config_url_handler *) malloc (sizeof (url_handler));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c convert.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c plugin.c
plugin.c: In function 'plugin_new':
plugin.c:61:32: warning: 'plug' may be used uninitialized [-Wmaybe-uninitialized]
61 | plugin *plug = plugin_load (plug, so.gl_pathv[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugin.c:61:25: note: 'plug' was declared here
61 | plugin *plug = plugin_load (plug, so.gl_pathv[i]);
| ^~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c char_vector.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c g_stack.c
cd plugins && make
cd all_edit && make
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c all_edit.c
gcc -shared all_edit.o -o all_edit.so
/bin/cp all_edit.so ../
cd nn4 && make
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c nn4.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c nn4_ui.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c nn4_parse.c
/home/pbulk/build/www/bkedit/work/.tools/bin/bison -d -o nn4_parse.yacc.c nn4_parse.yacc
nn4_parse.yacc: warning: 3 shift/reduce conflicts [-Wconflicts-sr]
nn4_parse.yacc: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
nn4_parse.yacc: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c nn4_parse.yacc.c
nn4_parse.yacc.c: In function 'yyparse':
nn4_parse.yacc.c:1113:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
1113 | yychar = yylex ();
| ^~~~~
nn4_parse.yacc.c:1374:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration]
1374 | yyerror (YY_("syntax error"));
| ^~~~~~~
| yyerrok
/opt/pkg/bin/flex -i -onn4_parse.lex.c nn4_parse.lex
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c nn4_parse.lex.c
nn4_parse.lex: In function 'yylex':
nn4_parse.lex:79:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
79 | if (yylval == (YYSTYPE) NULL)
| ^
nn4_parse.lex:80:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
80 | {
| ^
nn4_parse.lex:98:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
98 | if (yylval == (YYSTYPE) NULL)
| ^
nn4_parse.lex:99:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
99 | {
| ^
nn4_parse.lex:133:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
133 | if (yylval == (YYSTYPE) NULL)
| ^
nn4_parse.lex:134:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
134 | {
| ^
nn4_parse.lex:156:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
156 | if (yylval == (YYSTYPE) NULL)
| ^
nn4_parse.lex:157:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
157 | {
| ^
nn4_parse.lex:166:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
166 | if (yylval == (YYSTYPE) NULL)
| ^
nn4_parse.lex:167:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
167 | {
| ^
nn4_parse.lex:194:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
194 | if (yylval == (YYSTYPE) NULL)
| ^
nn4_parse.lex:195:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
195 | {
| ^
nn4_parse.lex:204:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
204 | if (yylval == (YYSTYPE) NULL)
| ^
nn4_parse.lex:205:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
205 | {
| ^
nn4_parse.lex: In function 'non_greedy_parsing':
nn4_parse.lex:231:33: warning: 'text_cv' is used uninitialized [-Wuninitialized]
231 | char *text_end = NULL;
| ^~~~~
nn4_parse.lex:231:22: note: 'text_cv' was declared here
231 | char *text_end = NULL;
| ^~~~~~~
gcc -shared nn4.o nn4_ui.o nn4_parse.o nn4_parse.yacc.o nn4_parse.lex.o -o nn4.so
/bin/cp nn4.so ../
cd moz && make
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c moz.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c moz_ui.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c moz_parse.c
/home/pbulk/build/www/bkedit/work/.tools/bin/bison -d -o moz_parse.yacc.c moz_parse.yacc
moz_parse.yacc: warning: 3 shift/reduce conflicts [-Wconflicts-sr]
moz_parse.yacc: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
moz_parse.yacc: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c moz_parse.yacc.c
moz_parse.yacc.c: In function 'yyparse':
moz_parse.yacc.c:1178:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
1178 | yychar = yylex ();
| ^~~~~
moz_parse.yacc.c:1535:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration]
1535 | yyerror (YY_("syntax error"));
| ^~~~~~~
| yyerrok
/opt/pkg/bin/flex -i -omoz_parse.lex.c moz_parse.lex
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c moz_parse.lex.c
moz_parse.lex: In function 'yylex':
moz_parse.lex:83:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
83 | if (yylval == (YYSTYPE) NULL)
| ^
moz_parse.lex:84:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
84 | {
| ^
moz_parse.lex:102:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
102 | if (yylval == (YYSTYPE) NULL)
| ^
moz_parse.lex:103:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
103 | {
| ^
moz_parse.lex:137:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
137 | if (yylval == (YYSTYPE) NULL)
| ^
moz_parse.lex:138:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
138 | {
| ^
moz_parse.lex:166:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
166 | if (yylval == (YYSTYPE) NULL)
| ^
moz_parse.lex:167:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
167 | {
| ^
moz_parse.lex:176:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
176 | if (yylval == (YYSTYPE) NULL)
| ^
moz_parse.lex:177:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
177 | {
| ^
moz_parse.lex:214:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
214 | if (yylval == (YYSTYPE) NULL)
| ^
moz_parse.lex:215:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
215 | {
| ^
moz_parse.lex:224:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
224 | if (yylval == (YYSTYPE) NULL)
| ^
moz_parse.lex:225:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
225 | {
| ^
moz_parse.lex: In function 'non_greedy_parsing':
moz_parse.lex:251:33: warning: 'text_cv' is used uninitialized [-Wuninitialized]
251 | char *text_end = NULL;
| ^~~~~
moz_parse.lex:251:22: note: 'text_cv' was declared here
251 | char *text_end = NULL;
| ^~~~~~~
gcc -shared moz.o moz_ui.o moz_parse.o moz_parse.yacc.o moz_parse.lex.o -o moz.so
/bin/cp moz.so ../
cd opera && make
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera_misc.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera_ui.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera_parse.c
/home/pbulk/build/www/bkedit/work/.tools/bin/bison -d -o opera_parse.yacc.c opera_parse.yacc
opera_parse.yacc: warning: 3 shift/reduce conflicts [-Wconflicts-sr]
opera_parse.yacc: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
opera_parse.yacc: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
opera_parse.yacc:85.10: warning: rule useless in parser due to conflicts [-Wother]
85 | | /* void */
| ^
opera_parse.yacc:106.8: warning: rule useless in parser due to conflicts [-Wother]
106 | | /* void */
| ^
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera_parse.yacc.c
opera_parse.yacc.c: In function 'yyparse':
opera_parse.yacc.c:1050:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
1050 | yychar = yylex ();
| ^~~~~
opera_parse.yacc.c:1323:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration]
1323 | yyerror (YY_("syntax error"));
| ^~~~~~~
| yyerrok
/opt/pkg/bin/flex -i -oopera_parse.lex.c opera_parse.lex
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera_parse.lex.c
opera_parse.lex: In function 'yylex':
opera_parse.lex:76:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
76 |
| ^
opera_parse.lex.c: At top level:
opera_parse.lex.c:1378:16: warning: 'input' defined but not used [-Wunused-function]
1378 | #else
| ^
opera_parse.lex.c:1331:17: warning: 'yyunput' defined but not used [-Wunused-function]
1331 |
| ^
gcc -shared opera.o opera_misc.o opera_ui.o opera_parse.o opera_parse.yacc.o opera_parse.lex.o -o opera.so
/bin/cp opera.so ../
cd opera7 && make
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera7.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera7_misc.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera7_ui.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera7_parse.c
/home/pbulk/build/www/bkedit/work/.tools/bin/bison -d -o opera7_parse.yacc.c opera7_parse.yacc
opera7_parse.yacc: warning: 3 shift/reduce conflicts [-Wconflicts-sr]
opera7_parse.yacc: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
opera7_parse.yacc: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
opera7_parse.yacc:92.10: warning: rule useless in parser due to conflicts [-Wother]
92 | | /* void */
| ^
opera7_parse.yacc:117.8: warning: rule useless in parser due to conflicts [-Wother]
117 | | /* void */
| ^
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera7_parse.yacc.c
opera7_parse.yacc.c: In function 'yyparse':
opera7_parse.yacc.c:1074:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
1074 | yychar = yylex ();
| ^~~~~
opera7_parse.yacc.c:1425:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration]
1425 | yyerror (YY_("syntax error"));
| ^~~~~~~
| yyerrok
/opt/pkg/bin/flex -i -oopera7_parse.lex.c opera7_parse.lex
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c opera7_parse.lex.c
opera7_parse.lex: In function 'yylex':
opera7_parse.lex:85:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
85 |
| ^
opera7_parse.lex.c: At top level:
opera7_parse.lex.c:1518:16: warning: 'input' defined but not used [-Wunused-function]
1518 | #else
| ^
opera7_parse.lex.c:1471:17: warning: 'yyunput' defined but not used [-Wunused-function]
1471 |
| ^
gcc -shared opera7.o opera7_misc.o opera7_ui.o opera7_parse.o opera7_parse.yacc.o opera7_parse.lex.o -o opera7.so
/bin/cp opera7.so ../
cd galeon && make
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c galeon.c
galeon.c: In function 'convert_node_data_to_UTF8':
galeon.c:372:57: warning: pointer targets in passing argument 1 of 'isolat1ToUTF8' differ in signedness [-Wpointer-sign]
372 | if (isolat1ToUTF8 (temp.elements[i], &temp_size, from->elements[i], &from_size) < 0)
| ~~~~~~~~~~~~~^~~
| |
| char *
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:812,
from galeon.c:35:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/encoding.h:237:57: note: expected 'unsigned char *' but argument is of type 'char *'
237 | isolat1ToUTF8 (unsigned char *out,
| ~~~~~~~~~~~~~~~^~~
galeon.c:372:88: warning: pointer targets in passing argument 3 of 'isolat1ToUTF8' differ in signedness [-Wpointer-sign]
372 | if (isolat1ToUTF8 (temp.elements[i], &temp_size, from->elements[i], &from_size) < 0)
| ~~~~~~~~~~~~~~^~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/encoding.h:239:63: note: expected 'const unsigned char *' but argument is of type 'char *'
239 | const unsigned char *in,
| ~~~~~~~~~~~~~~~~~~~~~^~
galeon.c:379:76: warning: pointer targets in passing argument 2 of 'xmlEncodeSpecialChars' differ in signedness [-Wpointer-sign]
379 | t = tt = xmlEncodeSpecialChars (NULL, temp.elements[i]);
| ~~~~~~~~~~~~~^~~
| |
| char *
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:20:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/entities.h:124:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
124 | const xmlChar *input);
| ~~~~~~~~~~~~~~~^~~~~
galeon.c:420:74: warning: pointer targets in passing argument 1 of 'xmlStrcat' differ in signedness [-Wpointer-sign]
420 | to->elements[i] = xmlStrcat (to->elements[i], buffer);
| ~~~~~~~~~~~~^~~
| |
| char *
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:18,
from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:16:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xmlstring.h:87:52: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
87 | xmlStrcat (xmlChar *cur,
| ~~~~~~~~~^~~
galeon.c:420:79: warning: pointer targets in passing argument 2 of 'xmlStrcat' differ in signedness [-Wpointer-sign]
420 | to->elements[i] = xmlStrcat (to->elements[i], buffer);
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xmlstring.h:88:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
88 | const xmlChar *add);
| ~~~~~~~~~~~~~~~^~~
galeon.c:420:49: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
420 | to->elements[i] = xmlStrcat (to->elements[i], buffer);
| ^
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c galeon_dom.c
galeon_dom.c: In function 'node_get_metadata':
galeon_dom.c:92:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
92 | if (strncmp (node->name, "info", sizeof ("info")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
In file included from /usr/include/string.h:34,
from galeon_dom.c:29:
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
galeon_dom.c:99:47: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
99 | if (strncmp (n->name, "metadata", sizeof ("metadata")) == 0)
| ~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
galeon_dom.c:107:117: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
107 | node_data->elements[PIXMAP] = node_get_element_content (nn, "pixmap", sizeof ("pixmap"));
| ^~~~~~~~
| |
| char *
galeon_dom.c:54:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
54 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length);
| ~~~~~~~~~^~~~~~~
galeon_dom.c:107:85: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
107 | node_data->elements[PIXMAP] = node_get_element_content (nn, "pixmap", sizeof ("pixmap"));
| ^
galeon_dom.c:110:125: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
110 | node_data->elements[CREATE_TOOLBAR] = node_get_element_content (nn, "create_toolbar", sizeof ("create_toolbar"));
| ^~~~~~~~~~~~~~~~
| |
| char *
galeon_dom.c:54:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
54 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length);
| ~~~~~~~~~^~~~~~~
galeon_dom.c:110:93: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
110 | node_data->elements[CREATE_TOOLBAR] = node_get_element_content (nn, "create_toolbar", sizeof ("create_toolbar"));
| ^
galeon_dom.c:113:125: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
113 | node_data->elements[CREATE_CONTEXT] = node_get_element_content (nn, "create_context", sizeof ("create_context"));
| ^~~~~~~~~~~~~~~~
| |
| char *
galeon_dom.c:54:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
54 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length);
| ~~~~~~~~~^~~~~~~
galeon_dom.c:113:93: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
113 | node_data->elements[CREATE_CONTEXT] = node_get_element_content (nn, "create_context", sizeof ("create_context"));
| ^
galeon_dom.c:116:124: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
116 | node_data->elements[TOOLBAR_STYLE] = node_get_element_content (nn, "toolbar_style", sizeof ("toolbar_style"));
| ^~~~~~~~~~~~~~~
| |
| char *
galeon_dom.c:54:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
54 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length);
| ~~~~~~~~~^~~~~~~
galeon_dom.c:116:92: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
116 | node_data->elements[TOOLBAR_STYLE] = node_get_element_content (nn, "toolbar_style", sizeof ("toolbar_style"));
| ^
galeon_dom.c:119:121: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
119 | node_data->elements[LAST_VISIT] = node_get_element_content (nn, "time_visited", sizeof ("time_visited"));
| ^~~~~~~~~~~~~~
| |
| char *
galeon_dom.c:54:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
54 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length);
| ~~~~~~~~~^~~~~~~
galeon_dom.c:119:89: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
119 | node_data->elements[LAST_VISIT] = node_get_element_content (nn, "time_visited", sizeof ("time_visited"));
| ^
galeon_dom.c:122:124: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
122 | node_data->elements[LAST_MODIFIED] = node_get_element_content (nn, "time_modified", sizeof ("time_modified"));
| ^~~~~~~~~~~~~~~
| |
| char *
galeon_dom.c:54:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
54 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length);
| ~~~~~~~~~^~~~~~~
galeon_dom.c:122:92: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
122 | node_data->elements[LAST_MODIFIED] = node_get_element_content (nn, "time_modified", sizeof ("time_modified"));
| ^
galeon_dom.c:125:119: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
125 | node_data->elements[ADD_DATE] = node_get_element_content (nn, "time_added", sizeof ("time_added"));
| ^~~~~~~~~~~~
| |
| char *
galeon_dom.c:54:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
54 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length);
| ~~~~~~~~~^~~~~~~
galeon_dom.c:125:87: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
125 | node_data->elements[ADD_DATE] = node_get_element_content (nn, "time_added", sizeof ("time_added"));
| ^
galeon_dom.c:128:119: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
128 | node_data->elements[NICKNAME] = node_get_element_content (nn, "nick", sizeof ("nick"));
| ^~~~~~
| |
| char *
galeon_dom.c:54:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
54 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length);
| ~~~~~~~~~^~~~~~~
galeon_dom.c:128:87: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
128 | node_data->elements[NICKNAME] = node_get_element_content (nn, "nick", sizeof ("nick"));
| ^
galeon_dom.c:131:119: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
131 | node_data->elements[SMARTURL] = node_get_element_content (nn, "smarturl", sizeof ("smarturl"));
| ^~~~~~~~~~
| |
| char *
galeon_dom.c:54:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
54 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length);
| ~~~~~~~~~^~~~~~~
galeon_dom.c:131:87: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
131 | node_data->elements[SMARTURL] = node_get_element_content (nn, "smarturl", sizeof ("smarturl"));
| ^
galeon_dom.c:134:125: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
134 | node_data->elements[DEFAULT_FOLDER] = node_get_element_content (nn, "default_folder", sizeof ("default_folder"));
| ^~~~~~~~~~~~~~~~
| |
| char *
galeon_dom.c:54:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
54 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length);
| ~~~~~~~~~^~~~~~~
galeon_dom.c:134:93: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
134 | node_data->elements[DEFAULT_FOLDER] = node_get_element_content (nn, "default_folder", sizeof ("default_folder"));
| ^
galeon_dom.c:138:94: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
138 | node_data->elements[METADATA_OWNER] = xmlGetProp (n, "owner");
| ^~~~~~~
| |
| char *
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:16,
from galeon_dom.c:31:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
galeon_dom.c:138:77: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
138 | node_data->elements[METADATA_OWNER] = xmlGetProp (n, "owner");
| ^
galeon_dom.c:141:68: warning: pointer targets in passing argument 2 of 'g_string_append' differ in signedness [-Wpointer-sign]
141 | g_string_append (metadata, dump);
| ^~~~
| |
| xmlChar * {aka unsigned char *}
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/gtk-1.2/gdk/gdktypes.h:33,
from /home/pbulk/build/www/bkedit/work/.buildlink/include/gtk-1.2/gdk/gdk.h:31,
from /home/pbulk/build/www/bkedit/work/.buildlink/include/gtk-1.2/gtk/gtk.h:31,
from ../../bk_edit_tree.h:6,
from galeon.h:5,
from galeon_dom.c:33:
/home/pbulk/build/www/bkedit/work/.buildlink/include/glib/glib-1.2/glib.h:1657:43: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'xmlChar *' {aka 'unsigned char *'}
1657 | const gchar *val);
| ~~~~~~~~~~~~~^~~
galeon_dom.c:151:32: warning: pointer targets in initialization of 'xmlChar *' {aka 'unsigned char *'} from 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign]
151 | xmlChar *str = metadata->str;
| ^~~~~~~~
galeon_dom.c: In function 'node_get_element_content':
galeon_dom.c:165:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
165 | if (strncmp (node->name, element, element_length) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
galeon_dom.c:165:34: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
165 | if (strncmp (node->name, element, element_length) == 0)
| ^~~~~~~
| |
| xmlChar * {aka unsigned char *}
/usr/include/iso/string_iso.h:81:34: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
galeon_dom.c: In function 'node_dump':
galeon_dom.c:182:24: warning: pointer targets in returning 'char *' from a function with return type 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
182 | return strdup ("");
| ^~~~~~~~~~~
galeon_dom.c:195:32: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
195 | metadata = strdup (dump->content);
| ~~~~^~~~~~~~~
| |
| xmlChar * {aka unsigned char *}
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
139 | extern char *strdup(const char *);
| ^~~~~~~~~~~~
galeon_dom.c:195:18: warning: pointer targets in assignment from 'char *' to 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
195 | metadata = strdup (dump->content);
| ^
galeon_dom.c: In function 'process_node_alias':
galeon_dom.c:209:33: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
209 | ref = xmlGetProp (node, "ref");
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
galeon_dom.c:211:33: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
211 | node_data.elements[REF] = ref;
| ^
galeon_dom.c: In function 'process_node_bookmark':
galeon_dom.c:235:52: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
235 | node_data.elements[ID] = xmlGetProp (node, "id");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
galeon_dom.c:235:32: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
235 | node_data.elements[ID] = xmlGetProp (node, "id");
| ^
galeon_dom.c:236:53: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
236 | node_data.elements[URI] = xmlGetProp (node, "href");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
galeon_dom.c:236:33: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
236 | node_data.elements[URI] = xmlGetProp (node, "href");
| ^
galeon_dom.c:244:92: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
244 | node_data.elements[NAME] = node_get_element_content (node, "title", sizeof ("title"));
| ^~~~~~~
| |
| char *
galeon_dom.c:161:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
161 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length)
| ~~~~~~~~~^~~~~~~
galeon_dom.c:244:58: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
244 | node_data.elements[NAME] = node_get_element_content (node, "title", sizeof ("title"));
| ^
galeon_dom.c:247:62: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
247 | node_data.elements[METADATA] = node_get_metadata (node, &node_data);
| ^
galeon_dom.c:250:95: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
250 | node_data.elements[COMMENT] = node_get_element_content (node, "desc", sizeof ("desc"));
| ^~~~~~
| |
| char *
galeon_dom.c:161:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
161 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length)
| ~~~~~~~~~^~~~~~~
galeon_dom.c:250:61: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
250 | node_data.elements[COMMENT] = node_get_element_content (node, "desc", sizeof ("desc"));
| ^
galeon_dom.c: In function 'process_node_folder':
galeon_dom.c:269:52: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
269 | node_data.elements[ID] = xmlGetProp (node, "id");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
galeon_dom.c:269:32: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
269 | node_data.elements[ID] = xmlGetProp (node, "id");
| ^
galeon_dom.c:270:36: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
270 | folded = xmlGetProp (node, "folded");
| ^~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
galeon_dom.c:278:92: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
278 | node_data.elements[NAME] = node_get_element_content (node, "title", sizeof ("title"));
| ^~~~~~~
| |
| char *
galeon_dom.c:161:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
161 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length)
| ~~~~~~~~~^~~~~~~
galeon_dom.c:278:58: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
278 | node_data.elements[NAME] = node_get_element_content (node, "title", sizeof ("title"));
| ^
galeon_dom.c:281:62: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
281 | node_data.elements[METADATA] = node_get_metadata (node, &node_data);
| ^
galeon_dom.c:284:95: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
284 | node_data.elements[COMMENT] = node_get_element_content (node, "desc", sizeof ("desc"));
| ^~~~~~
| |
| char *
galeon_dom.c:161:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
161 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length)
| ~~~~~~~~~^~~~~~~
galeon_dom.c:284:61: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
284 | node_data.elements[COMMENT] = node_get_element_content (node, "desc", sizeof ("desc"));
| ^
galeon_dom.c:264:18: warning: variable 'folded' set but not used [-Wunused-but-set-variable]
264 | xmlChar *folded = NULL;
| ^~~~~~
galeon_dom.c: In function 'process_node_xbel':
galeon_dom.c:301:52: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
301 | node_data.elements[ID] = xmlGetProp (node, "id");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
galeon_dom.c:301:32: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
301 | node_data.elements[ID] = xmlGetProp (node, "id");
| ^
galeon_dom.c:302:57: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
302 | node_data.elements[VERSION] = xmlGetProp (node, "version");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
galeon_dom.c:302:37: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
302 | node_data.elements[VERSION] = xmlGetProp (node, "version");
| ^
galeon_dom.c:310:92: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
310 | node_data.elements[NAME] = node_get_element_content (node, "title", sizeof ("title"));
| ^~~~~~~
| |
| char *
galeon_dom.c:161:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
161 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length)
| ~~~~~~~~~^~~~~~~
galeon_dom.c:310:58: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
310 | node_data.elements[NAME] = node_get_element_content (node, "title", sizeof ("title"));
| ^
galeon_dom.c:313:62: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
313 | node_data.elements[METADATA] = node_get_metadata (node, &node_data);
| ^
galeon_dom.c:316:95: warning: pointer targets in passing argument 2 of 'node_get_element_content' differ in signedness [-Wpointer-sign]
316 | node_data.elements[COMMENT] = node_get_element_content (node, "desc", sizeof ("desc"));
| ^~~~~~
| |
| char *
galeon_dom.c:161:69: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
161 | static xmlChar *node_get_element_content (xmlNodePtr node, xmlChar *element, int element_length)
| ~~~~~~~~~^~~~~~~
galeon_dom.c:316:61: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
316 | node_data.elements[COMMENT] = node_get_element_content (node, "desc", sizeof ("desc"));
| ^
galeon_dom.c: In function 'process_node':
galeon_dom.c:330:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
330 | if (strncmp (node->name, "bookmark", sizeof ("bookmark")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
galeon_dom.c:334:31: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
334 | else if (strncmp (node->name, "folder", sizeof ("folder")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
galeon_dom.c:340:31: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
340 | else if (strncmp (node->name, "separator", sizeof ("separator")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
galeon_dom.c:344:31: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
344 | else if (strncmp (node->name, "alias", sizeof ("alias")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
galeon_dom.c:348:31: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
348 | else if (strncmp (node->name, "xbel", sizeof ("xbel")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
galeon_dom.c: In function 'convert_node_data_to_latin1':
galeon_dom.c:385:98: warning: pointer targets in passing argument 3 of 'bk_edit_misc_mixed_utf8_to_latin1' differ in signedness [-Wpointer-sign]
385 | if (bk_edit_misc_mixed_utf8_to_latin1 (out, &out_len, node_data->elements[i], &len) != OK)
| ~~~~~~~~~~~~~~~~~~~^~~
| |
| char *
In file included from galeon_dom.c:38:
../../bk_edit_misc.h:31:89: note: expected 'unsigned char *' but argument is of type 'char *'
31 | int bk_edit_misc_mixed_utf8_to_latin1 (unsigned char *out, int *out_len, unsigned char *in, int *in_len);
| ~~~~~~~~~~~~~~~^~
galeon_dom.c:393:48: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
393 | node_data->elements[i] = out;
| ^
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c galeon_ui.c
gcc -shared galeon.o galeon_dom.o galeon_ui.o -o galeon.so
/bin/cp galeon.so ../
cd html && make
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c html.c
html.c: In function 'save_folder_in':
html.c:177:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
177 | if (g_stack_push (ul_stack, (void *) ul_state) != G_STACK_OK)
| ^
html.c:191:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
191 | if (g_stack_push (li_stack, (void *) li_state) != G_STACK_OK)
| ^
html.c: In function 'save_folder_out':
html.c:217:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
217 | if ((li_state = (int) g_stack_pop (li_stack)) == 0)
| ^
html.c:228:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
228 | if ((ul_state = (int) g_stack_pop (ul_stack)) == 0)
| ^
gcc -shared html.o -o html.so
/bin/cp html.so ../
cd links2 && make
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c links2.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c links2_ui.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c links2_parse.c
/home/pbulk/build/www/bkedit/work/.tools/bin/bison -d -o links2_parse.yacc.c links2_parse.yacc
links2_parse.yacc: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
links2_parse.yacc: warning: 1 reduce/reduce conflict [-Wconflicts-rr]
links2_parse.yacc: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c links2_parse.yacc.c
links2_parse.yacc.c: In function 'yyparse':
links2_parse.yacc.c:1070:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
1070 | yychar = yylex ();
| ^~~~~
links2_parse.yacc.c:1277:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration]
1277 | yyerror (YY_("syntax error"));
| ^~~~~~~
| yyerrok
/opt/pkg/bin/flex -i -olinks2_parse.lex.c links2_parse.lex
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c links2_parse.lex.c
links2_parse.lex: In function 'yylex':
links2_parse.lex:67:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
67 | if (yylval == (YYSTYPE) NULL)
| ^
links2_parse.lex:68:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
68 | {
| ^
links2_parse.lex:86:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
86 | if (yylval == (YYSTYPE) NULL)
| ^
links2_parse.lex:87:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
87 | {
| ^
links2_parse.lex:118:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
118 | if (yylval == (YYSTYPE) NULL)
| ^
links2_parse.lex:119:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
119 | {
| ^
links2_parse.lex:141:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
141 | if (yylval == (YYSTYPE) NULL)
| ^
links2_parse.lex:142:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
142 | {
| ^
links2_parse.lex:151:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
151 | if (yylval == (YYSTYPE) NULL)
| ^
links2_parse.lex:152:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
152 | {
| ^
links2_parse.lex: In function 'non_greedy_parsing':
links2_parse.lex:177:33: warning: 'text_cv' is used uninitialized [-Wuninitialized]
177 | char *text_end = NULL;
| ^~~~~
links2_parse.lex:177:22: note: 'text_cv' was declared here
177 | char *text_end = NULL;
| ^~~~~~~
gcc -shared links2.o links2_ui.o links2_parse.o links2_parse.yacc.o links2_parse.lex.o -o links2.so
/bin/cp links2.so ../
cd sitebar && make
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c sitebar.c
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c sitebar_misc.c
gcc -shared sitebar.o sitebar_misc.o -o sitebar.so
/bin/cp sitebar.so ../
cd xbel && make
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c xbel.c
xbel.c: In function 'convert_node_data_to_UTF8':
xbel.c:293:57: warning: pointer targets in passing argument 1 of 'isolat1ToUTF8' differ in signedness [-Wpointer-sign]
293 | if (isolat1ToUTF8 (temp.elements[i], &temp_size, from->elements[i], &from_size) < 0)
| ~~~~~~~~~~~~~^~~
| |
| char *
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:812,
from xbel.c:32:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/encoding.h:237:57: note: expected 'unsigned char *' but argument is of type 'char *'
237 | isolat1ToUTF8 (unsigned char *out,
| ~~~~~~~~~~~~~~~^~~
xbel.c:293:88: warning: pointer targets in passing argument 3 of 'isolat1ToUTF8' differ in signedness [-Wpointer-sign]
293 | if (isolat1ToUTF8 (temp.elements[i], &temp_size, from->elements[i], &from_size) < 0)
| ~~~~~~~~~~~~~~^~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/encoding.h:239:63: note: expected 'const unsigned char *' but argument is of type 'char *'
239 | const unsigned char *in,
| ~~~~~~~~~~~~~~~~~~~~~^~
xbel.c:300:76: warning: pointer targets in passing argument 2 of 'xmlEncodeSpecialChars' differ in signedness [-Wpointer-sign]
300 | t = tt = xmlEncodeSpecialChars (NULL, temp.elements[i]);
| ~~~~~~~~~~~~~^~~
| |
| char *
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:20:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/entities.h:124:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
124 | const xmlChar *input);
| ~~~~~~~~~~~~~~~^~~~~
xbel.c:341:74: warning: pointer targets in passing argument 1 of 'xmlStrcat' differ in signedness [-Wpointer-sign]
341 | to->elements[i] = xmlStrcat (to->elements[i], buffer);
| ~~~~~~~~~~~~^~~
| |
| char *
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:18,
from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:16:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xmlstring.h:87:52: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *'
87 | xmlStrcat (xmlChar *cur,
| ~~~~~~~~~^~~
xbel.c:341:79: warning: pointer targets in passing argument 2 of 'xmlStrcat' differ in signedness [-Wpointer-sign]
341 | to->elements[i] = xmlStrcat (to->elements[i], buffer);
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/xmlstring.h:88:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
88 | const xmlChar *add);
| ~~~~~~~~~~~~~~~^~~
xbel.c:341:49: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
341 | to->elements[i] = xmlStrcat (to->elements[i], buffer);
| ^
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c xbel_dom.c
xbel_dom.c: In function 'node_get_desc':
xbel_dom.c:92:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
92 | if (strncmp (node->name, "desc", sizeof ("desc")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
In file included from /usr/include/string.h:34,
from xbel_dom.c:29:
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
xbel_dom.c: In function 'node_get_title':
xbel_dom.c:105:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
105 | if (strncmp (node->name, "title", sizeof ("title")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
xbel_dom.c: In function 'node_get_metadata':
xbel_dom.c:118:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
118 | if (strncmp (node->name, "info", sizeof ("info")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
xbel_dom.c:125:47: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
125 | if (strncmp (n->name, "metadata", sizeof ("metadata")) == 0)
| ~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
xbel_dom.c:128:68: warning: pointer targets in passing argument 2 of 'g_string_append' differ in signedness [-Wpointer-sign]
128 | g_string_append (metadata, dump);
| ^~~~
| |
| xmlChar * {aka unsigned char *}
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/gtk-1.2/gdk/gdktypes.h:33,
from /home/pbulk/build/www/bkedit/work/.buildlink/include/gtk-1.2/gdk/gdk.h:31,
from /home/pbulk/build/www/bkedit/work/.buildlink/include/gtk-1.2/gtk/gtk.h:31,
from ../../bk_edit_tree.h:6,
from xbel.h:5,
from xbel_dom.c:33:
/home/pbulk/build/www/bkedit/work/.buildlink/include/glib/glib-1.2/glib.h:1657:43: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'xmlChar *' {aka 'unsigned char *'}
1657 | const gchar *val);
| ~~~~~~~~~~~~~^~~
xbel_dom.c:131:65: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
131 | *owner = xmlGetProp (n, "owner");
| ^~~~~~~
| |
| char *
In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:16,
from xbel_dom.c:31:
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:142:24: warning: pointer targets in returning 'char *' from a function with return type 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
142 | return str;
| ^~~
xbel_dom.c: In function 'node_dump':
xbel_dom.c:158:24: warning: pointer targets in returning 'char *' from a function with return type 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
158 | return strdup ("");
| ^~~~~~~~~~~
xbel_dom.c:171:32: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
171 | metadata = strdup (dump->content);
| ~~~~^~~~~~~~~
| |
| xmlChar * {aka unsigned char *}
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
139 | extern char *strdup(const char *);
| ^~~~~~~~~~~~
xbel_dom.c:171:18: warning: pointer targets in assignment from 'char *' to 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
171 | metadata = strdup (dump->content);
| ^
xbel_dom.c: In function 'process_node_alias':
xbel_dom.c:185:33: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
185 | ref = xmlGetProp (node, "ref");
| ^~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:187:33: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
187 | node_data.elements[REF] = ref;
| ^
xbel_dom.c: In function 'process_node_bookmark':
xbel_dom.c:222:32: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
222 | id = xmlGetProp (node, "id");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:223:35: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
223 | added = xmlGetProp (node, "added");
| ^~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:224:34: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
224 | href = xmlGetProp (node, "href");
| ^~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:225:37: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
225 | visited = xmlGetProp (node, "visited");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:226:38: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
226 | modified = xmlGetProp (node, "modified");
| ^~~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:245:34: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
245 | node_data.elements[NAME] = title;
| ^
xbel_dom.c:246:38: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
246 | node_data.elements[METADATA] = metadata;
| ^
xbel_dom.c:247:37: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
247 | node_data.elements[COMMENT] = desc;
| ^
xbel_dom.c:248:32: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
248 | node_data.elements[ID] = id;
| ^
xbel_dom.c:249:38: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
249 | node_data.elements[ADD_DATE] = added;
| ^
xbel_dom.c:250:33: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
250 | node_data.elements[URI] = href;
| ^
xbel_dom.c:251:40: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
251 | node_data.elements[LAST_VISIT] = visited;
| ^
xbel_dom.c:252:43: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
252 | node_data.elements[LAST_MODIFIED] = modified;
| ^
xbel_dom.c: In function 'process_node_folder':
xbel_dom.c:275:32: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
275 | id = xmlGetProp (node, "id");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:276:35: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
276 | added = xmlGetProp (node, "added");
| ^~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:277:36: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
277 | folded = xmlGetProp (node, "folded");
| ^~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:296:34: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
296 | node_data.elements[NAME] = title;
| ^
xbel_dom.c:297:38: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
297 | node_data.elements[METADATA] = metadata;
| ^
xbel_dom.c:298:37: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
298 | node_data.elements[COMMENT] = desc;
| ^
xbel_dom.c:299:32: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
299 | node_data.elements[ID] = id;
| ^
xbel_dom.c:300:38: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
300 | node_data.elements[ADD_DATE] = added;
| ^
xbel_dom.c:270:18: warning: variable 'folded' set but not used [-Wunused-but-set-variable]
270 | xmlChar *folded = NULL;
| ^~~~~~
xbel_dom.c: In function 'process_node_xbel':
xbel_dom.c:323:32: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
323 | id = xmlGetProp (node, "id");
| ^~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:324:35: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
324 | added = xmlGetProp (node, "added");
| ^~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:325:37: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
325 | version = xmlGetProp (node, "version");
| ^~~~~~~~~
| |
| char *
/home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
1030 | const xmlChar *name);
| ~~~~~~~~~~~~~~~^~~~
xbel_dom.c:344:34: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
344 | node_data.elements[NAME] = title;
| ^
xbel_dom.c:345:38: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
345 | node_data.elements[METADATA] = metadata;
| ^
xbel_dom.c:346:37: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
346 | node_data.elements[COMMENT] = desc;
| ^
xbel_dom.c:347:32: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
347 | node_data.elements[ID] = id;
| ^
xbel_dom.c:348:38: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
348 | node_data.elements[ADD_DATE] = added;
| ^
xbel_dom.c:349:37: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
349 | node_data.elements[VERSION] = version;
| ^
xbel_dom.c: In function 'process_node':
xbel_dom.c:360:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
360 | if (strncmp (node->name, "bookmark", sizeof ("bookmark")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
xbel_dom.c:364:31: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
364 | else if (strncmp (node->name, "folder", sizeof ("folder")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
xbel_dom.c:370:31: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
370 | else if (strncmp (node->name, "separator", sizeof ("separator")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
xbel_dom.c:374:31: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
374 | else if (strncmp (node->name, "alias", sizeof ("alias")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
xbel_dom.c:378:31: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
378 | else if (strncmp (node->name, "xbel", sizeof ("xbel")) == 0)
| ~~~~^~~~~~
| |
| const xmlChar * {aka const unsigned char *}
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
81 | extern int strncmp(const char *, const char *, size_t);
| ^~~~~~~~~~~~
xbel_dom.c: In function 'convert_node_data_to_latin1':
xbel_dom.c:415:98: warning: pointer targets in passing argument 3 of 'bk_edit_misc_mixed_utf8_to_latin1' differ in signedness [-Wpointer-sign]
415 | if (bk_edit_misc_mixed_utf8_to_latin1 (out, &out_len, node_data->elements[i], &len) != OK)
| ~~~~~~~~~~~~~~~~~~~^~~
| |
| char *
In file included from xbel_dom.c:38:
../../bk_edit_misc.h:31:89: note: expected 'unsigned char *' but argument is of type 'char *'
31 | int bk_edit_misc_mixed_utf8_to_latin1 (unsigned char *out, int *out_len, unsigned char *in, int *in_len);
| ~~~~~~~~~~~~~~~^~
xbel_dom.c:423:48: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
423 | node_data->elements[i] = out;
| ^
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include -I/usr/include -c xbel_ui.c
gcc -shared xbel.o xbel_dom.o xbel_ui.o -o xbel.so
/bin/cp xbel.so ../
cd wikilinks && make
gcc -Wall -I../.. -fPIC `/opt/pkg/bin/gtk-config --cflags` -I/opt/pkg/include -I/usr/include -c wikilinks.c
gcc -shared wikilinks.o -o wikilinks.so
/bin/cp wikilinks.so ../
gcc bk_edit.o bk_edit_menu.o bk_edit_tree.o bk_edit_edit.o bk_edit_file.o bk_edit_ccp.o bk_edit_data.o bk_edit_undo.o bk_edit_dnd.o bk_edit_misc.o bk_edit_date.o bk_edit_icon.o bk_edit_gtkrc.o bk_edit_url_handler.o bk_edit_dialog_main.o bk_edit_dialog_info.o bk_edit_dialog_about.o bk_edit_dialog_edit.o bk_edit_dialog_undo.o bk_edit_dialog_clipboard.o bk_edit_dialog_plugin.o bk_edit_dialog_box.o bk_edit_dialog_dnd.o bk_edit_dialog_find.o bk_edit_dialog_config.o bk_edit_recent_document.o bk_edit_sort.o bk_edit_modify_indicator.o dialog_options.o command_line.o config.o convert.o plugin.o char_vector.o g_stack.o -o bkedit -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -lintl -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -ldl `/opt/pkg/bin/gtk-config --libs` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --libs` -Wl,-export-dynamic
ld: fatal: entry point symbol 'xport-dynamic' is undefined
collect2: error: ld returned 1 exit status
*** Error code 1
Stop.
make[1]: stopped in /home/pbulk/build/www/bkedit/work/bk_edit-0.6.23/src
*** Error code 1
Stop.
bmake: stopped in /home/pbulk/build/www/bkedit/work/bk_edit-0.6.23
*** Error code 1
Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/bkedit
*** Error code 1
Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/bkedit