search for: have_alloca_h

Displaying 20 results from an estimated 34 matches for "have_alloca_h".

2004 Jul 21
0
[LLVMdev] /usr/local/src/llvm/include/Config/alloca.h:42:17:#error "The function alloca()
Hi John, In my setup OBJDIR is SRCDIR. I'm looking at the config.h and not config.h.in. Yes, defining HAVE_ALLOCA_H to 1 fixed the compilation. Moreover, I also defined HAVE_ALLOCA to 1 in the config.h: -------------------- /* Define to 1 if you have `alloca', as a function or macro. */ /* #undef HAVE_ALLOCA */ #define HAVE_ALLOCA 1 /*Henrik:*/ /* Define to 1 if you have <alloca.h> and it should be u...
2001 Aug 14
1
malloc() with out free() in popt (2.4.7pre)
I am still chasing this down, but in doing the build for OpenVMS, I have discovered that one of the popt modules is using HAVE_ALLOCA_H to determine if the alloca function is on a platform. That is not a good assumption. Compaq C does have an alloca() built in (slightly different symbol name, I assume because of symbol naming rules in the C standard.) Because alloca is a non-standard extension, if present it may not be in an all...
2004 Nov 12
0
[LLVMdev] install-bytecode no longer works
...d the > appropriate autoconf check to the llvm-test configure, then have the > programs that need alloca use the detected value? Its already in the llvm configure which is inherited by llvm-test. If you want to define this in the makefiles, add the following to llvm-test/Makefile.config.in: HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ Reid. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041112/8da5603a/a...
2002 Jan 07
2
rsync-2.5.1 / popt patches
...e any platform that supports the alloca() function should be able to provide a prototype, a specific prototype probably should not ever be needed. More work is probably needed with the alloca definiton. POPT.C was assuming that the presence of an alloca() function was based on the existance of HAVE_ALLOCA_H. The macro HAVE_ALLOCA_H should only be indicating the presence of a header file. The presence of an ALLOCA function should be based on the macro HAVE_ALLOCA. This of course will require a change to the CONFIGURE scripts, which I can not test. POPT.C also contained a conditional expression t...
2002 Apr 11
1
alloca + configure.in
The following patch against current CVS uses autoconf to detect how to define alloca (used in vorbis-tools/oggenc/audio.c). The inclusion of <alloca.h> is done based on the definition of HAVE_ALLOCA_H rather than __sun. This change is necessary for compilation on IRIX. Thanks, Michael Index: configure.in =================================================================== RCS file: /usr/local/cvsroot/vorbis-tools/configure.in,v retrieving revision 1.36 diff -u -r1.36 configure.in --- configure...
2004 Jul 20
1
[LLVMdev] /usr/local/src/llvm/include/Config/alloca.h:42:17: #error "The function alloca()
...d but not found!" --------------------- By looking in include/Config/config.h: --------------------- /* Define to 1 if you have `alloca', as a function or macro. */ /* #undef HAVE_ALLOCA */ /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). */ /* #undef HAVE_ALLOCA_H */ --------------------- The macros are not set as expected. The alloca() function is defined in <alloca.h> header file. /Henrik _________________________________________________________________ Find det, du s�ger p� MSN S�g http://search.msn.dk
2004 Nov 12
2
[LLVMdev] install-bytecode no longer works
On Thu, 11 Nov 2004, Reid Spencer wrote: > This kind of thing is one of the many reasons we broke llvm-test out to > a separate project. It has multiple purposes. Its a correctness test on > LLVM, its what we base our compiler benchmarks on, and its also where a > lot of the research gets done. You've been bitten by the latt(n)er. :) > > At some point I'd like to see us
2004 Nov 12
2
[LLVMdev] install-bytecode no longer works
...heck to the llvm-test configure, then have the > > programs that need alloca use the detected value? > > Its already in the llvm configure which is inherited by llvm-test. If > you want to define this in the makefiles, add the following to > llvm-test/Makefile.config.in: > > HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ Maybe the llvm-test module should have a config.h file? Or perhaps llvm-test should use the main llvm compatibility headers? We've already solved *this* issue with include/llvm/Config/alloca.h right? -Chris -- http://llvm.org/ http://nondot.org/sabre/
2017 Nov 03
1
[PATCH] Check for _WIN32 instead of WIN32 in preprocessor checks
...#endif diff --git a/libspeex/stack_alloc.h b/libspeex/stack_alloc.h index 5264e666..f6eb3f6e 100644 --- a/libspeex/stack_alloc.h +++ b/libspeex/stack_alloc.h @@ -36,7 +36,7 @@ #define STACK_ALLOC_H #ifdef USE_ALLOCA -# ifdef WIN32 +# ifdef _WIN32 # include <malloc.h> # else # ifdef HAVE_ALLOCA_H diff --git a/src/skeleton.h b/src/skeleton.h index f07d7a3e..1559f8f5 100644 --- a/src/skeleton.h +++ b/src/skeleton.h @@ -10,7 +10,7 @@ extern "C" { #endif -#ifdef WIN32 +#ifdef _WIN32 #define snprintf _snprintf #endif diff --git a/tmv/config.h b/tmv/config.h index ea7abe1d..df61...
2017 May 29
0
[PATCH] Add CMake build script
...* `FLOATING_POINT` * `FIXED_POINT` * `FIXED_POINT_DEBUG` * `DISABLE_FLOAT_API` * `_USE_SSE` * `ARM4_ASM` * `ARM5E_ASM` * `BFIN_ASM` * `TI_C55X` * `DISABLE_VBR` * `USE_SPEEXDSP` * `VORBIS_PSYCHO` * `HAVE_GETOPT_H` * `HAVE_GETOPT_LONG` * `VAR_ARRAYS` * `USE_ALLOCA` * `HAVE_ALLOCA_H` * `USE_SMALLFT` * `USE_KISS_FFT` * `USE_GPL_FFTW3` * `EXPORT` * Installation supported * Package config mode supported How to use ========== Required tools and libraries: * CMake >= 3.1 * Ogg, SpeexDSP packages (headers and import libraries), recommended * FFTW3 package, optional Ty...
2003 Jun 16
0
[LLVMdev] CWriter outputs non-portable use of alloca.h
...gest this because, I'm guessing, whether or > not the CWriter outputs pretty code is not of utmost importance. > > Any counter-suggestions? Well, this should be fixed in the recent autoconf stuff that I've got working locally in my working directory. I'd suggest using the HAVE_ALLOCA_H macro and plugging its definition into Makefile.Linux and Makefile.Sun until I check autoconf in. What would be better yet is to modify the code so that it does not use alloca() at all. There seems to be little reason to use it aside from convenience (but perhaps I have missed something). Us...
2003 Jun 16
3
[LLVMdev] CWriter outputs non-portable use of alloca.h
Hi, My recent refactoring of the (machine-dependent) use of <alloca.h> does not attempt to change CWriter's behavior of emitting a #include for <alloca.h>. FreeBSD does not have <alloca.h>, so this would cause trouble. We could change it to emit an #ifndef __FreeBSD__...#endif around #include <alloca.h>. I suggest this because, I'm guessing, whether or not the
2013 Nov 27
2
non-standard alloca.h
...-99,9 +99,13 @@ AS_IF([test "$has_var_arrays" = "no"], [ AC_CHECK_HEADERS([alloca.h]) + AC_CHECK_HEADERS([malloc.h]) AC_MSG_CHECKING(for alloca) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <alloca.h>]], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_ALLOCA_H + #include <alloca.h> + #endif + #include <malloc.h>]], [[int foo=10; int *array = alloca(foo);]])], [ use_alloca=yes;...
2018 Dec 28
0
[PATCH nbdkit 5/9] cache: Allow this filter to serve requests in parallel.
...int blk_set_size (uint64_t new_size); diff --git a/filters/cache/cache.c b/filters/cache/cache.c index 0d006bc..580e4f5 100644 --- a/filters/cache/cache.c +++ b/filters/cache/cache.c @@ -46,6 +46,8 @@ #include <sys/ioctl.h> #include <assert.h> +#include <pthread.h> + #ifdef HAVE_ALLOCA_H #include <alloca.h> #endif @@ -55,8 +57,12 @@ #include "cache.h" #include "blk.h" -/* XXX See design comment in filters/cow/cow.c. */ -#define THREAD_MODEL NBDKIT_THREAD_MODEL_SERIALIZE_ALL_REQUESTS +#define THREAD_MODEL NBDKIT_THREAD_MODEL_PARALLEL + +/* In order to...
2011 Aug 07
2
Trouble getting in icecast Directory
...ne HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define _FILE_OFFSET_BITS 64 #define _GNU_SOURCE 1 #define STDC_HEADERS 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_ALLOCA_H 1 #define HAVE_PWD_H 1 #define CHUID 1 #define HAVE_UNISTD_H 1 #define CHROOT 1 #define HAVE_LOCALTIME_R 1 #define HAVE_POLL 1 #define HAVE_NANOSLEEP 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SOCKLEN_T 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SETHOSTENT 1 #define HAVE_GE...
2005 Feb 08
0
Compiling R as a shared library
...| #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 16 | #define F77_FUNC(name,NAME) name ## _ | #define F77_FUNC_(name,NAME) name ## __ | #define HAVE_F77_UNDERSCORE 1 | #define HAVE_DOUBLE_COMPLEX 1 | #define SHLIB_EXT ".so" | #define HAVE_OFF_T 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_ACCESS 1 | #define HAVE_CHDIR 1 | #define HAVE_EXPM1 1 | #define HAVE_FCNTL 1 | #define HAVE_FINITE 1 | #define HAVE_FSEEKO 1 | #define HAVE_FTELLO 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_GETCWD 1 | #define HAVE_GETGRGID 1 | #define HAVE_GETPWUID 1 | #de...
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
...HAVE_SYS_SHM_H HAVE_SYS_SOCKET_H HAVE_SYS_STATFS_H HAVE_SYS_STATVFS_H HAVE_SYS_STAT_H HAVE_SYS_SYSLOG_H HAVE_SYS_SYSMACROS_H HAVE_SYS_TERMIO_H HAVE_SYS_TIME_H HAVE_SYS_TYPES_H HAVE_SYS_UIO_H HAVE_SYS_UN_H HAVE_SYS_VFS_H HAVE_SYS_WAIT_H Headers: HAVE_AIO_H HAVE_ALLOCA_H HAVE_ARPA_INET_H HAVE_CTYPE_H HAVE_DIRENT_H HAVE_DLFCN_H HAVE_FCNTL_H HAVE_GLOB_H HAVE_GRP_H HAVE_INT16_FROM_RPC_RPC_H HAVE_INT32_FROM_RPC_RPC_H HAVE_INTTYPES_H HAVE_LANGINFO_H HAVE_LIMITS_H HAVE_LOCALE_H HAVE_MEMORY_H HAVE_MNTENT_H HAVE_NETINET_IN_SYSTM_H HAVE_NET...
2007 Sep 24
2
Where is the tdbsam password database file?
...YS_STATVFS_H HAVE_SYS_STAT_H HAVE_SYS_SYSCALL_H HAVE_SYS_SYSLOG_H HAVE_SYS_SYSMACROS_H HAVE_SYS_TIME_H HAVE_SYS_TYPES_H HAVE_SYS_UIO_H HAVE_SYS_UNISTD_H HAVE_SYS_UN_H HAVE_SYS_VFS_H HAVE_SYS_WAIT_H HAVE_SYS_XATTR_H Headers: HAVE_ACL_LIBACL_H HAVE_AIO_H HAVE_ALLOCA_H HAVE_ARPA_INET_H HAVE_ASM_TYPES_H HAVE_ASM_UNISTD_H HAVE_ATTR_XATTR_H HAVE_CTYPE_H HAVE_DIRENT_H HAVE_DLFCN_H HAVE_EXECINFO_H HAVE_FCNTL_H HAVE_FLOAT_H HAVE_FNMATCH_H HAVE_GLOB_H HAVE_GRP_H HAVE_GSSAPI_GSSAPI_GENERIC_H HAVE_GSSAPI_GSSAPI_H HAVE_GSSAPI...
2009 Dec 30
7
DO NOT REPLY [Bug 7015] New: Build problems on HP-UX, Tru64 -- alloca, -Wno-unused-parameter
...iff -u ./popt/system.h_orig ./popt/system.h --- ./popt/system.h_orig 2006-11-08 20:37:38.000000000 -0600 +++ ./popt/system.h 2009-12-30 05:03:15.000000000 -0600 @@ -87,6 +87,8 @@ # endif #elif defined(__GNUC__) && defined(__STRICT_ANSI__) #define alloca __builtin_alloca +#elif HAVE_ALLOCA_H +# include <alloca.h> #endif #ifndef HAVE_STRLCPY Rationale: The use of GCC should not preclude the use of <alloca.h>. I haven't looked at what happens with __STRICT_ANSI__ defined, so even broader use of <alloca.h> may make more sense ("#if"+"#endif&qu...
2017 Jun 08
0
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
...SYS_STAT_H HAVE_SYS_SYSCALL_H HAVE_SYS_SYSCTL_H HAVE_SYS_SYSLOG_H HAVE_SYS_SYSMACROS_H HAVE_SYS_TIME_H HAVE_SYS_TYPES_H HAVE_SYS_UIO_H HAVE_SYS_UNISTD_H HAVE_SYS_UN_H HAVE_SYS_VFS_H HAVE_SYS_WAIT_H HAVE_SYS_XATTR_H Headers: HAVE_ACL_LIBACL_H HAVE_AIO_H HAVE_ALLOCA_H HAVE_ARPA_INET_H HAVE_ASM_TYPES_H HAVE_ASM_UNISTD_H HAVE_ATTR_XATTR_H HAVE_COM_ERR_H HAVE_CRYPT_H HAVE_CTYPE_H HAVE_DIRENT_H HAVE_DLFCN_H HAVE_EXECINFO_H HAVE_FCNTL_H HAVE_FLOAT_H HAVE_FNMATCH_H HAVE_GETOPT_H HAVE_GLOB_H HAVE_GRP_H HAVE_GSSAPI_GSSA...