------- Comment #7 from nathan at gcc dot gnu dot org  2005-10-12 18:24 -------
Fixed mainline & 4.0
2005-10-12  Nathan Sidwell  <[EMAIL PROTECTED]>

        PR c++/21117
        * decl.c (check_function_type): Correctly overwrite incomplete
        return type with void type.
        * typeck.c (check_return_expr): If the function's return type is
        void, don't try and convert a return expr.


-- 

nathan at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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

Reply via email to