GNU bug report logs -
#7366
incompatible implicit declaration of built-in function 'alloca'
Previous Next
Full log
View this message in rfc822 format
When building on Solaris 10 SPARC, I see several messages like this:
/rootpool2/local/kirkby/emacs-23.2/lib-src/emacsclient.c:1290:17: warning:
incompatible implicit declaration of built-in function 'alloca'
Note the man page for Solaris says its defined in <alloca.h>
Here's part of the man page
kirkby <at> t2:64 ~$ man alloca
Standard C Library Functions malloc(3C)
NAME
malloc, calloc, free, memalign, realloc, valloc, alloca -
memory allocator
SYNOPSIS
#include <stdlib.h>
void *malloc(size_t size);
void *calloc(size_t nelem, size_t elsize);
void free(void *ptr);
void *memalign(size_t alignment, size_t size);
void *realloc(void *ptr, size_t size);
void *valloc(size_t size);
#include <alloca.h>
void *alloca(size_t size);
DESCRIPTION
The malloc() and free() functions provide a simple,
general-purpose memory allocation package. The malloc()
function returns a pointer to a block of at least size bytes
suitably aligned for any use. If the space assigned by mal-
loc() is overrun, the results are undefined.
Dave
This bug report was last modified 14 years and 279 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.