This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/32185] unused result warnings and -werror



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-06-03 02:00 -------
>Could the check in the code be moved futher up so the compiler can see that the
> checking is being done?

Not if glibc is marking the functions as warn_unused_result.  Also the
front-end would need some flow analysis to figure out if a warning is needed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32185


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]