linux C++ 程序报错记录 warning: Source file is more recent than executable. 这个错误的原因是你的源文件已经被修改了, 但正在运行的程序是基于一个较早版本的源代码. 可能会导致gdb调试运行与现有源代码逻辑不一致。需要重新编译一下程序。