[gs-bugs] [Bug 691497] New: Various warnings with MSVC

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Sun Jul 25 22:53:13 UTC 2010


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

           Summary: Various warnings with MSVC
           Product: GhostPCL
           Version: trunk
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: PCL interpreter
        AssignedTo: henry.stiles at artifex.com
        ReportedBy: hintak at ghostscript.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


Created an attachment (id=6549)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=6549)
The full log from building all 4 languages.

nmake -f *_msvc.mak default in each of the 4 languages.

Firs of all, there is a warning from mkdir "Missing Argument" because PSOBJDIR
is not passed along to gs\base\msvclib.mak. The rest is the usual pointer casts
and also various type casts from double to float, etc. Except these - some of
them needs look at:

..\pxl\pximage.c(243) : warning C4146: unary minus operator applied to unsigned
type, result still unsigned
..\pxl\pximage.c(284) : warning C4146: unary minus operator applied to unsigned
type, result still unsigned
..\pxl\pxink.c(779) : warning C4146: unary minus operator applied to unsigned
type, result still unsigned
..\pl\plchar.c(229) : warning C4146: unary minus operator applied to unsigned
type, result still unsigned
..\pcl\pglfill.c(550) : warning C4146: unary minus operator applied to unsigned
type, result still unsigned
..\pcl\pglfill.c(654) : warning C4146: unary minus operator applied to unsigned
type, result still unsigned
.\obj\tif_warning.obj 
.\obj\gsargs.obj : warning LNK4042: object specified more than once; extras
ignored
.\obj\gconfig.obj : warning LNK4042: object specified more than once; extras
ignored
.\obj\gscdefs.obj : warning LNK4042: object specified more than once; extras
ignored

( after removing the using pointer casts, etc with:

| grep -v "different 'const' qualifiers" |grep -v 'incompatible type'  | grep
-v 'possible loss of data' | grep -v 'truncation from' | grep -v 'type cast' |
grep -v 'function/data pointer conversion')

-- 
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