Hacking:Problems and solutions: Difference between revisions

From Seamly
Content added Content deleted
(Created page with "== Build == === MSVS error: C2065: 'not': undeclared identifier=== '''Problem:''' Building with MSVS fail with error C2065: 'not': undeclared identifier.<br /> '''Cause:''' By...")
 
No edit summary
Line 1: Line 1:
__TOC__

== Build ==
== Build ==
=== MSVS error: C2065: 'not': undeclared identifier===
=== MSVS error: C2065: 'not': undeclared identifier===

Revision as of 19:59, 5 May 2016

Build

MSVS error: C2065: 'not': undeclared identifier

Problem: Building with MSVS fail with error C2065: 'not': undeclared identifier.
Cause: By default MSVS doesn't support C++ alternative tokens.
Solution: MSVS require the header to be included in order to use these identifiers.

#ifdef Q_CC_MSVC
    #include <ciso646>
#endif /* Q_CC_MSVC */