VS2017 and C++17 | Compiler Errors & Warnings | Forum


Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
VS2017 and C++17
July 16, 2021 - 12:00 pm
Member Since: January 29, 2017
Forum Posts: 689
sp_UserOfflineSmall Offline

In doing some recent testing with a consulting project that involves C++17, I noticed that my RackAFX/ASPiK projects were having an issue with the VSTGUI 4.10 library and Visual Studio 2017, with C++17 enabled. 

The solution was to update VS2017 to the current version (15.9 at this time) -- I was on 15.4 which was one revision earlier than needed. The errors all were thrown from the VSTGUI4 library.

If this happens for you, update VS2017 to the new version, reset the C++17 language option, and rebuild. Note that the Win SDK needs to be 10.0.18362.0 or higher (at least for my tests).

When you create a new RackAFX project with VS2017, it will default to C++14 and there are no issues. This only applies if you absolutely must use VS2017 with a 3rd party library that requires C++17 as happened to me.

Note that if you create a RackAFX project with VS2019, and set the C++ language to C++17, there are no issues whatsoever. 

Just FYI...


Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

StevieD: 46

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

Nickolai: 43

clau_ste: 39

jeanlecode: 37

Member Stats:

Guest Posters: 1

Members: 768

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 842

Posts: 3347

Moderators: W Pirkle: 689