cancel
Showing results for 
Search instead for 
Did you mean: 

Warnings Disappear after the second build.

xrstokes
Associate III

I'm going back over a project trying to clean up all of the warnings.

The first time i build the project there are a few hundred warnings. So i clean a few up and build again to make sure i didn't break anything but then all the warnings are gone. Can i change this behavior? I'd like the warnings to hang around please.

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

This is inherent behaviour of any build system - only file which have been changed are compiled, to spare compile time.

Make a clean build (don't know how this is called in CubeIDE, don't use it) or make a trivial change in the file in question, e.g. add an empty line to its end.

JW

View solution in original post

2 REPLIES 2

This is inherent behaviour of any build system - only file which have been changed are compiled, to spare compile time.

Make a clean build (don't know how this is called in CubeIDE, don't use it) or make a trivial change in the file in question, e.g. add an empty line to its end.

JW

xrstokes
Associate III

Thanks mate, I understand now. Great advice.