gcc lamentatio
A volte vorrei proprio un account su
lamentazioni... ma veramente tanto!
$ gcc -Wall -pedantic -o test test_mgr.c ../ccs_mgr_data.c
test_mgr_list.c: In function 'main':
test_mgr_list.c:19: warning: unused variable 'buf'
test_mgr_list.c:18: warning: unused variable 'count'
test_mgr_list.c:17: warning: unused variable 'rndfd'
$ ./test
ccs write buf size: -1
ccs read buf size: -1
$ gcc -Wall -pedantic -o test test_mgr.c ../ccs_mgr_data.c
test_mgr_list.c: In function 'main':
test_mgr_list.c:18: warning: unused variable 'count'
test_mgr_list.c:17: warning: unused variable 'rndfd'
$ ./test
ccs write buf size: 103424
ccs read buf size: 103424
COSA?!??!!
$ gcc-2.95 -Wall -pedantic -o test test_mgr.c ../ccs_mgr_data.c
test_mgr_list.c: In function 'main':
test_mgr_list.c:19: warning: unused variable 'buf'
test_mgr_list.c:18: warning: unused variable 'count'
test_mgr_list.c:17: warning: unused variable 'rndfd'
$ ./test
ccs write buf size: 103424
ccs read buf size: 103424
MAVAFFF!!!!!
Un bug piu' stupido no eh?
-----