X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to :content-transfer-encoding; bh=3Vr71tCTicPloJEP7C6MNL54+4+FE9bsrfpnz4Pj/5s=; b=DCEUVPJO8GlSL6PxRwb+4cNN+Xqx0TPBIl7xYyxX4ZIfIltywKWBoBytE8HiTs5XxZ lVtbswDwxxae3Zb7pGKF5052KPTGVFDVuu9YhCDLg0eWyYLl0hC2kbXXbfjBCjTs2o5z Ov+H2vz1mVcCn9ltmoKNWD6+yr94XAM4fpk9czx7z17uXS0YfUdZxEduBUiSokTWESgh jByDKzBbHsS8Ny9l+tM69tcAanjHyV9USG+9wirUdrTeQVwDYf0DEE4g1wSJ2eqwYvC5 IBxiGb0KSTBGD5CscrJdhho55Fl8R9S6PLRFOZ5Fx9/aORVqRyL9oQbqTD647yuoh66A /zZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-transfer-encoding; bh=3Vr71tCTicPloJEP7C6MNL54+4+FE9bsrfpnz4Pj/5s=; b=jj5AAbUxEut1EsTFVn4fWKIfcpft5MiK6zIBKZf7xtjnvytH7bGbmLRJoS9OTm7VfY pJ+54PLzbdgCct6sNH+LBkp41nF9Qnc54ClVSNcNFTeiCkpJ5E/875e859ljIaLcmpOX KJYW9rw39vAO29kXYjsZp0ZkkVvMPovuI5JAoqlklPZA37Mw/uG7TMYil5dF2YRxobtd 0PkpXihf5dpkBn8aSoP2RrAWITsgkLoYAKHPjxhgL3T8J5fEmgJxLl5qZAKNrPcTKA74 NoRYAe1L4Op/NYkB7aR9kZTgNoexyL2ZGrQ7APU611MchMF8YXQZLLXClqaXhQZonevu bD5g== X-Gm-Message-State: AD7BkJI/hITk+bqIwueLLKQIsfDxSIFibp9jxQDHa09SXO3wkHjyHdZruQ5lWBUIbMuAwb3AXP5Y+1HXA5+sxg== MIME-Version: 1.0 X-Received: by 10.194.115.196 with SMTP id jq4mr19798343wjb.101.1457320385128; Sun, 06 Mar 2016 19:13:05 -0800 (PST) Date: Sun, 6 Mar 2016 18:13:05 -0900 Message-ID: Subject: [geda-user] anyone know how to get rid of these warnings From: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u273DA1v003625 Reply-To: geda-user AT delorie DOT com This stuff is about the last I'm aware of then could build with -Werror and not have to watch for useful warnings. -Wunused-value is sometimes useful so I don't like to just turn it off. I have no idea about how gettext works though. gcc -std=gnu99 -DLOCALEDIR=\"/tmp/junk/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I./hid/gtk -I/usr/include -I/home/bkerin/local/include/dbus-1.0 -I/home/bkerin/local/lib/dbus-1.0/include -I/home/bkerin/local/include/glib-2.0 -I/home/bkerin/local/lib/glib-2.0/include -pthread -I/home/bkerin/local/include/gtk-2.0 -I/home/bkerin/local/lib/gtk-2.0/include -I/home/bkerin/local/include/atk-1.0 -I/home/bkerin/local/include/cairo -I/home/bkerin/local/include/gdk-pixbuf-2.0 -I/home/bkerin/local/include/pango-1.0 -I/home/bkerin/local/include/glib-2.0 -I/home/bkerin/local/lib/glib-2.0/include -I/home/bkerin/local/include/pixman-1 -I/home/bkerin/local/include -I/home/bkerin/local/include/freetype2 -I/home/bkerin/local/include/harfbuzz -I/usr/include/libpng12 -I/usr/include -pthread -I/home/bkerin/local/include/gtk-2.0 -I/home/bkerin/local/lib/gtk-2.0/include -I/home/bkerin/local/include/pango-1.0 -I/home/bkerin/local/include/gdk-pixbuf-2.0 -I/home/bkerin/local/include/glib-2.0 -I/home/bkerin/local/lib/glib-2.0/include -I/home/bkerin/local/include/cairo -I/home/bkerin/local/include/pixman-1 -I/home/bkerin/local/include -I/home/bkerin/local/include/freetype2 -I/home/bkerin/local/include/atk-1.0 -I/home/bkerin/local/include/harfbuzz -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/libpng12 -pthread -pthread -DPREFIXDIR=\"/tmp/junk\" -DBINDIR=\"/tmp/junk/bin\" -DHOST=\"i686-pc-linux-gnu\" -DPCBLIBDIR=\"/tmp/junk/share/pcb\" -DPCBTREEDIR=\"/tmp/junk/share/pcb/newlib\" -DPCBTREEPATH=\"/tmp/junk/share/pcb/newlib:/tmp/junk/share/pcb/pcblib-newlib\" -Wall -g -O2 -Wno-declaration-after-statement -MT hid/gtk/libgtk_a-gui-trackball.o -MD -MP -MF hid/gtk/.deps/libgtk_a-gui-trackball.Tpo -c -o hid/gtk/libgtk_a-gui-trackball.o `test -f 'hid/gtk/gui-trackball.c' || echo './'`hid/gtk/gui-trackball.c In file included from ./global.h:84:0, from hid/gtk/ghid-route-style-selector.h:8, from hid/gtk/gui-top-window.c:77: hid/gtk/gui-top-window.c: In function ‘ghid_parse_arguments’: ./gettext.h:98:5: warning: statement with no effect [-Wunused-value] ((void) (Domainname), (const char *) (Dirname)) ^ hid/gtk/gui-top-window.c:1796:3: note: in expansion of macro ‘bindtextdomain’ bindtextdomain (PACKAGE, LOCALEDIR); ^ ./gettext.h:95:33: warning: statement with no effect [-Wunused-value] # define textdomain(Domainname) ((const char *) (Domainname)) ^ hid/gtk/gui-top-window.c:1797:3: note: in expansion of macro ‘textdomain’ textdomain (PACKAGE); ^ ./gettext.h:101:5: warning: statement with no effect [-Wunused-value] ((void) (Domainname), (const char *) (Codeset)) ^ hid/gtk/gui-top-window.c:1798:3: note: in expansion of macro ‘bind_textdomain_codeset’ bind_textdomain_codeset (PACKAGE, "UTF-8"); ^