So Visual Studio was wiped out and I had to re-download, including Visual Micro IDE. Along the way I updated Arduino, so:
Microsoft Visual Studio Community 2019
Version 16.5.1
Arduino IDE for Visual Studio by Visual Micro 19.0
Arduino 1.8.12
When I got everything running again I started seeing compiler warnings I had never seen before regarding the SD library, specifically:
SdFatUtil.h: 61:45: warning: 'prog_char' is deprecated [-Wdeprecated-declarations]
I figure either #1) the library changed, or more likely #2) the compiler flag configuration had changed.
If I assume #1, my question is REALLY? This hasn't already been fixed? I'm using library SD version 1.2.4.
If I assume #2, than embarrassingly, after hours of searching around I was unable to find a way to turn the flag OFF [-Wdeprecated-declarations]. Can some kindly expert point me to the magic incantation? Thanks!
Well, I don't want to turn ALL warnings off, just the one mentioned. The verbose output from the compiler is prolific, and when there are two dozen repetitions of the same warning in each build regarding something that suddenly appeared after a tools rebuild, which doesn't prevent the build from being downloaded or executed, it actually makes it more difficult to heed the warnings which are important. Best would be to track down why the warning is suddenly occurring and fix the problem, which is what I'm trying to do.
The Visual Micro IDE makes it easy to ADD flags to the invocation, but since I can't find this one anywhere to remove it, I can't. Hence my question. Thank you.
Yes indeed, the macro PROG_TYPES_COMPAT has been defined in FastLED.h, another library I'm using in this project. I'm still investigating if/when/why the library changed, because this warning suddenly appeared after a tools rebuild, and now it appears it's the result of a change in the FastLED library, not the tools. Some libraries may have been 'accidentally updated' in the rebuild, I'm continuing to investigate.