20 Oct
2009
20 Oct
'09
1:58 p.m.
Timo Sirainen wrote:
Can someone find an OS where the attached program doesn't work? It should print "success". So far tested for success: Linux 2.6, Solaris 10, FreeBSD 7.2, OpenBSD 4.2.
uname -a HP-UX delta B.11.11 U 9000/800 109434696 unlimited-user license
aCC -c -DHP_UX -v +O2 test.c Warning 829: "test.c", line 41 # Implicit conversion of string literal to 'char *' is deprecated. char *args[] = { NULL, "1", NULL }; aCC -o test -I. -DHP_UX -v +O2 test.o -Wl,+s
./test success
-- Cristian GRIGORIU