cc1: warnings being treated as errors
somefile.c:200: error: the frame size of 1032 bytes is larger than 1024 bytes

The line number points to the closing brace of a c function that has a signature like this:

void trace(SomeEnum1 p1,SomeEnum2 p2,char* format,...){char strBuffer[1024];...

The function prints some stuff into the buffer.

 

我的解法 就是改用malloc 就可以了

 

arrow
arrow
    全站熱搜

    立你斯 發表在 痞客邦 留言(0) 人氣()