Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Stack Overflow error with Watcom
Ref. No. QNX.000001389
Category(ies) Development
Issue Our Watcom 10.6 program is overrunning its stack.
Is there something we can do about it?




Solution You will want to specify the amount of stack directly with the "-N #" option to cc. Where # is the amount of stack you want in Kb. The default stack for a 32-bit flat model (the default model) is 32 Kb.