[Bug c++/44916] Incorrect function overloading with static_cast

2010-07-18 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2010-07-18 22:11 --- Thanks, James, confirming as a dup *** This bug has been marked as a duplicate of 39415 *** -- redi at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/44916] Incorrect function overloading with static_cast

2010-07-18 Thread james dot dennett at gmail dot com
--- Comment #1 from james dot dennett at gmail dot com 2010-07-18 21:37 --- Thanks to Ian for reporting this for me (my buganizer account wasn't well at the time). This appears to duplicate bug 39415. I have a hacky fix for this, adding a conversion to the correct target type after th