标签: gcc type-conversion clang
我知道gcc是一个警告类型截断的节目,但我不知道如何在比较中显示警告:
int32 a; int64 b; a = b; // gcc can show warnings with 'Wconversion' a < b //gcc will not show any warnings //this case may dead loop for ( a = 0; a< b; a++)