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 | Post Text | Post File | Prev | Next ]

STR #2936

Application:FLTK Library
Status:5 - New
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: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 Nikego
00:23 Sep 26, 2013
namespace.diff
3k
 
 
#2 Nikego
00:31 Sep 26, 2013
namespace.fl
1k
 
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#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
 
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-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.