[IGSTK-Developers] Compiler Warnning C4244

Patrick Cheng cheng at isis.georgetown.edu
Mon Oct 3 13:57:47 EDT 2005


Hi everybody,

There has been a long time issue with the FLTK warnning on the windows 
build machine.

C:\Patrick\FLTK\VS60-Debug\FL/Fl_Window.H(91) : warning C4244: '=' : 
conversion from 'short' to 'unsigned char', possible loss of data

It seems that in the latest FLTK release (fltk-2.0.x), they have fixed 
this problem.
Pls refer to line 81, in fltk/Window.h
Notice: They have refactored the class.

So for right now, I just made a temporary change to the FL/FL_Window.H 
file here on the build machine. To remove the annoying warnnings, and so 
that it's easier for us to look at other warnnings.

Hope this make sense.

Patrick

-- 
Peng (Patrick) Cheng
Research Engineer
cheng at isis.georgetown.edu

Imaging Science and Information Systems (ISIS) Center
Department of Radiology, Georgetown University Medical Center
2115 Wisconsin Avenue, Suite 603
Washington, DC, 20007

Work phone: 202-687-2902
Work fax:   202-784-3479
Cell phone: 202-674-5626
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Fl_Window.H
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20051003/12467c5e/attachment.ksh>


More information about the IGSTK-Developers mailing list