Skip to main content
xrstokes
Associate III
October 4, 2020
Solved

Warnings Disappear after the second build.

  • October 4, 2020
  • 2 replies
  • 1490 views

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.
Best answer by waclawek.jan

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
October 4, 2020

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
October 4, 2020

Thanks mate, I understand now. Great advice.