#1200 patch r7043 breaks shared_ptr/nullptr interaction
Metadata
Property | Value |
---|---|
Reported by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Reported at | Oct 20, 2012 20:45 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Markus Blatt (markus@dr-blatt.de) |
Last edited at | Oct 21, 2012 16:16 |
Closed by | Markus Blatt (markus@dr-blatt.de) |
Closed at | Oct 21, 2012 16:16 |
Closed in version | 2.3 |
Resolution | Fixed |
Comment | in revision 7045 |
Description
The commit in questions says:
r7043 | mblatt | 2012-10-19 17:58:21 +0200 (Fr, 19 Okt 2012) | 3 lines
Merged patch from cmake branch. (Support type conversion for shared_ptr. Needed for gcc-4.1.)
I don't know what problem was to be solved, but the current solution is more broken than before, because the current test doesn't run through for any compiler.
The problem we are facing now is exactly the same, why g++-4.5 support is kind of shaky... the shared_ptr doesn't have any support for nullptr and due to the template constructor, the automatic conversion to 0 doesn't work anymore.
We might try do add the missing cast to the nullptr, or we fix the shared_ptr