[Webkit-unassigned] [Bug 51116] Building webkit with Visual Studio 2010 fails due to ambiguous 'operator =' methods in RefPtr.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 27 11:55:13 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=51116





--- Comment #27 from Jake <jake at jakeonthenet.com>  2010-12-27 11:55:12 PST ---
Ah yes HAVE_NULLPTR makes more sense.

How about this?

In NullPtr.h:


#if defined(LOOSE_OWN_ARRAY_PTR) || (!__has_feature(cxx_nullptr) && (!defined(_MSC_VER) || _MSC_VER < 1600))

namespace std {
    class nullptr_t { };
}

extern std::nullptr_t nullptr;
#else
#define HAVE_NULLPTR 1
#endif


and then surrounding the operator overrides:

#if !HAVE(NULLPTR)
oper...
#endif

I'm assuming HAVE() is defined somewhere?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list