gcc果真有这个warning选项
所有跟贴·加跟贴·新语丝读书论坛
送交者: Yush 于 2009-03-15, 23:54:51:
回答: 关于gcc 4.3的printf看来我孤陋寡闻了 由 Yush 于 2009-03-15, 23:45:58:
-Wformat
Check calls to printf and scanf, etc., to make sure that the arguments supplied have types appropriate to the format string specified, and that the conversions specified in the format string make sense.
所有跟贴:
加跟贴