what is exactly stack stomp -gx new switch ?

2014-07-15 Thread Klb via Digitalmars-d-learn
...and any example where this switch will be usefull ?

Re: what is exactly stack stomp -gx new switch ?

2014-07-15 Thread bearophile via Digitalmars-d-learn
Klb: ...and any example where this switch will be usefull ? I guess it was added to D in the spirit of If you have to ask what it is, then you don't need to use it. More seriously, I too would like more documentation about its use cases. Bye, bearophile

Re: what is exactly stack stomp -gx new switch ?

2014-07-15 Thread Ali Çehreli via Digitalmars-d-learn
On 07/15/2014 04:33 PM, bearophile wrote: Klb: ...and any example where this switch will be usefull ? I guess it was added to D in the spirit of If you have to ask what it is, then you don't need to use it. More seriously, I too would like more documentation about its use cases. Bye,

Re: what is exactly stack stomp -gx new switch ?

2014-07-15 Thread Ali Çehreli via Digitalmars-d-learn
On 07/15/2014 04:56 PM, Ali Çehreli wrote: char buffer[100]; [...] char buffer[100] = void; Before others point out, those are in C syntax by mistake. :) They should preferably be: char[100] buffer; [...] char[100] buffer = void; Ali