/in/double_list.c:16:1: error: unknown type name 'A'
A sample double_list.c file:
^
/in/double_list.c:16:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double_list'
A sample double_list.c file:
^~~~~~~~~~~
In file included from /usr/include/stdio.h:41:0,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/libio.h:306:3: error: unknown type name 'size_t'
size_t __pad5;
^~~~~~
/usr/include/x86_64-linux-gnu/bits/libio.h:309:67: error: 'size_t' undeclared here (not in a function); did you mean '__size_t'?
char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
^~~~~~
__size_t
/usr/include/x86_64-linux-gnu/bits/libio.h:337:62: error: expected declaration specifiers or '...' before 'size_t'
typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
^~~~~~
/usr/include/x86_64-linux-gnu/bits/libio.h:346:6: error: expected declaration specifiers or '...' before 'size_t'
size_t __n);
^~~~~~
/usr/include/x86_64-linux-gnu/bits/libio.h:467:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
extern _IO_size_t _IO_sgetn (_IO_FILE *, void *, _IO_size_t);
^~~~~~~~~
In file included from /in/double_list.c:23:0:
/usr/include/stdio.h:295:20: error: expected declaration specifiers or '...' before 'size_t'
int __modes, size_t __n) __THROW;
^~~~~~
/usr/include/stdio.h:340:44: error: expected declaration specifiers or '...' before 'size_t'
extern int snprintf (char *__restrict __s, size_t __maxlen,
^~~~~~
/usr/include/stdio.h:344:45: error: expected declaration specifiers or '...' before 'size_t'
extern int vsnprintf (char *__restrict __s, size_t __maxlen,
^~~~~~
/usr/include/stdio.h:646:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
extern size_t fread (void *__restrict __ptr, size_t __size,
^~~~~
/usr/include/stdio.h:652:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
extern size_t fwrite (const void *__restrict __ptr, size_t __size,
^~~~~~
In file included from /usr/include/stdio.h:862:0,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:23:61: error: expected declaration specifiers or '...' before 'size_t'
extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen,
^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:25:62: error: expected declaration specifiers or '...' before 'size_t'
extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen,
^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:52:50: error: expected declaration specifiers or '...' before 'size_t'
extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag,
^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:53:7: error: expected declaration specifiers or '...' before 'size_t'
size_t __slen, const char *__restrict __format,
^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:55:51: error: expected declaration specifiers or '...' before 'size_t'
extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag,
^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:56:8: error: expected declaration specifiers or '...' before 'size_t'
size_t __slen, const char *__restrict __format,
^~~~~~
In file included from /usr/include/features.h:424:0,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:74:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (vsnprintf (char *__restrict __s, size_t __n,
^
In file included from /usr/include/stdio.h:862:0,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:240:49: error: expected declaration specifiers or '...' before 'size_t'
extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n,
^~~~~~
In file included from /usr/include/features.h:424:0,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:245:14: error: expected declaration specifiers or '...' before 'size_t'
extern char *__REDIRECT (__fgets_chk_warn,
^
In file included from /usr/include/stdio.h:862:0,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'fgets':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:259:20: error: expected ')' before '__n'
if ((size_t) __n > __bos (__s))
^~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h: At top level:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:265:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fread_chk'
extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen,
^~~~~~~~~~~
In file included from /usr/include/features.h:424:0,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:268:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fread_alias'
extern size_t __REDIRECT (__fread_alias,
^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:272:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fread_chk_warn'
extern size_t __REDIRECT (__fread_chk_warn,
^
In file included from /usr/include/stdio.h:862:0,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:281:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
fread (void *__restrict __ptr, size_t __size, size_t __n,
^~~~~
In file included from /in/double_list.c:24:0:
/usr/include/stdlib.h:97:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max'
extern size_t __ctype_get_mb_cur_max (void) __THROW __wur;
^~~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:539:22: error: expected declaration specifiers or '...' before 'size_t'
extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
^~~~~~
/usr/include/stdlib.h:541:22: error: expected declaration specifiers or '...' before 'size_t'
extern void *calloc (size_t __nmemb, size_t __size)
^~~~~~
/usr/include/stdlib.h:541:38: error: expected declaration specifiers or '...' before 'size_t'
extern void *calloc (size_t __nmemb, size_t __size)
^~~~~~
/usr/include/stdlib.h:549:36: error: expected declaration specifiers or '...' before 'size_t'
extern void *realloc (void *__ptr, size_t __size)
^~~~~~
/usr/include/stdlib.h:583:29: error: expected declaration specifiers or '...' before 'size_t'
extern void *aligned_alloc (size_t __alignment, size_t __size)
^~~~~~
/usr/include/stdlib.h:583:49: error: expected declaration specifiers or '...' before 'size_t'
extern void *aligned_alloc (size_t __alignment, size_t __size)
^~~~~~
/usr/include/stdlib.h:818:9: error: expected declaration specifiers or '...' before 'size_t'
size_t __nmemb, size_t __size, __compar_fn_t __compar)
^~~~~~
/usr/include/stdlib.h:818:25: error: expected declaration specifiers or '...' before 'size_t'
size_t __nmemb, size_t __size, __compar_fn_t __compar)
^~~~~~
In file included from /usr/include/stdlib.h:822:0,
from /in/double_list.c:24:
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:20:49: error: expected declaration specifiers or '...' before 'size_t'
bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:20:65: error: expected declaration specifiers or '...' before 'size_t'
bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
^~~~~~
In file included from /in/double_list.c:24:0:
/usr/include/stdlib.h:827:34: error: expected declaration specifiers or '...' before 'size_t'
extern void qsort (void *__base, size_t __nmemb, size_t __size,
^~~~~~
/usr/include/stdlib.h:827:50: error: expected declaration specifiers or '...' before 'size_t'
extern void qsort (void *__base, size_t __nmemb, size_t __size,
^~~~~~
/usr/include/stdlib.h:919:36: error: expected declaration specifiers or '...' before 'size_t'
extern int mblen (const char *__s, size_t __n) __THROW;
^~~~~~
/usr/include/stdlib.h:923:34: error: expected declaration specifiers or '...' before 'size_t'
const char *__restrict __s, size_t __n) __THROW;
^~~~~~
/usr/include/stdlib.h:930:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mbstowcs'
extern size_t mbstowcs (wchar_t *__restrict __pwcs,
^~~~~~~~
/usr/include/stdlib.h:933:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wcstombs'
extern size_t wcstombs (char *__restrict __s,
^~~~~~~~
In file included from /usr/include/stdlib.h:1020:0,
from /in/double_list.c:24:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:25:9: error: expected declaration specifiers or '...' before 'size_t'
size_t __resolvedlen) __THROW __wur;
^~~~~~
In file included from /usr/include/features.h:424:0,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:29:14: error: expected declaration specifiers or '...' before 'size_t'
extern char *__REDIRECT_NTH (__realpath_chk_warn,
^
In file included from /usr/include/stdlib.h:1020:0,
from /in/double_list.c:24:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:52:52: error: expected declaration specifiers or '...' before 'size_t'
extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen,
^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdlib.h:53:8: error: expected declaration specifiers or '...' before 'size_t'
size_t __nreal) __THROW __nonnull ((2));
^~~~~~
In file included from /usr/include/features.h:424:0,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:54:12: error: expected declaration specifiers or '...' before 'size_t'
extern int __REDIRECT_NTH (__ptsname_r_alias, (int __fd, char *__buf,
^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:57:12: error: expected declaration specifiers or '...' before 'size_t'
extern int __REDIRECT_NTH (__ptsname_r_chk_warn,
^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:57:12: error: expected declaration specifiers or '...' before 'size_t'
extern int __REDIRECT_NTH (__ptsname_r_chk_warn,
^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:64:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (ptsname_r (int __fd, char *__buf, size_t __buflen))
^
In file included from /usr/include/stdlib.h:1020:0,
from /in/double_list.c:24:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:77:54: error: expected declaration specifiers or '...' before 'size_t'
extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen)
^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdlib.h:98:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mbstowcs_chk'
extern size_t __mbstowcs_chk (wchar_t *__restrict __dst,
^~~~~~~~~~~~~~
In file included from /usr/include/features.h:424:0,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:101:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mbstowcs_alias'
extern size_t __REDIRECT_NTH (__mbstowcs_alias,
^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:105:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mbstowcs_chk_warn'
extern size_t __REDIRECT_NTH (__mbstowcs_chk_warn,
^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:113:1: error: expected ',' or ';' before 'mbstowcs'
__NTH (mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src,
^
In file included from /usr/include/stdlib.h:1020:0,
from /in/double_list.c:24:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:130:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wcstombs_chk'
extern size_t __wcstombs_chk (char *__restrict __dst,
^~~~~~~~~~~~~~
In file included from /usr/include/features.h:424:0,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:133:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wcstombs_alias'
extern size_t __REDIRECT_NTH (__wcstombs_alias,
^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:137:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wcstombs_chk_warn'
extern size_t __REDIRECT_NTH (__wcstombs_chk_warn,
^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:144:1: error: expected ',' or ';' before 'wcstombs'
__NTH (wcstombs (char *__restrict __dst, const wchar_t *__restrict __src,
^
In file included from /in/double_list.c:25:0:
/usr/include/string.h:43:8: error: expected declaration specifiers or '...' before 'size_t'
size_t __n) __THROW __nonnull ((1, 2));
^~~~~~
/usr/include/string.h:46:56: error: expected declaration specifiers or '...' before 'size_t'
extern void *memmove (void *__dest, const void *__src, size_t __n)
^~~~~~
/usr/include/string.h:60:42: error: expected declaration specifiers or '...' before 'size_t'
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^~~~~~
/usr/include/string.h:63:56: error: expected declaration specifiers or '...' before 'size_t'
extern int memcmp (const void *__s1, const void *__s2, size_t __n)
^~~~~~
/usr/include/string.h:90:48: error: expected declaration specifiers or '...' before 'size_t'
extern void *memchr (const void *__s, int __c, size_t __n)
^~~~~~
/usr/include/string.h:125:39: error: expected declaration specifiers or '...' before 'size_t'
const char *__restrict __src, size_t __n)
^~~~~~
/usr/include/string.h:133:9: error: expected declaration specifiers or '...' before 'size_t'
size_t __n) __THROW __nonnull ((1, 2));
^~~~~~
/usr/include/string.h:139:57: error: expected declaration specifiers or '...' before 'size_t'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^~~~~~
/usr/include/string.h:146:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strxfrm'
extern size_t strxfrm (char *__restrict __dest,
^~~~~~~
/usr/include/string.h:272:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strcspn'
extern size_t strcspn (const char *__s, const char *__reject)
^~~~~~~
/usr/include/string.h:276:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strspn'
extern size_t strspn (const char *__s, const char *__accept)
^~~~~~
/usr/include/string.h:384:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlen'
extern size_t strlen (const char *__s)
^~~~~~
In file included from /usr/include/features.h:424:0,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:31:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:38:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (memmove (void *__dest, const void *__src, size_t __len))
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (memset (void *__dest, int __ch, size_t __len))
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
In file included from /usr/include/string.h:494:0,
from /in/double_list.c:25:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:110:62: error: expected declaration specifiers or '...' before 'size_t'
extern char *__stpncpy_chk (char *__dest, const char *__src, size_t __n,
^~~~~~
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:111:8: error: expected declaration specifiers or '...' before 'size_t'
size_t __destlen) __THROW;
^~~~~~
In file included from /usr/include/features.h:424:0,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from /in/double_list.c:23:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:112:14: error: expected declaration specifiers or '...' before 'size_t'
extern char *__REDIRECT_NTH (__stpncpy_alias, (char *__dest, const char *__src,
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:116:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (stpncpy (char *__dest, const char *__src, size_t __n))
^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:133:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (strncat (char *__restrict __dest, const char *__restrict __src,
^