>
> This'll depend on what headers you have installed for glibc I guess, but
> I doubt we can get rid of all the "declared with attribute
> warn_unused_result" warnings unless we either alter the code, or maybe
> there's some compiler option to tell gcc to just shut up about them?
>
> Most of them are just noise from recent gcc/glibc versions...
>
> I daresay they would argue that the warnings are helpful, but I remain
> unconvinced!
>

I want to tell that not all warning are needed to suppress. I think that for 
examle commit "[Library] r8275 - branches/branch-1.3/FL" seams strange for me

one of changes.
-  virtual const char *item_text(void *item) const { return 0L; }
+  virtual const char *item_text(void *item) const { (void)item; return 0L; }

i don't understand reasons for this patch


_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to