[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile-time warnings on Solaris 8 64-bit sparc (gcc 4.1.0)
From: |
Paul Eggert |
Subject: |
Re: compile-time warnings on Solaris 8 64-bit sparc (gcc 4.1.0) |
Date: |
Wed, 05 Apr 2006 13:28:33 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Paul D. Smith" <address@hidden> writes:
> At that time it would be a good idea to look through gnulib etc. for
> opportunities for re-use.
OK, thanks for the heads-up. I expect that gnulib should be able to
import some fixes from 'make' as well, e.g., for the glob/fnmatch
area.
> PS. I checked the gnulib manual on the gnu.org website and there's no
> mention of alloca-opt there??
I found it here:
http://cvs.savannah.gnu.org/viewcvs/*checkout*/gnulib/gnulib/MODULES.html?rev=HEAD&content-type=text/html#module=alloca-opt
If you read between the lines of that implementation, you'll find
another concern: many implementations have unreliable 'alloca'
implementations, that can result in unchecked buffer overruns when you
allocate buffers that are "too large". This is partly why I was
concerned about those warnings. The gnulib allocsa module attempts to
address this problem; I'm not entirely happy with it (and don't use it
myself, preferring to do the checking on my own) but I don't have
anything better to offer.