STR #1785

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 2.0 | Post Text | Post File | SVN ⇄ GIT ]

STR #1785

Application:FLTK Library
Status:5 - New
Priority:3 - Moderate, e.g. unable to compile the software
Scope:3 - Applies to all machines and operating systems
Subsystem:Unassigned
Summary:Function default parameters in the Fluid
Version:2.0-current
Created By:dsamoyloff.yandex
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
 
#1 dsamoyloff.yandex
12:45 Sep 14, 2007
bug.fl
0k
 
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#1 dsamoyloff.yandex
12:45 Sep 14, 2007
I filed this bug already for fltk-1.1.5 some time ago: http://www.fltk.org/str.php?L579 . It was fixed in 1.1.6 but it applies to 2.0 now.

When I make a function with default parameters in the Fluid and generate the code, default values are passed both into .h and .cpp files which leads to the compilation error.

The example file is attached.

P.S.: I sent this bug report as "FLTK Applications" first: http://www.fltk.org/str.php?L1661. I suppose this is a wrong place, so please remove it.
 
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]

 
 

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