2022-03-15 01:54 PM
My code was compiling fine, then I turned on the Doxygen setting in preferences. Now i get lots of errors and warnings. My function prototypes say used but never defined. My functions say invalid storage class. I can't find what is broken. I turned off doxygen setting and removed alll the comments it added, no luck. Help?
2022-03-16 09:25 AM
This is early code while I bring up the hardware. Its pretty rough right now. I'll look into your suggestion.
2022-03-16 09:26 AM
Oh! usually I use Allman. This is mostly temp code.
2022-03-16 09:32 AM
Personally dislike opening bracket on a separate line, but standardized formatting in C is never going to happen since it hasn't already. But since HAL uses it, I'll use it if editing HAL files.
Two IDEs I use, CLion and STM32CubeIDE, both give warnings on mismatched brackets. TI CCS sort of gives a warning, but not really. STM32CubeIDE is particularly aggressive about it with a big red X.
2022-03-17 05:03 AM
Thanks, I just learned that I use the Allman style.
And I thought that was just me after looking so much into lwIP recently... :grinning_face_with_sweat:
2022-03-17 12:37 PM
Is there a particular setting to get this red cross on missing bracket? For me CubeIDE does not do this.
2022-03-17 01:56 PM