As the title says. This project builds OK on Arduino 1.8. I do have 1.6/1.8 selected as "IDE" in
the visual micro popup.
To set it up, I had to edit the .vcxproj file by hand - it was missing 16 .cpp files.
Concentrating on the very first error - I find no occurence of '__cplusplus' in the code.
1>------ Build started: Project: ~AutoRecover.T41v15, Configuration: Release|Win32 ------
1> Band.cpp
1>Y:\Projects\Arduino\T41v15\Band.cpp : warning C4117: macro name '__cplusplus' is reserved, '#define' ignored
1>Y:\Projects\Arduino\T41v15\__vm\.T41v15.vsarduino.h(25,1): warning C4117: macro name '__cplusplus' is reserved, '#define' ignored
1>Y:\Projects\Arduino\T41v15\__vm\.T41v15.vsarduino.h(26,1): warning C4117: macro name '__cplusplus' is reserved, '#undef' ignored
1>Y:\Projects\Arduino\T41v15\__vm\.T41v15.vsarduino.h(27,1): warning C4117: macro name '__cplusplus' is reserved, '#define' ignored
1>C:\Program Files 6,23): error C2371: 'size_t': redefinition; different basic types
1>Y:\Projects\Arduino\T41v15\predefined C++ types (compiler internal)(16): message : see declaration of 'size_t'
1>C:\Program Files 35,21): error C2371: '__int8_t': redefinition; different basic types
1>Y:\Projects\Arduino\T41v15\__vm\.T41v15.vsarduino.h(68): message : see declaration of '__int8_t'
1>C:\Program Files 36,23): error C2371: '__uint8_t': redefinition; different basic types
1>Y:\Projects\Arduino\T41v15\__vm\.T41v15.vsarduino.h(67): message : see declaration of '__uint8_t'
1>C:\Program Files 63,9): error C2059: syntax error: 'constant'
1>C:\Program Files 67,18): error C2059: syntax error: 'constant'
1>C:\Program Files 89,9): error C2059: syntax error: 'constant'
1>C:\Program Files 93,18): error C2059: syntax error: 'constant'
1>C:\Program Files 200,9): error C2059: syntax error: 'constant'
1>C:\Program Files 204,18): error C2059: syntax error: 'constant'
1>C:\Program Files (x86)\Arduino\hardware\tools\arm\arm-none-eabi\include\sys\_stdint.h(36,20): error C2371: 'uint16_t': redefinition; different basic types
1>Y:\Projects\Arduino\T41v15\__vm\.T41v15.vsarduino.h(76): message : see declaration of 'uint16_t'
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(436,124): error C2059: syntax error: 'volatile'
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(9942,6): error C2059: syntax error: 'volatile'
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(9943,11): error C2290: C++ 'asm' syntax ignored. Use __asm.
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(9948,11): error C2290: C++ 'asm' syntax ignored. Use __asm.
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(9949,11): error C2290: C++ 'asm' syntax ignored. Use __asm.
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(9981,6): error C2059: syntax error: 'volatile'
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(9982,11): error C2290: C++ 'asm' syntax ignored. Use __asm.
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(9987,11): error C2290: C++ 'asm' syntax ignored. Use __asm.
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(9988,11): error C2290: C++ 'asm' syntax ignored. Use __asm.
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(10002,6): error C2059: syntax error: 'volatile'
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(10003,11): error C2290: C++ 'asm' syntax ignored. Use __asm.
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(10008,11): error C2290: C++ 'asm' syntax ignored. Use __asm.
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\imxrt.h(10009,11): error C2290: C++ 'asm' syntax ignored. Use __asm.
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\core_pins.h(1798,6): error C3861: '__builtin_constant_p': identifier not found
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\core_pins.h(2049,6): error C3861: '__builtin_constant_p': identifier not found
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\core_pins.h(2183,6): error C3861: '__builtin_constant_p': identifier not found
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\core_pins.h(2380,13): error C3861: '__builtin_constant_p': identifier not found
1>C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\core_pins.h(2400,13): error C3861: '__builtin_constant_p': identifier not found
1>C:\Program Files 9): warning C4068: unknown pragma 'GCC'
1>C:\Program Files ing.h(34,1): fatal error C1189: #error: This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========