3 ms·
It didn't work (as in crash) for me: % uname -a FreeBSD 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.fre
by jandrese 10y ago
It didn't work (as in crash) for me:
% uname -a
FreeBSD 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
% gcc -o foo foo.c
foo.c: In function 'main':
foo.c:4:17: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
p = (int*)malloc(sizeof(int)); ^
% ./foo
%
This is with GCC 4.8.5