FLTK logo

STR #2979

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

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:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 jlp2
15:01 Sep 09, 2013
int_ptr_conversion.diff
3k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#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 ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.