summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-03-27 20:50:41 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-03-27 20:55:30 (GMT)
commitff30a91eedd30c0e2e0b62ad50ade3d7d27651a8 (patch)
tree3a54cbbe2243407abe9f58e3d7f203cda83239f6 /mkspecs
parenta4e8538e396efccf3f8193c7a5ba751d961f206d (diff)
downloadQt-ff30a91eedd30c0e2e0b62ad50ade3d7d27651a8.zip
Qt-ff30a91eedd30c0e2e0b62ad50ade3d7d27651a8.tar.gz
Qt-ff30a91eedd30c0e2e0b62ad50ade3d7d27651a8.tar.bz2
Add the parameter to the function call.
Apparently we have a problem with these default parameters. We have basically: template<typename T> void func(T * = 0); template<> void func<Something>(Something *); Now, according to GCC, I can't add "= 0" to the template specialisation. However, MSVC 2008 isn't able to call the specialisation without my extra 0 here. I've seen a similar issue before in QSharedPointer. I don't think this is a big deal because the error message output by MSVC 2008 indicates this is likely a compiler bug: qdbuspendingreply.h(98) : error C2440: 'default argument': cannot convert from 'T1 *' to 'QVariant *' where [ T1=QVariant ]
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions