[racket-dev] Warnings in source code
Hi,
I was just looking at the warnings in racket source code after Sam
posted the bite size projects threads with the link to the wiki.
I can't access http://drdr.racket-lang.org/ (the page just doesn't load)
So, I cloned racket, configured it and did a make.
I only get two warning on the whole build:
gcc -I./.. -I../../../racket/src/racket/gc2/../include -g -O2 -pthread
-Wall -c xsrc/place.c -o place.o
../../../racket/src/racket/gc2/../src/place.c: In function
‘place_async_send’:
../../../racket/src/racket/gc2/../src/place.c:2450:14: warning:
operation on ‘ch->in’ may be undefined
../../../racket/src/racket/gc2/../src/place.c: In function
‘scheme_place_async_try_receive’:
../../../racket/src/racket/gc2/../src/place.c:2589:17: warning:
operation on ‘ch->out’ may be undefined
This is with GCC4.5.
I will try later GCC4.6 though but I am amazed GCC4.5 only shows two
warnings. Well, it's definitely a good sign but I was wondering if I
overlooked something.
Do I have to enable any components which when compiled will issue some
warnings that you want sorted?
Cheers,
--
PMatos