Displaying 20 results from an estimated 97 matches for "have_stdint_h".
2010 Mar 06
6
[LLVMdev] [PATCH]: MSVC build enhancements
...against-static-MSVC-runtime.patch
Type: text/x-patch
Size: 2055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100306/69a65259/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Include-stdint.h-when-HAVE_STDINT_H-is-defined-on-MS.patch
Type: text/x-patch
Size: 1244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100306/69a65259/attachment-0001.bin>
2010 Mar 06
0
[LLVMdev] [PATCH]: MSVC build enhancements
...;>>> --- a/include/llvm/System/DataTypes.h.cmake
>>>> +++ b/include/llvm/System/DataTypes.h.cmake
>>>> @@ -100,6 +100,9 @@ typedef u_int64_t uint64_t;
>>>> #else
>>>> #include <math.h>
>>>> #endif
>>>> +#ifdef HAVE_STDINT_H
>>>> +#include <stdint.h>
>>>> +#else /* !HAVE_STDINT_H */
>>>
>>> This looks incorrect to me. stdint.h is already included below for
>>> non-MSVC systems. Maybe you inteded to #include it for MSVC only? Or do
>>> intend to correct s...
2015 Jul 06
0
[PATCH speexdsp] Don't rely on HAVE_STDINT_H et al. being defined
...s.h.in b/include/speex/speexdsp_config_types.h.in
> index 02b82fd..5ea7b55 100644
> --- a/include/speex/speexdsp_config_types.h.in
> +++ b/include/speex/speexdsp_config_types.h.in
> @@ -1,13 +1,7 @@
> #ifndef __SPEEX_TYPES_H__
> #define __SPEEX_TYPES_H__
>
> -#if defined HAVE_STDINT_H
> -# include <stdint.h>
> -#elif defined HAVE_INTTYPES_H
> -# include <inttypes.h>
> -#elif defined HAVE_SYS_TYPES_H
> -# include <sys/types.h>
> -#endif
> + at INCLUDE_STDINT@
>
> typedef @SIZE16@ spx_int16_t;
> typedef @USIZE16@ spx_uint16_t;...
2015 Jul 05
3
[PATCH speexdsp] Don't rely on HAVE_STDINT_H et al. being defined
...git a/include/speex/speexdsp_config_types.h.in b/include/speex/speexdsp_config_types.h.in
index 02b82fd..5ea7b55 100644
--- a/include/speex/speexdsp_config_types.h.in
+++ b/include/speex/speexdsp_config_types.h.in
@@ -1,13 +1,7 @@
#ifndef __SPEEX_TYPES_H__
#define __SPEEX_TYPES_H__
-#if defined HAVE_STDINT_H
-# include <stdint.h>
-#elif defined HAVE_INTTYPES_H
-# include <inttypes.h>
-#elif defined HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
+ at INCLUDE_STDINT@
typedef @SIZE16@ spx_int16_t;
typedef @USIZE16@ spx_uint16_t;
--
2.1.4
2009 Aug 27
1
[LLVMdev] A patch for refine the cmake system and also configure
...you have the <sys/types.h> header file. */
+#cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H}
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#cmakedefine HAVE_INTTYPES_H ${HAVE_INTTYPES_H}
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#cmakedefine HAVE_STDINT_H ${HAVE_STDINT_H}
+
+/* Define to 1 if the system has the type `uint64_t'. */
+#cmakedefine HAVE_UINT64_T ${HAVE_UINT64_T}
+
+/* Define to 1 if the system has the type `u_int64_t'. */
+#cmakedefine HAVE_U_INT64_T ${HAVE_U_INT64_T}
+
+#else
+
/* Define if dlopen(0) will open the symbols of t...
2010 Mar 06
0
[LLVMdev] [PATCH]: MSVC build enhancements
...ult instead of /MD, so
replacing /MD with /MTd, for instance, would give /MTdd)
> --- a/include/llvm/System/DataTypes.h.cmake
> +++ b/include/llvm/System/DataTypes.h.cmake
> @@ -100,6 +100,9 @@ typedef u_int64_t uint64_t;
> #else
> #include <math.h>
> #endif
> +#ifdef HAVE_STDINT_H
> +#include <stdint.h>
> +#else /* !HAVE_STDINT_H */
This looks incorrect to me. stdint.h is already included below for
non-MSVC systems. Maybe you inteded to #include it for MSVC only? Or do
intend to correct some problem with non-MSVC builds too?
> typedef __int64 int64_t;
>...
2014 May 04
1
Bug: incompatibility with MSVS 2005
...de <stdint.h>" was removed:
memory.c includes "private/memory.h", it indirectly includes <crtdefs.h>
where uintptr_t is defined. But it's implementation details...
--------------
memory.c also includes "share/alloc.h" which contains the following code:
#if HAVE_STDINT_H
#include <stdint.h> /* for SIZE_MAX in case limits.h didn't get it */
#endif
but memory.c includes <stdint.h> unconditionally. What was the reason for
this #ifdef/#endif? Compatibility with non-C99 compilers?
--------------
Maybe the simplest fix for this problem is to replace
#i...
2009 Aug 27
0
[LLVMdev] A patch for refine the cmake system and also configure
Hi Yonggang!
On Aug 27, 1:02 pm, 罗勇刚(Yonggang Luo) <luoyongg... at gmail.com> wrote:
> Because this patch must be applied in one time so that don't broken
> the buildbot system.
> So I just submit the configure and cmake at the same time.
> Also, this patch add two new file
> iterator.h
> and
> DataTypes.h
What do you want to improve exactly? Do you experience
2004 Sep 25
2
[LLVMdev] Hardcoded HAVE_* defines in the DataTypes.h include file
Hi
I noticed that these defines (line 35 to 37) are hardcoded in the
DataTypes.h include file:
----------------
#define HAVE_SYS_TYPES_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
----------------
Shouldn't they have be defined by the configure script into
llvm/Config/config.h?
Henrik
_________________________________________________________________
Undg� pop-ups med MSN Toolbar - http://toolbar.msn.dk/ hent den gratis!
2009 Aug 27
2
[LLVMdev] A patch for refine the cmake system and also configure
Because this patch must be applied in one time so that don't broken
the buildbot system.
So I just submit the configure and cmake at the same time.
Also, this patch add two new file
iterator.h
and
DataTypes.h
for the reason that patch doesn't support for svn's rename mechanics.
So I just add these two file and doesn't delete the old history files
Because I doesn't get
2008 May 10
3
Patch : Fix cross-compiling from Linux to windows
...s doing:
#if !defined _MSC_VER && !defined __MINGW32__ && !defined __EMX__
#include <stdint.h> /* for SIZE_MAX in case limits.h didn't get it */
#endif
when it seems to make much more sense to just test for the presence
of <stdint.h> and do:
#ifdef HAVE_STDINT_H
#include <stdint.h> /* for SIZE_MAX in case limits.h didn't get it */
#endif
It is not possible to cross compile from Linux to windows, but the
tests don't currently work. Josh, are you interested in fixing
this? It should be possible to run the tests under Wine.
Cheers,
Eri...
2010 Jun 24
3
[LLVMdev] DataTypes.h for Visual C
...i!
In DataTypes.h (generated from DataTypes.cmake) there is an extra
code path for Visual C.
This can produce macro redefinitions for INT8_MAX, INT8_MIN etc.
since other headers may also define them. Therefore please
protect the macros like INT8_C etc.
Also it would be nice if the auto-generated HAVE_STDINT_H
and HAVE_INTTYPES_H would be used also for Visual C since it
is possible to add them to the global header directory
(e.g. http://msinttypes.googlecode.com/svn/trunk)
-Jochen
2005 May 12
2
Problem configuring speex 1.1.8
Can you send me the config.log?
Jean-Marc
Le vendredi 13 mai 2005 ? 00:16 +0200, Pierre a ?crit :
> Jean-Marc Valin wrote:
> > What platform (OS, compiler/version)
>
> GNU/Linux
> kernel 2.6.11.8
> gcc 3.4.3
>
> > Also, does it work with no options.
>
> No, I just tried with just "./configure" and I have the same error.
>
>
--
Jean-Marc
2012 May 09
1
warning from configuring openssh-6.0p1
...t;openssh-unix-dev at mindrot.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define 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 _FILE_OFFSET_BITS 64
| #define LOGIN_PROGRAM_FALLBACK "/bin/login"
| #define _PATH_PASSWD_PROG "/usr/bin/passwd"
| #define HAVE_RLIMIT_NPROC /**/
| #define HAVE_ATTRIBUTE__NONNULL__ 1
| #define HAVE_CRYPT_H 1
| #define HAVE_DIRENT_H 1
| #def...
2005 May 13
0
Problem configuring speex 1.1.8
...efine PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define 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
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4649: g++ -c -s -O3 -march=i686 conftest.cc >&5
configure:4655: $? = 0
configure:4658: test -z || test ! -s conftest.err
configure:4661: $?...
2005 May 13
1
Problem configuring speex 1.1.8
...ACKAGE_BUGREPORT ""
> | #define STDC_HEADERS 1
> | #define HAVE_SYS_TYPES_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define 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
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> | exit (42);
> | ;
> | return 0;
> | }
> configure:4649: g++ -c -s -O3 -march=i686 conftest.cc >&5
> configure:4655: $? = 0
> co...
2005 May 08
2
Problem configuring speex 1.1.8
...efine PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define 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
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4649: g++ -c -s -O3 -march=i686 conftest.cc >&5
configure:4655: $? = 0
configure:4658: test -z || test ! -s conftest.err
configure:4661: $?...
2010 Sep 03
1
TinycoreLinux Install
...define PACKAGE "xapian-core"
| #define VERSION "1.2.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define 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 LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:11662: result: g++ -E
configure:11682: g++ -E conftest.cpp
configure:11682: $? = 0
configure:11696: g++ -E conftest.cpp
conftest.cpp:2...
2005 Feb 05
2
Problems compiling (configure) R on Ubuntu linux (debian)
...ern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define 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 HAVE_LIBM 1
| /* end confdefs.h. */
|
|
| int
| main ()
| {
| main ();
| ;
| return 0;
| }
configure:21355: result: no
configure:21366: checking for main in -ltermcap
configure:21390: gcc -o
conftest -g -O2 -I/usr/local/include -L...
2014 Sep 26
1
configure: error: linking to Fortran libraries from C fails
...RIER 1
| #define R_ARCH ""
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define 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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBM 1
| #define HAVE_LIBDL 1
| #define HAVE_READLINE...