When editing both header and source, it is often the case that other cpp files using this header get compiled first, so one has to wait for error messages longer.
It would be great if CodeBlocks build system would compile the most recently modified cpp file first, so that errors show up faster.