enable /W4 for all code and explicitly disable occurring warnings in makefiles
fix regression in tga_put_pixel (from r7927)