Mail Archives: djgpp/1998/11/15/06:30:17
On Sat, 14 Nov 1998, Erik Max Francis wrote:
> Nate Eldredge wrote:
>
> > Be aware that this is not portable. It depends fairly strongly on
> > GCC's
> > compiling conventions and may fail on other compilers, or even some
> > future version of GCC. If it's for something like memory locking that
> > isn't portable anyway, though, this probably isn't much of an issue.
>
> I can't imagine why anyone would need to know the size of a function
> unless they were already planning on doing something extremely
> nonportable.
True, but this could also break with a new release of GCC, and you
would hardly want your code be dependent on a compiler version.
- Raw text -