INtime SDK Help
Upgrading your INtime C++ project
INtime SDK v7.1 > References > Upgrading your INtime C++ project

Upgrading to C++ Library version 2007

Starting with Version 6.3 of INtime the C++ library has been updated to support smart pointers and nested containers. The library implementation has been brought up to the C++ 2007 standard, and is suitable for all supported versions of Visual Studio prior to VS2015. Existing projects will continue to work unmodified.

C/C++ Compiler

General: add path $(INtime)rt\include\cpp07 in place of $(INtime)rt\include\cpp.

Preprocessor: define __INTIME__CPP07 and __CPP_LIB_DLL_V1 and remove VS7_CPP

Do to some relaxed handling of includes in fromer versions of the Cpp lib, it is now required to set compile as C++ in Advanced options or to remove the new defines for plain .c files.

Linker

Input: link to cpplib07.lib and rtpp07(d).lib in place of cpplib.lib and rtpp*(d).lib


Upgrading to C++ Library version 2011

Starting with Version 6.2 of INtime the C++ library has been updated to the C++ 2011 standard, and is suitable for all supported versions of Visual Studio from VS2015 and upwards (due to need of compiler support). Existing projects will continue to work unmodified.

C/C++ Compiler

General: add path $(INtime)rt\include\cpp11 in place of $(INtime)rt\include\cpp.

Preprocessor: define __INTIME__CPP11 and remove VS7_CPP

Linker

Input: link to cpplib11.lib and rtpp11(d).lib in place of cpplib.lib and rtpp*(d).lib


Upgrading to C++ Library version 2020 on Visual Studio 2019

Visual Studio 2019 sets the default compiler option to "strict strings" for cpp20.

Strict strings requires functions that were defined as:

function_name(char * msg)

to be defined as:

function_name(const char * msg)

To avoid a compile error when functions are passed a const string.

One solution is to add "/Zc:strictString-" in the compiler options for c/c++.
This is not recommended because it may hide some problems.

See Also