-
October 31st, 2024, 02:58 AM
#16
Re: Should this be buildable with VC++17 ?
Originally Posted by 2kaud
Sorry, but I can't try a version higher than 17.6.5.
In case anybody else gets a chance, I've just had a reply back from Microsoft to say that 17.1 gives the errors I reported (C2182) and 17.2 gives the errors that 2kaud reported (C7683) but they're saying it's definitely been fixed since 17.11.3
Unfortunately (AFAIK) it isn't possible to install 17.11.3 using my current compiler, VS2019 - and I don't have enough disk space at the moment to install/upgrade to VS2022
"A problem well stated is a problem half solved.” - Charles F. Kettering
-
October 31st, 2024, 04:54 AM
#17
Re: Should this be buildable with VC++17 ?
I've now installed VS2022 onto a Windows 10 machine so that I can use the latest version (I normally use Windows 7 and 17.6.5 is the last version that will install with Windows 7).
I can confirm that the code compiles OK with 17.11.5.
I don't have enough disk space at the moment to install/upgrade to VS2022
If you're using Windows 10/11 then why not remove VS2019 and then install VS2022? VS2019 projects will convert to VS2022 OK. Also, if you're short of disk space have you removed any unwanted options from VS2019 using VS installer?
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
October 31st, 2024, 06:49 AM
#18
Re: Should this be buildable with VC++17 ?
This might be my lucky day... I just did a disk cleanup and I'd nearly 12GB just in VS debugging reports! So after the cleanup I've now around 23GB of space remaining. If I get a chance later I might install VS2022 onto a memory stick (just to check how much space it'd take up)
One more thing 2kaud if you don't mind... if you've still got VS2022 installed on Win10, would you mind checking if my code will compile with C++17? The guy who wrote it seems to think it should - whereas the guy from Microsoft suggested it was C++20.
"A problem well stated is a problem half solved.” - Charles F. Kettering
-
October 31st, 2024, 08:01 AM
#19
Re: Should this be buildable with VC++17 ?
You might also want to check the crashdump folder! (<user>\AppData\local\crashdumps)
VS2022 17.11.5 using Toolset 2022 (V143)
C++20 - OK
C++17 - OK
VS2022 17.11.5 using Toolset 2019 (V142)
C++20 - NO
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|