das at FreeBSD.ORG
Sat Jun 14 15:44:56 PDT 2003
On Sun, Jun 15, 2003, Dag-Erling Smorgrav wrote:
> David Schultz <das at FreeBSD.ORG> writes:
> > alloca() is, by necessity, a compiler feature. AFAIK, you
> > shouldn't need to #define alloca __builtin_alloca, since any
> > compiler should be providing it if it is supported at all. I
> > think simply declaring it should be sufficient; at least this is
> > the case for gcc.
> Not if you build with -fno-builtin or some other option that disables
> builtins. This is precisely why -CURRENT is currently broken.
Bleh, I apologize. I was reading:
-#define alloca(sz) __builtin_alloca(sz)
-#error FreeBSD alloca support needed for this compiler
+#define alloca(sz) __builtin_alloca(sz)
+#error FreeBSD alloca support needed for this compiler
/me crawls back into his cave.
More information about the freebsd-arch