This is probably caused by the STM32 arduino board defintions.
[gcc.gnu.org]
says that enums are not expanded, and STM32 uses enums for pin definitions. I've switched my local copy to #defines, and it is at least evaluating as expected.
[gcc.gnu.org]
says that enums are not expanded, and STM32 uses enums for pin definitions. I've switched my local copy to #defines, and it is at least evaluating as expected.