Wasn't an April Fool ?
Do not build on my Mac:
Scanning dependencies of target Ql
[ 76%] Building C object src/ql/CMakeFiles/Ql.dir/dummies.c.o
In file included from /Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:7:
In file included from /Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/QL68000.h:708:
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/misdefs.h:9:8: error: expected parameter declarator
char * stpcpy(char *, char *);
^
/usr/include/secure/_string.h:90:38: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
In file included from /Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:7:
In file included from /Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/QL68000.h:708:
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/misdefs.h:9:8: error: expected ')'
/usr/include/secure/_string.h:90:38: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/misdefs.h:9:8: note: to match this '('
/usr/include/secure/_string.h:90:38: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:53: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
In file included from /Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:7:
In file included from /Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/QL68000.h:708:
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/misdefs.h:9:8: warning: type specifier missing,
defaults to
'int' [-Wimplicit-int]
char * stpcpy(char *, char *);
^
/usr/include/secure/_string.h:90:38: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:31: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
In file included from /Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:7:
In file included from /Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/QL68000.h:708:
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/misdefs.h:9:8: error: conflicting types for
'__builtin___stpcpy_chk'
/usr/include/secure/_string.h:90:3: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/misdefs.h:9:8: note: '__builtin___stpcpy_chk' is
a builtin with
type 'char *(char *, const char *, unsigned long)'
/usr/include/secure/_string.h:90:3: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:33:28: warning: implicit declaration
of function
'eretry' is invalid in C99 [-Wimplicit-function-declaration]
while(res<=0 && byt>0 && eretry());
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:115:7: error: expected parameter
declarator
char *stpcpy(char *s1, char *s2)
^
/usr/include/secure/_string.h:90:38: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:115:7: error: expected ')'
/usr/include/secure/_string.h:90:38: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:115:7: note: to match this '('
/usr/include/secure/_string.h:90:38: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:53: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:115:7: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
char *stpcpy(char *s1, char *s2)
^
/usr/include/secure/_string.h:90:38: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:31: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:115:7: error: conflicting types for
'__builtin___stpcpy_chk'
/usr/include/secure/_string.h:90:3: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/misdefs.h:9:8: note: '__builtin___stpcpy_chk' is
a builtin with
type 'char *(char *, const char *, unsigned long)'
char * stpcpy(char *, char *);
^
/usr/include/secure/_string.h:90:3: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:115:7: error: definition of builtin
function
'__builtin___stpcpy_chk'
char *stpcpy(char *s1, char *s2)
^
/usr/include/secure/_string.h:90:3: note: expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:117:3: error: too many arguments to
function call,
expected 1, have 2
strcpy(s1,s2);
^~~~~~~~~~~~~
/usr/include/secure/_string.h:83:38: note: expanded from macro 'strcpy'
__builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
^~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_common.h:39:62: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
~~~~~~~~~~~~~~~~~~~~~
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:125:7: error: expected parameter
declarator
char *strncpy(char *dest, const char *src, size_t n)
^
/usr/include/secure/_string.h:119:44: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:125:7: error: expected ')'
/usr/include/secure/_string.h:119:44: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:125:7: note: to match this '('
/usr/include/secure/_string.h:119:44: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:53: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:125:7: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
char *strncpy(char *dest, const char *src, size_t n)
^
/usr/include/secure/_string.h:119:44: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:31: note: expanded from macro
'__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:125:7: error: conflicting types for
'__builtin___strncpy_chk'
/usr/include/secure/_string.h:119:3: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:125:7: note: '__builtin___strncpy_chk'
is a builtin
with type 'char *(char *, const char *, unsigned long, unsigned long)'
/usr/include/secure/_string.h:119:3: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:125:7: error: definition of builtin
function
'__builtin___strncpy_chk'
char *strncpy(char *dest, const char *src, size_t n)
^
/usr/include/secure/_string.h:119:3: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:128:3: error: too many arguments to
function call,
expected 1, have 2
memcpy(dest,src,min(n,slen));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_string.h:65:43: note: expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest))
^~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_common.h:38:63: note: expanded from macro
'__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:165:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
PauseTimer()
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:168:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
StartTimer()
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:171:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
DisposeSound()
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:175:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
BlockMoveData(void *source, void *dest,long len)
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:184:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
CloseSerial()
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:187:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
CreateRamMenu()
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:190:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
DisposePtr()
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:197:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
InitSerial()
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:201:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
LoadRoms()
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:204:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
AllocateMemory()
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:207:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
AllocateSound()
^
/Users/jeromevernet/Downloads/Older Software
French/hatari-ql/src/ql/dummies.c:211:1: warning: type specifier
missing, defaults to
'int' [-Wimplicit-int]
ClearDisplay()
^
16 warnings and 13 errors generated.
make[2]: *** [src/ql/CMakeFiles/Ql.dir/dummies.c.o] Error 1
make[1]: *** [src/ql/CMakeFiles/Ql.dir/all] Error 2
make: *** [all] Error 2
[jeromevernet@macbookprojv hatari-ql]$