I have a condition compile set up, and it's working well.
I have a different layout for each of two possible configurations... Main and MainF
When I set the compile one way for Main, it warns that the other file, MainF.bal is unused. That's because it's in the files section. And visa versa if I compile for MainF, Main.bal is flagged.
I know what this is and just ignore it, but shouldn't B4A ignore it too?
This is no a bug.
Conditional compilation is a low level feature. The compiler doesn't go over excluded code.
You can add #IgnoreWarnings: 16 at the top of the main module to remove this watning.