FLTK logo

STR #2779

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

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:use of protected member causes Error with clang
Version:1.3.0
Created By:gahr
Assigned To:manolo
Fix Version:1.3-current (SVN: v9192)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 gahr
02:10 Nov 28, 2011
patch-src_Fl_x.cxx
0k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 gahr
02:10 Nov 28, 2011
Fl_x.cxx:1861 (from 1.3 release) goes

w->flags() & Fl_Widget::FORCE_POSITION

The enum is protected, which causes an error using clang:

Fl_x.cxx:1861:31: error: 'FORCE_POSITION' is a protected member of 'Fl_Widget'
  if (w->flags() & Fl_Widget::FORCE_POSITION) {
                              ^
../FL/Fl_Widget.H:168:9: note: declared protected here
        FORCE_POSITION  = 1<<4,   ///< don't let the window manager position the window (Fl_Window)
        ^


The attached patch fixes the problem.
 
 
#2 manolo
06:43 Nov 29, 2011
Fixed in Subversion repository.

Thanks for the patch
 
     

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