[gs-bugs] [Bug 691459] New: compiler warnings from clang

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Wed Jul 14 20:28:39 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691459

           Summary: compiler warnings from  clang
           Product: Ghostscript
           Version: HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Color
        AssignedTo: michael.vrhel at artifex.com
        ReportedBy: hintak at ghostscript.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


Created an attachment (id=6484)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=6484)
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.

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list