| [ Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]
STR #2979
Application: | FLTK Library |
Duplicate Of: | STR #2813 |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 2 - Specific to an operating system |
Subsystem: | Core Library |
Summary: | warning about casting long and void pointer under Win64 |
Version: | 1.3.2 |
Created By: | jlp2 |
Assigned To: | AlbrechtS |
Fix Version: | 1.3.4 (SVN: v10670) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | jlp2 15:01 Sep 09, 2013 |
| Using the current FLTK 1.3.2 release and compiling an application using FLTK (not the FLTK library itself) under Win64, I get warnings from some FLTK headers that are casting void* to long and vice versa. I attached a .diff file that shows where I added additional casts (I think they are safe if we can assume that sizeof(long) <= sizeof(void*)) to the headers to get rid of these warnings. Maybe there are also more of these cases in other headers that I haven't used. | |
|
#2 | AlbrechtS 05:11 Sep 01, 2016 |
| Fixed in Subversion repository.
Fixed in r10670, see also STR #2813. | |
[ Return to Bugs & Features ]
|
| |