------- Comment #11 from rguenth at gcc dot gnu dot org  2005-12-21 10:59 
-------
Hm, we even check in the testsuite that we still warn for (void) foo():

  check1 ();            /* { dg-warning "ignoring return value of" } */
  (void) check1 ();     /* { dg-warning "ignoring return value of" } */
  check1 (), bar ();    /* { dg-warning "ignoring return value of" } */


-- 


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

Reply via email to