Skip to main content
xrstokes
Associate III
Oct 4, 2020 4:10 AM UTC
Solved

Warnings Disappear after the second build.

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.

This topic has been closed for replies.
waclawek.jan
waclawek.janBest answer
Super User
Oct 4, 2020 5:28 AM UTC

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

2 replies

waclawek.jan
waclawek.janBest answer
Super User
Oct 4, 2020 5:28 AM UTC

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
xrstokesAuthor
Associate III
Oct 4, 2020 11:10 PM UTC

Thanks mate, I understand now. Great advice.