Archived
This forum has been archived. Please start a new discussion on GitHub.
Intel compiler on Windows
i found a neccessary change to make ice compile on windows using
intel compiler.
ProxyHandle.h line 210:
original code:
change:
this should also apply to
ice/handle.h
ice/proxyhandle.h
iceutil/handle.h
iceutil/proxyhandle.h
HAPPY NEW YEAR
tom
intel compiler.
ProxyHandle.h line 210:
original code:
#ifdef _WIN32 // COMPILERBUG: Is VC++ or GNU C++ right here???
template<>
ProxyHandle& operator=(const ProxyHandle<T>& r)
#else
ProxyHandle& operator=(const ProxyHandle& r)
#endif
change:
#ifdef _WIN32 // COMPILERBUG: Is VC++ or GNU C++ right here???
#ifdef __INTEL_COMPILER
ProxyHandle& operator=(const ProxyHandle& r)
#else
template<>
ProxyHandle& operator=(const ProxyHandle<T>& r)
#endif
#else
ProxyHandle& operator=(const ProxyHandle& r)
#endif
this should also apply to
ice/handle.h
ice/proxyhandle.h
iceutil/handle.h
iceutil/proxyhandle.h
HAPPY NEW YEAR
tom
0
Comments
-
Changing a constructor into an assignment operator is a bit odd!
The ifdef should really be:
#ifdef _MSC_VER
or in case this is fixed in say VC71:
#if defined(_MSC_VER) && _MSC_VER < 1310
Cheers,
Bernard0 -
sorry - this was a copy past error!0