Closed GoogleCodeExporter closed 8 years ago
Sorry i forgot, it would be worth adding the _CRT_SECURE_NO_WARNINGS define to
clear
the security warning clutter as well.
Original comment by gldray...@gmail.com
on 3 Oct 2009 at 6:18
The "void function returning a value" error seems pretty dumb,
because we're returning (literally) "void". However, it's easy to
fix. Done.
The "unreferenced local value" in pixalloc.c has been removed.
Will verify and make these changes if they are useful:
(1) Add the following to command line options: /wd4244 /wd4305 /wd4018
(2) it would be worth adding the _CRT_SECURE_NO_WARNINGS define to clear
the security warning clutter
Original comment by dan.bloo...@gmail.com
on 3 Oct 2009 at 11:01
The v1.65 leptonlib.vcprog doesn't define NO_CONSOLE_IO.
LIB Release, LIB Debug, DLL Release, and DLL Debug have all been successfully
built
on Windows XP Pro SP3.
The following C/C++ command line options are used to reduce the Warning noise:
/wd4018
http://msdn.microsoft.com/en-us/library/y92ktdf2%28v=VS.90%29.aspx
'expression' : signed/unsigned mismatch
/wd4244
http://msdn.microsoft.com/en-us/library/th7a07tz%28v=VS.90%29.aspx
'conversion' conversion from 'type1' to 'type2', possible loss of data
/wd4267
http://msdn.microsoft.com/en-us/library/6kck0s93%28v=VS.90%29.aspx
'var' : conversion from 'size_t' to 'type', possible loss of data
/wd4305
http://msdn.microsoft.com/en-us/library/0as1ke3f%28v=VS.90%29.aspx
'identifier' : truncation from 'type1' to 'type2'
/wd4996
http://msdn.microsoft.com/en-us/library/ttcz0bys%28v=VS.90%29.aspx
'function': was declared deprecated
The only warnings that remain are "warning C4028: formal parameter 2 different
from
declaration" which has been determined to be unfixable, and the expected
"LNK4221: no
public symbols found; archive member will be inaccessible" messages for the
*iostub.c
functions.
I believe this issue is "resolved".
Original comment by tomp2...@gmail.com
on 10 Apr 2010 at 11:35
Original comment by dan.bloo...@gmail.com
on 11 Apr 2010 at 5:24
Original issue reported on code.google.com by
gldray...@gmail.com
on 3 Oct 2009 at 6:15