{"thread":{"id":"18538","subject":"warn_unused_result problem, and a solution","startedAt":"2009-03-25T16:34:58Z","lastAt":"2009-03-25T16:34:58Z","messageCount":1,"participants":["Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"109374","messageId":"alpine.DEB.1.00.0903251731000.26370@intel-tinevez-2-302","threadId":"18538","inReplyTo":null,"subject":"warn_unused_result problem, and a solution","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-03-25T16:34:58Z","receivedAt":"2009-03-25T16:34:58Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nwhen I updated one of my Ubuntu machine's packages, it automatically \nupdated libc6 to a newer version.\n\nI was in for a surprise: the output is littered with spurious warnings \nabout lack of handling of return values to all kinds of functions.\n\nIt took me a while to figure out what had happened, and it took me even \nlonger to find this:\n\n\thttps://bugs.launchpad.net/ubuntu/+source/glibc/+bug/305176\n\nApparently, the good Ubuntu people think it is fine that people who \ncompile stuff themselves are drowned in warnings.\n\nTo make a long story less long: I have this in my config.mak for now:\n\n\tCFLAGS += -U_FORTIFY_SOURCE\n\nHopefully, this helps others, too.\n\nCiao,\nDscho\n"}]}