gcvt and stack overflow

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

gcvt and stack overflow

1,956件の閲覧回数
TTA
Contributor I
Hi,
When i am using gcvt() function in my application, it is causing a stack overflow. Can you please let me know if there are any compiler/linker settings that need to be done to avoid this problem.
Kindly do let me know.
 
Thanks,
TTA
ラベル(1)
0 件の賞賛
1 返信

435件の閲覧回数
CrasyCat
Specialist III
Hello
 
Well you will have to change something in your application.
  - You may define a bigger stack in your linker configuration file
  - I would also suggest you to check your application and make sure you do not have
    big arrays or data structure local variables.
  - Also avoid when possible to pass structure as parameters to a function. Whenever possible
    pass a pointer to the structure.
    This is using less memory on the stack.
 
CrasyCat
0 件の賞賛