Don't error out when code is compiled by "Intellisense".
This commit is contained in:
parent
37402b4949
commit
e3ab64e5bc
@ -62,7 +62,7 @@ class QProcess;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//Check CPU options
|
//Check CPU options
|
||||||
#if defined(_MSC_VER) && (!defined(_M_X64)) && defined(_M_IX86_FP)
|
#if defined(_MSC_VER) && (!defined(__INTELLISENSE__)) && (!defined(_M_X64)) && defined(_M_IX86_FP)
|
||||||
#if (_M_IX86_FP != 0)
|
#if (_M_IX86_FP != 0)
|
||||||
#error We should not enabled SSE or SSE2 in release builds!
|
#error We should not enabled SSE or SSE2 in release builds!
|
||||||
#endif
|
#endif
|
||||||
|
@ -96,7 +96,7 @@ namespace MUtils
|
|||||||
// MESSAGE HANDLER
|
// MESSAGE HANDLER
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
static void qt_message_handler(QtMsgType type, const char *msg)
|
static void qt_message_handler(QtMsgType type, const char *const msg)
|
||||||
{
|
{
|
||||||
if((!msg) || (!(msg[0])))
|
if((!msg) || (!(msg[0])))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user