FLTK logo

STR #2936

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

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:FLUID
Summary:fluid: needs mods to allow defining a 'namespace'
Version:1.3-feature
Created By:greg.ercolano
Assigned To:matt
Fix Version:1.4.0
Fix Commit:e2028c66fea5fd3d4ee16de098ed596e8fc0688c
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 Nikego
00:23 Sep 26, 2013
namespace.diff
3k
 
 
#2 Nikego
00:31 Sep 26, 2013
namespace.fl
1k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 greg.ercolano
11:02 Mar 21, 2013
(Submitted on behalf of Gonzalo's request on fltk.general 03/20/13)

Fluid seems not to allow one to define a 'namespace' for functions/methods defined in fluid.

For instance, New->Code->Declaration does not allow one to define
two entries:

    namespace whatever {

..and

    };

..due to bracket imbalance warnings.

One solution would be to allow the warnings to be ignored (ie. dialog to have an 'ignore' button)

Another would be to modify Fl_Decl_Type::open() to allow "namespace.." and "};" through without a code checks.

Perhaps there are other ways to support 'namespace', similar to New->Code->Declaration Block.

Gonzalo mentions fltk2's fluid supports namespaces; I'm not familiar with it, but perhaps it has features we can port to 1.3
 
 
#2 matt
07:34 Jan 26, 2023
Fixed in Git repository.

User is given the choice to ignore the syntax warning
 
     

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