Displaying 12 results from an estimated 12 matches for "_all_source".
2004 Jul 06
1
[LLVMdev] CommandLine.cpp:189: error: `strdup' undeclared
Hi
>
>Are you able to explain below meaning to me?
>
>#if defined(_ALL_SOURCE) \
> || (defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE_EXTENDED==1)) \
> || (__STDC__ - 0 == 0 && !defined(_POSIX_C_SOURCE))
>extern char* __cdecl strdup(const char *);
>#endif /* defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE_EXTENDED == 1) */
>
(RTFM) Some of...
2002 Mar 24
1
R on AIX
Two issues re R on AIX that came up in recent email exchange with Dan
Million <lio@hpss1.ccs.ornl.gov>:
* We currently use the Autoconf AC_AIX macro which essentially 'defines'
_ALL_SOURCE on AIX. According to Dan, on AIX one ends up with
#define _ALL_SOURCE 1
which follows Autoconf's general pattern, but causes a problem as the
system headers (unconditionally?) have
#define _ALL_SOURCE
which gives a redefinition error. Now the Autoconf source has
AC_DEFUN([AC_AIX...
2004 Jan 29
1
302rc1 and AIX 5.2
...ze. Sometimes I can't control-C - I have to
kill them outright.
This is really strange...I've never seen it behave this way.
When I do a make, sometimes it says I have to run config.status. I tried
libiconv as shared and as static, no change. I've compiled libiconv
standard and with -D_ALL_SOURCE. libiconv.a was smaller, but no change in
behavior.
I've compiled SAMBA with the default of _LINUX_SOURCE_COMPAT and with it
removed. I've also added _ALL_SOURCE to the _LINUX_SOURCE_COMPAT option
and all it did was change the size of my executables. Same symptoms...
The testparm command...
2004 Jul 15
2
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...7483647 /* max value for (signed) int */
#define UINT_MAX 0xffffffff /* max value for unsigned int */
#define LONG_MIN (-2147483647L-1) /* minimum (signed) long */
#define LONG_MAX 2147483647L /* maximum (signed) long */
#define ULONG_MAX 0xffffffffUL /* maximum unsigned long */
#if defined(_ALL_SOURCE) \
|| (__STDC__ - 0 == 0) && !defined(_POSIX_C_SOURCE) \
&& !defined(_XOPEN_SOURCE)
/*
* Minimum and maximum values for 64-bit types
* Define all the various well-known flavors of symbols
*
*/
#define ULLONG_MAX ((u_quad_t)0-1) /* 0xffffffffffffffff */
#define...
2014 Sep 26
1
configure: error: linking to Fortran libraries from C fails
...efine 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_HISTORY_H 1
| #define HAVE_READLINE_READLINE_H 1
| #define HAVE_LIBREADLINE...
2007 Apr 05
1
Header files
Hi,
Please could give me a hints how to get below header files, these are
not available in my system.
Am running player_example.c which is given in theora dump. Getting error
that below files can't open. I checked in "C:\Program Files\Microsoft
Visual Studio\VC98\Include" and these are not present.
#include <unistd.h>
#include <sys/soundcard.h>
#include
2004 Jul 05
0
[LLVMdev] CommandLine.cpp:189: error: `strdup' undeclared
Hi
I've found below declaration of strdup in /usr/include/string.h.
But, I'm wondering why it doesn't belong to the ordinary function prototypes
as extern char * __cdecl strcpy(char *, const char *);.
Are you able to explain below meaning to me?
#if defined(_ALL_SOURCE) \
|| (defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE_EXTENDED==1)) \
|| (__STDC__ - 0 == 0 && !defined(_POSIX_C_SOURCE))
extern char* __cdecl strdup(const char *);
#endif /* defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE_EXTENDED == 1) */
My version of GCC is Interix gcc 3....
2004 Sep 18
0
[LLVMdev] MAXPATHLEN' undeclared (first use this function)
...ix as seen above:
>---------------------------------
>#include <limits.h>
>
>// Include the generic Unix implementation
>#include "../Unix/Path.cpp"
>
>...
>---------------------------------
1) The UAMG says to include all API from Interix one should define
_ALL_SOURCE before the first header file included. In the LLVM project
preferably on the commandline as -D_ALL_SOURCE because it applies to all
source files.
2) Inclusion of <limits.h> in Path.cpp is superflocius, because it is
indirectly included from elsewhere.
Henrik
____________________________...
2012 Mar 31
2
Libvirt source code cannot built with libnettle.
...LD_LIBRARY_PATH=$LD_LIBRARY_PATH/path_of_nettle_2.4/lib and
"PATH:path_of_nettle_2.4/bin/:$PATH" on ~/.bashrc . Why show an errors for
requiring libnettle version 2.4?
VIM command line for show data in config.log. it's show as below.
739 | #define __EXTENSIONS__ 1
740 | #define _ALL_SOURCE 1
741 | #define _DARWIN_C_SOURCE 1
742 | #define _GNU_SOURCE 1
743 | #define _POSIX_PTHREAD_SEMANTICS 1
744 | #define _TANDEM_SOURCE 1
745 | #define HAVE_FSEEKO 1
746 | #define STDC_HEADERS 1
747 | /* end confdefs.h. */
748 | #include <nettle/ripemd160.h>
749 | int
750 | main ()
7...
2004 Jul 14
0
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...7483647 /* max value for (signed) int */
#define UINT_MAX 0xffffffff /* max value for unsigned int */
#define LONG_MIN (-2147483647L-1) /* minimum (signed) long */
#define LONG_MAX 2147483647L /* maximum (signed) long */
#define ULONG_MAX 0xffffffffUL /* maximum unsigned long */
#if defined(_ALL_SOURCE) \
|| (__STDC__ - 0 == 0) && !defined(_POSIX_C_SOURCE) \
&& !defined(_XOPEN_SOURCE)
/*
* Minimum and maximum values for 64-bit types
* Define all the various well-known flavors of symbols
*
*/
#define ULLONG_MAX ((u_quad_t)0-1) /* 0xffffffffffffffff */
#define...
2004 Jul 15
0
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...int */
> #define UINT_MAX 0xffffffff /* max value for unsigned int */
>
> #define LONG_MIN (-2147483647L-1) /* minimum (signed) long */
> #define LONG_MAX 2147483647L /* maximum (signed) long */
> #define ULONG_MAX 0xffffffffUL /* maximum unsigned long */
>
> #if defined(_ALL_SOURCE) \
> || (__STDC__ - 0 == 0) && !defined(_POSIX_C_SOURCE) \
> && !defined(_XOPEN_SOURCE)
> /*
> * Minimum and maximum values for 64-bit types
> * Define all the various well-known flavors of symbols
> *
> */
> #define ULLONG_MAX ((u_quad_t)0-...
2004 Aug 31
9
[LLVMdev] POSIX compliance
...pport.
I've discussed this subject with the support staff from Interix:
http://www.interopsystems.com/tools/forum/tm.asp?m=3336&mpage=1&key=ഌ
As I see it: Interix supports: POSIX.1, POSIX.2 and Single UNIX
Specification (SUS).
However, the general rule is to use the define _ALL_SOURCE when compiling
the source.
This is the behavior I've succeded with Interix till now. However, for some
header files some other defines has to be set to compile or you directly
have to manipulate the files (comment some functions). I'm working to iron
these cases out.
/Henrik
_______...