------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-11 
02:19 -------
We only warn about all three cases with "-pedantic" in 4.0.0 only.
There is a DR report asking if this is valid C++ or not, I think there is 
another bug about that.
So closing as fixed.

This was changed with the following patches:
2004-10-28  Nathan Sidwell  <[EMAIL PROTECTED]>

        * typeck.c (composite_pointer_type): Remove comment about DR 195.
        (build_reinterpret_cast_1): Revert DR195 patch. Only emit a
        warning when being pedantic.
        (build_reinterpet_cast, build_c_cast): Adjust.
2004-10-20  Nathan Sidwell  <[EMAIL PROTECTED]>

        * typeck.c (composite_pointer_type): Add comment about DR 195
        (build_reinterpret_cast_1): Add for_reinterpret_cast_p parameter.
        Allow function pointer conversions that DR195 suggests.
        (build_reinterpret_cast, build_c_cast): Update
        build_reinterpret_cast_1 calls.
2004-10-19  Mark Mitchell  <[EMAIL PROTECTED]>

        PR c++/14035
        ....

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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

Reply via email to