Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Source file is more recent than executable.



  • What is the real purpose behind this run time message ?
    Sound like "it rained yesterday " posted as news .

    If "Source file is more recent than executable" would it be a compiler / build error prompting user to manually do rebuild or triggering automatic rebuild ?

    What makes 'run time" to recognize such state and state not being recognized by build process?

    IMHO it is pretty superfluous being posted in run time.


  • Moderators

    @AnneRanch said in Source file is more recent than executable.:

    What is the real purpose behind this run time message ?

    That message is produced by your debugger, not your compiler or program.

    One of the debugger's jobs is to show you the exact location (in the source code) where the program is executing. It can't do this reliably if the code was changed after the executable was built.

    So it's not superfluous at all. It's warning you that the newer code might reduce the debugger's accuracy.



  • @JKSH So it is the debugger message . Nice .


Log in to reply