FLTK logo

STR #3323

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 #3323

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:GLUT Emulation
Summary:Request for glutAddMenuEntry to have a const label argument
Version:1.3.3
Created By:adrian
Assigned To:matt
Fix Version:1.4.0
Fix Commit:5cd9f6fb8058f92d9434949caaf089e0b900ce64
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 adrian
03:25 Aug 26, 2016
It appears that the original Glut had a non-const label argument
https://www.opengl.org/resources/libraries/glut/spec3/node39.html#SECTION00074000000000000000

However, the modern replacement, Freeglut, makes this argument const
https://github.com/dcnieho/FreeGLUT/blob/git_master/freeglut/freeglut/include/GL/freeglut_std.h

As I use string literals for menu labels I get warnings when compiling with FLTK GLUT compatibility. It would be useful if FLTK could match Freeglut and use a const argument for the label.

Thanks
 
 
#2 matt
13:17 Feb 02, 2019
Fixed in Git repository.  
     

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'.