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 就可以了

 

文章標籤
全站熱搜
創作者介紹
創作者 立你斯 的頭像
立你斯

立你斯學習記錄

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