Re: free (static_array)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sajish V wrote:
> Thanks for the reply, Denys.
> My question was, why doesn't gcc catch it during compilation? 
> It is clear that we are trying to free a variable from stack.
> Shouldn't gcc flag an error for this during compilation?

I suppose I don't understand why you think gcc should
catch it during compilation.  If you explain why you think it
should, preferably with reference to the language standard,
we might get somewhere.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux