<p dir="ltr">Well, sure. For development is what I'm talking about. Overriding the default flags is pretty easy if you want to do that for whatever reason, though and I won't even pretend to care if you do. I just assumed the default was what we were talking about. </p>
<p dir="ltr">Or do we have something scary going on in our setup that makes this non-trivial that I'm glossing over? </p>
<div class="gmail_quote">On 28 May 2014 20:20, "Robin Sonefors" <<a href="mailto:ozamosi@flukkost.nu">ozamosi@flukkost.nu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2014-05-28 19:13, Anton Löfgren wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
The right thing to do would be to check the return value, so I vote that<br>
we do that. We should be doing that anyway (regardless of glibc<br>
attributes).<br>
</blockquote>
<br>
Yes.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Disabling -Werror is not an option imo.<br>
</blockquote>
<br>
Well...<br>
<br>
Warnings are warnings rather than errors because they are not, in fact, errors. Errors, on the other hand, are errors, which makes them different from warnings. -Werror is a simple way to say "break this very simple concept".<br>
<br>
There's a ton of compilers and compiler versions and things they might or might not warn for - correctly or incorrectly[0] - before doing the right thing anyway: it was a warning, not an error, after all. Guaranteeing that nobody will see a warning is hard and boring, and -Werror antagonizes compiler developers who add new and helpful checks.<br>
<br>
For development, we should always strive to build with (and make it hard to disable) as many of<br>
-Wall -Wextra -Werror -pedantic -fstack-protector-all \<br>
-D_FORTIFY_SOURCE=2 -Deasy-mode -fhelp-me-please<br>
as possible, because writing C is hard, and I most certainly don't trust myself to do it unassisted.<br>
<br>
However, it's hard to resist the argument that tarballs intended for public consumption should probably try to do what said public want to them to, i.e. build and work.<br>
<br>
[0] Compilers are buggy, too. While in this case, the compiler is right,<br>
I remember when code I wrote failed to build with -Werror due to<br>
<a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750" target="_blank">https://gcc.gnu.org/bugzilla/<u></u>show_bug.cgi?id=36750</a> where GCC'd warn<br>
that my code followed the standard and suffered from no undefined<br>
behavior whatsoever - gee, thanks.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 28 May 2014 17:46, "LAHAYE Olivier" <<a href="mailto:olivier.lahaye@cea.fr" target="_blank">olivier.lahaye@cea.fr</a><br>
<mailto:<a href="mailto:olivier.lahaye@cea.fr" target="_blank">olivier.lahaye@cea.fr</a>><u></u>> wrote:<br>
<br>
Hi,<br>
<br>
I'm a developper of the OSCAR Cluster opensource software and I4m in<br>
the process of integrating naemon in se supported things that can be<br>
configured from the cluster install wizard.<br>
<br>
For that, I'm integrating naemon into the oscar build system and<br>
while it works fin on fedora-20, it fails to build on centos-6 with<br>
the following errors.<br>
(the build command is: rpmbuild -bb naemon-0.8.0.tar.gz)<br>
<br>
...<br>
...<br>
# everything seems ok and then:<br>
<br>
gcc -DHAVE_CONFIG_H -I. -I.. -I../naemon/lib -D_GNU_SOURCE -I..<br>
'-DSYSCONFDIR="/etc/naemon"' '-DLOCALSTATEDIR="/var/lib/<u></u>naemon"'<br>
'-DLOGDIR="/var/log/naemon"'<br>
'-DLOCKFILE="/var/run/naemon/<u></u>naemon.pid"' -DPREFIX='"/usr"' -Wall<br>
-Werror -fPIC -Wextra -pipe -ggdb3 -Wredundant-decls -Wtrigraphs<br>
-Wdeclaration-after-statement -Wshadow -Wstrict-prototypes<br>
-Wno-unused-result -Wno-unused-parameter -O2 -g -pipe -Wall<br>
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector<br>
--param=ssp-buffer-size=4 -m64 -mtune=generic -MT naemon-naemon.o<br>
-MD -MP -MF .deps/naemon-naemon.Tpo -c -o naemon-naemon.o `test -f<br>
'naemon.c' || echo './'`naemon.c<br>
cc1: warnings being treated as errors<br>
naemon.c: In function 'test_path_access':<br>
naemon.c:94: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
naemon.c: In function 'nagios_core_worker':<br>
naemon.c:148: error: ignoring return value of 'read', declared with<br>
attribute warn_unused_result<br>
naemon.c: In function 'main':<br>
naemon.c:547: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
naemon.c:763: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
At top level:<br>
cc1: error: unrecognized command line option "-Wno-unused-result"<br>
make[5]: *** [naemon-naemon.o] Error 1<br>
<br>
=> doing make -k in the build directory show that the problem is in<br>
the following files:<br>
naemon.c:94: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
naemon.c:148: error: ignoring return value of 'read', declared with<br>
attribute warn_unused_result<br>
naemon.c:547: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
naemon.c:763: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
checks.c:398: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
checks.c:416: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
checks.c:418: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
checks.c:2219: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
checks.c:2246: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
commands.c:279: error: ignoring return value of 'chdir', declared<br>
with attribute warn_unused_result<br>
commands.c:280: error: ignoring return value of 'chdir', declared<br>
with attribute warn_unused_result<br>
commands.c:869: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
configuration.c:43: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:104: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:109: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:116: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:121: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:152: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:170: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:185: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:210: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:222: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:236: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:292: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:303: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:314: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:325: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:336: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:347: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:358: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:369: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:380: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:391: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:403: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:412: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:423: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:436: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:466: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:477: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:488: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:504: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:522: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:533: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:544: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:555: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:566: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:577: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:586: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:608: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:626: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:664: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:675: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:693: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:704: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:725: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:735: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:745: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:759: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:768: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:784: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:795: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:806: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:817: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:829: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:839: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:846: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:858: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:868: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:878: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:889: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:908: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:918: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:928: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:938: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:999: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:1010: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:1117: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:1391: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:1402: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
downtime.c:421: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
downtime.c:423: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
flapping.c:225: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
flapping.c:308: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
logging.c:238: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
logging.c:266: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
logging.c:293: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
logging.c:326: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
logging.c:381: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
logging.c:458: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1163: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1164: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1165: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1166: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1167: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1168: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1169: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1170: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1171: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1172: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1173: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1174: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1175: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1176: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1177: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1178: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:1661: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:2028: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:2214: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:3093: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:3120: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:3134: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:3147: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:3176: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
macros.c:3200: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
nerd.c:346: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
notifications.c:197: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:203: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:745: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:748: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:751: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:754: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:757: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:760: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:763: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:766: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:769: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:1135: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:1141: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:1639: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:1642: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:1645: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:1648: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:1651: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:1654: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:1657: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:1660: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
notifications.c:1663: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
query-handler.c:39: error: ignoring return value of 'write',<br>
declared with attribute warn_unused_result<br>
sehandlers.c:243: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
sehandlers.c:343: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
sehandlers.c:486: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
sehandlers.c:585: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
utils.c:419: error: ignoring return value of 'write', declared with<br>
attribute warn_unused_result<br>
utils.c:426: error: ignoring return value of 'write', declared with<br>
attribute warn_unused_result<br>
utils.c:1590: error: ignoring return value of 'chdir', declared with<br>
attribute warn_unused_result<br>
utils.c:1592: error: ignoring return value of 'chdir', declared with<br>
attribute warn_unused_result<br>
utils.c:1679: error: ignoring return value of 'ftruncate', declared<br>
with attribute warn_unused_result<br>
utils.c:1681: error: ignoring return value of 'write', declared with<br>
attribute warn_unused_result<br>
utils.c:1860: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
utils.c:2074: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
workers.c:461: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
workers.c:675: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
workers.c:677: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
workers.c:682: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
xodtemplate.c:256: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
xodtemplate.c:274: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
xrddefault.c:94: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
xsddefault.c:106: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
checks.c:398: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
checks.c:416: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
checks.c:418: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
checks.c:2219: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
checks.c:2246: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
commands.c:279: error: ignoring return value of 'chdir', declared<br>
with attribute warn_unused_result<br>
commands.c:280: error: ignoring return value of 'chdir', declared<br>
with attribute warn_unused_result<br>
commands.c:869: error: ignoring return value of 'asprintf', declared<br>
with attribute warn_unused_result<br>
configuration.c:43: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:104: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:109: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:116: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:121: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:152: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:170: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:185: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:210: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:222: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:236: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:292: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:303: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:314: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:325: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:336: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:347: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:358: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:369: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:380: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:391: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:403: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:412: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:423: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:436: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:466: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:477: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:488: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:504: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:522: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:533: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:544: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:555: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:566: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:577: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:586: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:608: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:626: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:664: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:675: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:693: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:704: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:725: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:735: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:745: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:759: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:768: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:784: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:795: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:806: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:817: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:829: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:839: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:846: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:858: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:868: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:878: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:889: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:908: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:918: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:928: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:938: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:999: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:1010: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:1117: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:1391: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
configuration.c:1402: error: ignoring return value of 'asprintf',<br>
declared with attribute warn_unused_result<br>
<br>
Can this be fixed for next release? (either by disabling -Werror on<br>
centos6 or by fixing the warning by not ignoring the return code).<br>
<br>
Best regards.<br>
--<br>
Olivier LAHAYE<br>
CEA DRT/LIST/DIR<br>
<br>
</blockquote>
<br>
</blockquote></div>