Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Documentation » T++ does not work with typedef enum {}
T++ does not work with typedef enum {} [message #41226] Sat, 16 November 2013 12:12 Go to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi,

I am currently trying to write some documentation for my packages and I ran into an issue:
In Topic++, the following codes do not work :
typedef enum FitToDataStrategy {
	ALL_SERIES,
	VISIBLE_SERIES_ONLY
} FitToDataStrategy;

typedef enum {
	ALL_SERIES,
	VISIBLE_SERIES_ONLY
} FitToDataStrategy;

The reference used by T++ is 'typedef' ... the name of the enum is lost and cannot be used Sad

Can this be corrected, it keeps from using T++ correctly
Re: T++ does not work with typedef enum {} [message #42839 is a reply to message #41226] Mon, 07 April 2014 21:42 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
up
Re: T++ does not work with typedef enum {} [message #44619 is a reply to message #42839] Sun, 26 April 2015 13:58 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Didier wrote on Mon, 07 April 2014 21:42
up


Well, actually, the right description is "TheIDE C++ parser is unable to parse typedef enum".

Accidentally, I am now refactoring the parser and this is one of features already implemented in its new incarnation.

Mirek
icon14.gif  Re: T++ does not work with typedef enum {} [message #44623 is a reply to message #44619] Sun, 26 April 2015 14:59 Go to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Fantastic,

this feature was missing and will enable more complete documentation
Previous Topic: Fixes to "Callback macros" documentation
Next Topic: glut
Goto Forum:
  


Current Time: Thu Mar 28 10:07:12 CET 2024

Total time taken to generate the page: 0.01161 seconds