Re: [fltk.bugs] [HIGH] STR #2787: Can't build 1.3.x-svn current with VS7: png lib fails to build

2012-04-21 Thread Matthias Melcher

[STR Closed w/Resolution]

Link: http://www.fltk.org/str.php?L2787
Version: 1.3-current
Fix Version: None


This STR has not been updated by the submitter for two or more weeks and
has been closed as required by the FLTK Configuration Management Plan. If
the issue still requires resolution, please re-submit a new STR.


Link: http://www.fltk.org/str.php?L2787
Version: 1.3-current
Fix Version: None

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [HIGH] STR #2787: Can't build 1.3.x-svn current with VS7: png lib fails to build

2012-04-14 Thread Fabien Costantini

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2787
Version: 1.3-current


There is no 'restrict' keyword anymore in the latest png.h file.
Does it build now ?
If yes maybe we can close that one ?


Link: http://www.fltk.org/str.php?L2787
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [HIGH] STR #2787: Can't build 1.3.x-svn current with VS7: png lib fails to build

2011-12-10 Thread Matthias Melcher

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2787
Version: 1.3-current





Link: http://www.fltk.org/str.php?L2787
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [HIGH] STR #2787: Can't build 1.3.x-svn current with VS7: png lib fails to build

2011-12-06 Thread Greg Ercolano

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2787
Version: 1.3-current


Apparently the numerous warnings can be ignored, 
but the 'restrict' error is fatal.

To get it to compile on this platform, had change 
this line in pngconf.h:

#  define PNG_ALLOCATED __declspec(restrict)

..to instead read:

#  define PNG_ALLOCATED /* nothing */

We probably need to hack an #ifdef in there that effectively
does this when the compiler is pre-VS8, as I believe this 
'restrict' operator was added in VS8.


Link: http://www.fltk.org/str.php?L2787
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


[fltk.bugs] [HIGH] STR #2787: Can't build 1.3.x-svn current with VS7: png lib fails to build

2011-12-06 Thread Greg Ercolano

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2787
Version: 1.3-current


Lots of errors and warnings building svn current on Windows with VS7 .NET.
(used the VisualC6/fltk.dsw file, which has always worked before)

Seems to be something up with the PNG library.

-- Build started: Project: fltk_zlib, Configuration: Release Win32
--

Compiling...
zutil.c
uncompr.c
trees.c
inftrees.c
inflate.c
inffast.c
infback.c
gzwrite.c
gzread.c
gzlib.c
gzclose.c
deflate.c
crc32.c
compress.c
adler32.c
Creating library...

Build log was saved at
"file://z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\ide\VisualC6\Release\fltk_zlib\BuildLog.htm"
fltk_zlib - 0 error(s), 0 warning(s)


-- Build started: Project: fltk_jpeg, Configuration: Release Win32
--

Compiling...
jutils.c
jquant2.c
jquant1.c
jmemnobs.c
jmemmgr.c
jidctint.c
jidctfst.c
jidctflt.c
jfdctint.c
jfdctfst.c
jfdctflt.c
jerror.c
jdtrans.c
jdsample.c
jdpostct.c
jdmerge.c
jdmaster.c
jdmarker.c
jdmainct.c
jdinput.c
jdhuff.c
jddctmgr.c
jdcolor.c
jdcoefct.c
jdatasrc.c
jdatadst.c
jdarith.c
jdapistd.c
jdapimin.c
jctrans.c
jcsample.c
jcprepct.c
jcparam.c
jcomapi.c
jcmaster.c
jcmarker.c
jcmainct.c
jcinit.c
jchuff.c
jcdctmgr.c
jccolor.c
jccoefct.c
jcarith.c
jaricom.c
jcapistd.c
jcapimin.c
Creating library...

Build log was saved at
"file://z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\ide\VisualC6\Release\fltk_jpeg\BuildLog.htm"
fltk_jpeg - 0 error(s), 0 warning(s)


-- Build started: Project: fltk_png, Configuration: Release Win32
--

Compiling...
pngwutil.c
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(799) :
warning C4003: not enough actual parameters for macro 'PNG_CALLBACK'
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(800) :
warning C4003: not enough actual parameters for macro 'PNG_CALLBACK'
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(801) :
warning C4003: not enough actual parameters for macro 'PNG_CALLBACK'
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(803) :
warning C4003: not enough actual parameters for macro 'PNG_CALLBACK'
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(805) :
warning C4003: not enough actual parameters for macro 'PNG_CALLBACK'
[..this continues for quite a while..]

Here's the build log showing the command line flags:
 snip
Command Lines
Creating temporary file "C:\DOCUME~1\erco\LOCALS~1\Temp\RSP05.rsp"
with contents
[
/Ob2 /Op /I "." /I "../.." /I "../../zlib" /I "../../png" /I "../../jpeg"
/D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_CRT_SECURE_NO_DEPRECATE" /D
"_CRT_NONSTDC_NO_DEPRECATE" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D
"WIN32_EXTRA_LEAN" /FD /EHsc /MD /YX"stdafx.h"
/Fp".\Release/fltk_png/fltk_png.pch" /Fo".\Release/fltk_png/"
/Fd".\Release/fltk_png/" /c
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngwutil.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngwtran.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngwrite.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngwio.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngtrans.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngset.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngrutil.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngrtran.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngrio.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngread.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngpread.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngmem.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngget.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\pngerror.c"
"\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.c"
]
Creating command line "cl.exe
@C:\DOCUME~1\erco\LOCALS~1\Temp\RSP05.rsp /nologo"
Compiling...
pngwutil.c
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(799) :
warning C4003: not enough actual parameters for macro 'PNG_CALLBACK'
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(800) :
warning C4003: not enough actual parameters for macro 'PNG_CALLBACK'
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(801) :
warning C4003: not enough actual parameters for macro 'PNG_CALLBACK'
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(803) :
warning C4003: not enough actual parameters for macro 'PNG_CALLBACK'
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(805) :
warning C4003: not enough actual parameters for macro 'PNG_CALLBACK'
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(809) :
warning C4003: not enough actual parameters for macro 'PNG_CALLBACK'
z:\cd\releases\tar\102.42a9h3--udpfrag\MICROSOFT\fltk\png\png.h(811) :
warning C4003: not enough actual parameters for macro 'PNG_CALL