g++编译时总是出现倒计时问题

make编译时,总是提示:

make: Warning: File `mtrpcServer/real_pro.cpp' has modification time 41 s in the future
make: Warning: File `mtrpcServer/real_pro.cpp' has modification time 41 s in the future
make: Warning: File `mtrpcServer/real_pro.cpp' has modification time 41 s in the future
make: Warning: File `mtrpcServer/real_pro.cpp' has modification time 41 s in the future
make: Warning: File `mtrpcServer/real_pro.cpp' has modification time 41 s in the future
make: Warning: File `mtrpcServer/real_pro.cpp' has modification time 41 s in the future
make: Warning: File `mtrpcServer/real_pro.cpp' has modification time 41 s in the future
make: Warning: File `mtrpcServer/real_pro.cpp' has modification time 41 s in the future
make: Warning: File `mtrpcServer/real_pro.cpp' has modification time 41 s in the future
make: Warning: File `mtrpcServer/real_pro.cpp' has modification time 41 s in the future
make: Warning: File `mtrpcServer/real_pro.cpp' has modification time 41 s in the future

原因:系统时间和当前时间有差距

解决办法:更改系统时间为当前时间

[root@QAServer autoQAServer]# date -s 10:36
Fri May 10 10:36:00 HKT 2013

原文地址:https://www.cnblogs.com/xinyuyuanm/p/3072024.html