我在 64 位 Redhat Enterprise 3 机器上编译了 gcc 4.5.2(2.4.21-20.ELsmp,glibc 2.3.2)。它编译正常,但有很多警告消息,如
/tmp/ccbGRF5F.s: Assembler messages:
/tmp/ccbGRF5F.s:29: Warning: rest of line ignored; first ignored character is `d'
/tmp/ccbGRF5F.s:33: Warning: rest of line ignored; first ignored character is `d'
/tmp/ccbGRF5F.s:169: Warning: rest of line ignored; first ignored character is `i'
然后我尝试用编译器编译代码,它仍然会吐出这些 asm 警告,而且我没有在我的 C 代码中使用任何 asm。我怎样才能摆脱它?修复或抑制警告都很好。