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

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Mon Jul 26 05:35:20 UTC 2010


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

SaGS <sags5495 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sags5495 at hotmail.com

--- Comment #1 from SaGS <sags5495 at hotmail.com> 2010-07-26 05:35:19 UTC ---
I also get a harmful warning from VS2003 (7.1):

    gdevbbox.c(1197) : warning C4700: local variable 'cdev' used without 
    having been initialized

Note there are 2 variables named ‘cdev’ there:

  - a local one declared, without being initialized, in line 1194;
  - the function’s last parameter, which is never used because it is 
    hidden be the local one.

Maybe some of the references to ‘cdev’ should be to the parameter (in 
particular the last parameter of the ‘*dev_proc(.., create_compositor)()’ 
call, signaled by the error message?), and others to the local variable. 
As I don’t know the code, I cannot suggest a fix.

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