Get a long list of compile warnings with the SdFat library in Seeeduino Xiao

Blockquote

Warning: Major Reformat of Source in 2.2.2

There are a huge number of changes in 2.2.2 since I decided to use clang-format to force Google style formatting.

I did this to avoid warnings from the static analysis programs Cppcheck and cpplint.

clang-format is aggressive so it may actually cause code to fail. For example clang-format rearranges the order of includes according to the selected style.

Blockquote

Version 2.2.2 of SDfat lib is messed up… roll back to 2.2.0 and it works