2011-04-01 03:23:10 Victor Stinner napisał(a): > Le 01/04/2011 01:11, Benjamin Peterson a écrit : > > I'm rather sick of seeing this warnings on all compiles, so I propose > > we enable the -Wno-unused-results option. I judge that most of the > > cases where this occurs are error reporting functions, where not much > > with return code can be done. > Can't we try to fix the warnings instead of turning them off? Or is it > possible to only turn off these warnings on a specific function?
http://gcc.gnu.org/gcc-4.6/changes.html "Support for selectively enabling and disabling warnings via #pragma GCC diagnostic has been added." -- Arfrever Frehtes Taifersar Arahesis
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com