[gs-bugs] [Bug 691498] New: win32/win64 build warnings

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Sun Jul 25 23:06:44 UTC 2010


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

           Summary: win32/win64 build warnings
           Product: Ghostscript
           Version: HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: General
        AssignedTo: support at artifex.com
        ReportedBy: hintak at ghostscript.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


Created an attachment (id=6550)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=6550)
MSVC  win32 build log with vc 9

The win32/win64 build don't have much warnings except the usual pointer casts
which are filtered out from below. I think all of these base\gsicc_create.c
base\sidscale.c are in Michael's area:

----------------
.\base\gsicc_create.c(884) : warning C4305: 'function' : truncation from
'double' to 'float'
.\base\gsicc_create.c(886) : warning C4305: 'function' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1042) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1042) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1042) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1043) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1043) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1043) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1044) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1044) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1044) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1045) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1045) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1045) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1046) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1046) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1046) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1047) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1047) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1047) : warning C4305: 'initializing' : truncation from
'double' to 'float'
.\base\gsicc_create.c(1677) : warning C4305: '=' : truncation from 'double' to
'float'
.\base\gsicc_create.c(1679) : warning C4305: '=' : truncation from 'double' to
'float'
.\base\gsicc_create.c(1714) : warning C4305: '=' : truncation from 'double' to
'float'
.\base\gsicc_create.c(1716) : warning C4305: '=' : truncation from 'double' to
'float'
.\base\sidscale.c(175) : warning C4244: '=' : conversion from 'float' to
'bits16', possible loss of data
-----------------------

These linker warnings are only seem on win64 builds:

-------------
gsdll.obj : warning LNK4197: export 'gsdll_execute_begin' specified multiple
times; using first specification
gsdll.obj : warning LNK4197: export 'gsdll_execute_cont' specified multiple
times; using first specification
gsdll.obj : warning LNK4197: export 'gsdll_execute_end' specified multiple
times; using first specification
gsdll.obj : warning LNK4197: export 'gsdll_exit' specified multiple times;
using first specification
gsdll.obj : warning LNK4197: export 'gsdll_revision' specified multiple times;
using first specification
gsdll.obj : warning LNK4197: export 'gsdll_init' specified multiple times;
using first specification
gp_msdll.obj : warning LNK4197: export 'DllEntryPoint' specified multiple
times; using first specification
gp_msdll.obj : warning LNK4197: export 'DllMain' specified multiple times;
using first specification
iapi.obj : warning LNK4197: export 'gsapi_revision' specified multiple times;
using first specification
iapi.obj : warning LNK4197: export 'gsapi_new_instance' specified multiple
times; using first specification
iapi.obj : warning LNK4197: export 'gsapi_delete_instance' specified multiple
times; using first specification
iapi.obj : warning LNK4197: export 'gsapi_set_stdio' specified multiple times;
using first specification
iapi.obj : warning LNK4197: export 'gsapi_set_poll' specified multiple times;
using first specification
iapi.obj : warning LNK4197: export 'gsapi_set_display_callback' specified
multiple times; using first specification
iapi.obj : warning LNK4197: export 'gsapi_init_with_args' specified multiple
times; using first specification
iapi.obj : warning LNK4197: export 'gsapi_run_string_begin' specified multiple
times; using first specification
iapi.obj : warning LNK4197: export 'gsapi_run_string_continue' specified
multiple times; using first specification
iapi.obj : warning LNK4197: export 'gsapi_run_string_end' specified multiple
times; using first specification
iapi.obj : warning LNK4197: export 'gsapi_run_string_with_length' specified
multiple times; using first specification
iapi.obj : warning LNK4197: export 'gsapi_run_string' specified multiple times;
using first specification
iapi.obj : warning LNK4197: export 'gsapi_run_file' specified multiple times;
using first specification
iapi.obj : warning LNK4197: export 'gsapi_exit' specified multiple times; using
first specification
iapi.obj : warning LNK4197: export 'gsapi_set_visual_tracer' specified multiple
times; using first specification
gdevwdib.obj : warning LNK4197: export 'gsdll_copy_palette' specified multiple
times; using first specification
gdevwdib.obj : warning LNK4197: export 'gsdll_lock_device' specified multiple
times; using first specification
gdevwdib.obj : warning LNK4197: export 'gsdll_get_bitmap_row' specified
multiple times; using first specification
gdevwdib.obj : warning LNK4197: export 'gsdll_copy_dib' specified multiple
times; using first specification
gdevwdib.obj : warning LNK4197: export 'gsdll_draw' specified multiple times;
using first specification
------------------------

I am not going to attach the win64 logs, since it is a bit tricky and also does
not differ from the win32 build log except for the linker warning messages.

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