| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #676
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 1 - Specific to a machine/printer |
Subsystem: | Image Support |
Summary: | compile error in fl_jpeg_image on vc6 |
Version: | 1.1.6 |
Created By: | jedimasterthrash |
Assigned To: | mike |
Fix Version: | 1.1.7 (SVN: v4034) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | jedimasterthrash 08:58 Dec 30, 2004 |
| Building fltkimages in VC6 on WinXP
F:\Program Files\Microsoft Visual Studio\VC98\fltk-1.1.6\src\Fl_JPEG_Image.cxx(140) : error C2664: 'delete' : cannot convert parameter 1 from 'const unsigned char *' to 'void *' Conversion loses qualifiers
The line in the code is: delete[] array;
It of course works when I undefine the HAVE_LIBJPEG, so it's not of serious concern to me.
Thanks, JMT.
| |
|
#2 | mike 22:01 Dec 30, 2004 |
| Thanks, changing to:
delete[] (uchar *)array;
should do the trick; we will update accordingly in the next release. | |
|
#3 | mike 17:52 Feb 05, 2005 |
| Fixed in Subversion repository. | |
[ Return to Bugs & Features ]
|
| |