RE: GCC On IRIX -- a lot of stuff I'm learning about this
In file included from /usr/include/internal/stdlib_core.h:34:0,
from /usr/include/stdlib.h:4,
from /root/build-4.8/mips-sgi-irix6.5/libstdc++-v3/include/cstdlib:72,
from ../../../../gcc-4.8.5/libstdc++-v3/libsupc++/atexit_thread.cc:25:
/usr/include/internal/stdlib_core.h:171:55: error: conflicting declaration 'char** restrict'
extern double strtod(const char * __restrict, char ** __restrict);
^
/usr/include/internal/stdlib_core.h:171:35: error: 'restrict' has a previous declaration as 'const char* restrict'
extern double strtod(const char * __restrict, char ** __restrict);
^
/usr/include/internal/stdlib_core.h:173:54: error: conflicting declaration 'char** restrict'
extern float strtof(const char * __restrict, char ** __restrict);
^
/usr/include/internal/stdlib_core.h:173:34: error: 'restrict' has a previous declaration as 'const char* restrict'
extern float strtof(const char * __restrict, char ** __restrict);
^
/usr/include/internal/stdlib_core.h:179:61: error: conflicting declaration 'char** restrict'
extern long double strtold(const char * __restrict, char ** __restrict);
^
/usr/include/internal/stdlib_core.h:179:41: error: 'restrict' has a previous declaration as 'const char* restrict'
extern long double strtold(const char * __restrict, char ** __restrict);
^
/usr/include/internal/stdlib_core.h:182:57: error: conflicting declaration 'char** restrict'
extern long int strtol(const char * __restrict, char ** __restrict, int);
^
/usr/include/internal/stdlib_core.h:182:37: error: 'restrict' has a previous declaration as 'const char* restrict'
extern long int strtol(const char * __restrict, char ** __restrict, int);
^
/usr/include/internal/stdlib_core.h:184:59: error: conflicting declaration 'char** restrict'
extern long long strtoll(const char * __restrict, char ** __restrict, int);
^
/usr/include/internal/stdlib_core.h:184:39: error: 'restrict' has a previous declaration as 'const char* restrict'
extern long long strtoll(const char * __restrict, char ** __restrict, int);
^
/usr/include/internal/stdlib_core.h:186:67: error: conflicting declaration 'char** restrict'
extern unsigned long int strtoul(const char * __restrict, char ** __restrict, int);
^
/usr/include/internal/stdlib_core.h:186:47: error: 'restrict' has a previous declaration as 'const char* restrict'
extern unsigned long int strtoul(const char * __restrict, char ** __restrict, int);
^
/usr/include/internal/stdlib_core.h:189:69: error: conflicting declaration 'char** restrict'
extern unsigned long long strtoull(const char * __restrict, char ** __restrict, int);
^
/usr/include/internal/stdlib_core.h:189:49: error: 'restrict' has a previous declaration as 'const char* restrict'
extern unsigned long long strtoull(const char * __restrict, char ** __restrict, int);
^
/usr/include/internal/stdlib_core.h:280:54: error: conflicting declaration 'const char* restrict'
extern int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
/usr/include/internal/stdlib_core.h:280:29: error: 'restrict' has a previous declaration as 'wchar_t* restrict'
extern int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
/usr/include/internal/stdlib_core.h:286:59: error: conflicting declaration 'const char* restrict'
extern size_t mbstowcs(wchar_t * __restrict, const char * __restrict, size_t);
^
/usr/include/internal/stdlib_core.h:286:34: error: 'restrict' has a previous declaration as 'wchar_t* restrict'
extern size_t mbstowcs(wchar_t * __restrict, const char * __restrict, size_t);
^
/usr/include/internal/stdlib_core.h:288:59: error: conflicting declaration 'const wchar_t* restrict'
extern size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
/usr/include/internal/stdlib_core.h:288:31: error: 'restrict' has a previous declaration as 'char* restrict'
extern size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
/usr/include/internal/string_core.h:61:53: error: conflicting declaration 'const void* restrict'
extern void *memcpy(void * __restrict, const void * __restrict, size_t);
^
/usr/include/internal/string_core.h:61:28: error: 'restrict' has a previous declaration as 'void* restrict'
extern void *memcpy(void * __restrict, const void * __restrict, size_t);
^
/usr/include/internal/string_core.h:63:53: error: conflicting declaration 'const char* restrict'
extern char *strcpy(char * __restrict, const char * __restrict);
^
/usr/include/internal/string_core.h:63:28: error: 'restrict' has a previous declaration as 'char* restrict'
extern char *strcpy(char * __restrict, const char * __restrict);
^
/usr/include/internal/string_core.h:64:54: error: conflicting declaration 'const char* restrict'
extern char *strncpy(char * __restrict, const char * __restrict, size_t);
^
/usr/include/internal/string_core.h:64:29: error: 'restrict' has a previous declaration as 'char* restrict'
extern char *strncpy(char * __restrict, const char * __restrict, size_t);
^
/usr/include/internal/string_core.h:68:53: error: conflicting declaration 'const char* restrict'
extern char *strcat(char * __restrict, const char * __restrict);
^
/usr/include/internal/string_core.h:68:28: error: 'restrict' has a previous declaration as 'char* restrict'
extern char *strcat(char * __restrict, const char * __restrict);
^
/usr/include/internal/string_core.h:69:54: error: conflicting declaration 'const char* restrict'
extern char *strncat(char * __restrict, const char * __restrict, size_t);
^
/usr/include/internal/string_core.h:69:29: error: 'restrict' has a previous declaration as 'char* restrict'
extern char *strncat(char * __restrict, const char * __restrict, size_t);
^
/usr/include/internal/string_core.h:78:55: error: conflicting declaration 'const char* restrict'
extern size_t strxfrm(char * __restrict, const char * __restrict, size_t);
^
/usr/include/internal/string_core.h:78:30: error: 'restrict' has a previous declaration as 'char* restrict'
extern size_t strxfrm(char * __restrict, const char * __restrict, size_t);
^
/usr/include/internal/string_core.h:97:53: error: conflicting declaration 'const char* restrict'
extern char *strtok(char * __restrict, const char * __restrict);
^
/usr/include/internal/string_core.h:97:28: error: 'restrict' has a previous declaration as 'char* restrict'
extern char *strtok(char * __restrict, const char * __restrict);
^
/usr/include/internal/time_core.h:144:64: error: conflicting declaration 'const char* restrict'
extern size_t strftime(char * __restrict, size_t, const char * __restrict, const struct tm * __restrict);
^
/usr/include/internal/time_core.h:144:31: error: 'restrict' has a previous declaration as 'char* restrict'
extern size_t strftime(char * __restrict, size_t, const char * __restrict, const struct tm * __restrict);
^
/usr/include/internal/time_core.h:144:94: error: conflicting declaration 'const tm* restrict'
extern size_t strftime(char * __restrict, size_t, const char * __restrict, const struct tm * __restrict);
^
/usr/include/internal/time_core.h:144:31: error: 'restrict' has a previous declaration as 'char* restrict'
extern size_t strftime(char * __restrict, size_t, const char * __restrict, const struct tm * __restrict);
New error. I assume it's not supposed to be including this header in libstdc++v3 or something? how do I exclude it?
I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast.
https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently.
https://codeberg.org/SolusRaion -- Code repos I control
Technical problems should be sent my way.
|