------- Comment #1 from jason at gcc dot gnu dot org  2009-01-11 20:31 -------
IMO it would be inappropriate to give this warning for a late-specified return
type.  The warning is only there to catch old code which expects "const int
foo()" to declare a const function returning int, rather than a function
returning const int.  No such historical ambiguity exists with the new syntax.


-- 


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

Reply via email to