Upon Ralph's request this bug is opened to store a patch against gcc compiler warnings. It also improves C-style (with removiong gs_trow*), rather it was not the intention and it was not brought to completion.
Created attachment 4352 [details] patch.txt The patch.
Created attachment 4353 [details] sources.zip Copy of sources packed with WinZIP becauase someone may not like the patch format, which can miss changes to spaces.
Created attachment 4354 [details] remark.txt Attaching Ray's remark which requires a further improvement.
Assigning to Ralph because it is opened upon his request.
Re-assigning bugs which still have work to do.
Bug still reproducible in Ghostscript 9.03
Most of the warnings are gone, or no longer relevant. I've squashed the remaining warnings in the files listed. http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5d45b3 I don't think we need a bug open to remind us to avoid warnings, and try to address them.