在MDK编译代码时,有时会出现这样的警告,

warning : type qualifier is meaningless on cast type return

在MDK中,作如下设置:

MDK中问题:warning : type qualifier is meaningless on cast type return 的解决-LMLPHP

即添加   :  -O1 -g -W
而 --gnu 则根据实际情况添加或者不添加。
05-19 22:30