After "successfully" converting plugins to R20 on Windows I took all source files to build the plugins on macOS, resulting in one error after the other where Xcode 9.2 reports:
ignoring return value of function declared with 'warn_unused_result' attribute
In the meantime I am familiar seeing this message and know it is because I simply implemented and maxon::BaseArray Append
or Erase
or Resize
, or a CopyFrom
... or something related, without checking on the return value of the function.
Visual Studio already complained while I was converting the source code to R20 and compiling now and then. So, I knew it was related to adding some iferr
or similar.
Visual Studio didn't complain any further, but apparently Xcode goes a little further and brings up a lot of code still containing append/erase/... which doesn't use any iferr.
As such, I was wondering what makes Xcode find these while Visual Studio missed them?
Except for differences between the Visual Studio sln
versus Xcode xcodeproj
the projectdefinition.txt
are identical, since the same file is used for both platforms.
It's not a big deal, but just a hassle since I have to convert the source code to R20 on Windows, then basically do the same again on macOS.