| [ 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: | |
Trouble Report Files:
Trouble Report Comments:
|
#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 ]
|
| |