Summary: | compiler warnings from clang | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Hin-Tak Leung <htl10> |
Component: | Color | Assignee: | Michael Vrhel <michael.vrhel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | master | ||
Hardware: | Other | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: |
trimmed log (removing type casts and unused variables)
full log |
Created attachment 6485 [details]
full log
CC=/usr/bin/clang ./configure ; make >& clang-log result from svn head. (11507 plus some local patches).
Color warnings fixed with rev 12015 |
Created attachment 6484 [details] trimmed log (removing type casts and unused variables) There are a few switch-enum warning where case statement don't cover all cases: ./base/gsicc_manage.c:1216:14: warning: enumeration value 'gs_color_space_index_DevicePixel' not handled in switch [-Wswitch-enum] lcms/src/cmsio1.c:118:8: warning: implicit declaration of function 'swab' is invalid in C99 [-Wimplicit-function-declaration] ./base/gscspace.c:230:13: warning: implicit declaration of function 'gsicc_init_iccmanager' is invalid in C99 [-Wimplicit-function-declaration] ./base/gxcmap.c:1680:1: warning: no previous prototype for function 'cmap_transfer_halftone' [-Wmissing-prototypes] Probably should pass around color, freetype, jbig2dec, etc.