> > you really wish that compiler could "pack" together static buffers of > functions which cannot be active at the same time
At some point, you might as well just allocate a global array called "buffer" and use it everywhere. You could even add some checking code to make sure no one else is using it. While this violates all sorts of HLL programming paradigms, in some ways it makes me less uncomfortable than using multiple names with local scoping to hide the fact that you're reusing the same buffer… alloca() is the standard function for allocating dynamic storage on the stack. WestfW ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users