I updated my VM to 1.2021.0427, and now I get some pretty silly errors:
Severity Code Description Project File Line Suppression State
Error (active) E0338 more than one instance of overloaded function "atexit" has 'C' linkage IO_Controller es\arduino\api\Common.h 83
Error (active) E0338 more than one instance of overloaded function "itoa" has 'C' linkage IO_Controller es\arduino\api\itoa.h 29
Error (active) E0338 more than one instance of overloaded function "utoa" has 'C' linkage IO_Controller es\arduino\api\itoa.h 31
Error (active) E0020 identifier "__gnuc_va_list" is undefined IO_Controller 7-2017q4\arm-none-eabi\include\stdio.h 46
Error (active) E0140 too many arguments in function call IO_Controller H:\Gene Mayes BuzBall\PLC_Programming\PLC_Programs\IO_Controller\Menu.cpp 76
Error MSB4018 The "VCMessage" task failed unexpectedly.
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at Microsoft.Build.Shared.ResourceUtilities.FormatString(String unformatted, Object[] args)
at Microsoft.Build.Utilities.TaskLoggingHelper.FormatString(String unformatted, Object[] args)
at Microsoft.Build.Utilities.TaskLoggingHelper.FormatResourceString(String resourceName, Object[] args)
at messageResourceName, Object[] messageArgs)
at Microsoft.Build.CPPTasks.VCMessage.Execute()
at Host.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() H:\Gene Mayes BuzBall\PLC_Programming\PLC_Programs\IO_Controller\IO_Controller.vcxproj C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets 439
Example of silliness, the E0140 error too many arguments,
here's the code it's referring to:
input = toupper((int)rxchar);
Everything worked prior to the update, and now these...which I can't get over. I've even gone back a couple of revisions.
So it seems to me there's some basic switch or something that got goobered up, but for the life of me I can't find it. Any help at all is much appreciated.
Thanks! Scott