Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse - pointer to function parameters hints
Eclipse - pointer to function parameters hints [message #1765210] Wed, 07 June 2017 14:26 Go to next message
Abderrezak HADJI is currently offline Abderrezak HADJIFriend
Messages: 1
Registered: June 2017
Junior Member
Showing parameters hint of a function is very practical thing and good way to save time. Is there a way how Eclipse display parameters hits for a pointer to function.
struct {
    void (*bar)(p1, p2, p3...);
} foo;
foo.bar("Ctrl+Space")

report the following error
java.lang.ClassCastException: org.eclipse.cdt.internal.core.index.composite.c.CompositeCField cannot be cast to [Lorg.eclipse.cdt.core.dom.ast.IBinding;
Re: Eclipse - pointer to function parameters hints [message #1765297 is a reply to message #1765210] Thu, 08 June 2017 08:44 Go to previous message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 416
Registered: June 2014
Senior Member
Please see https://stackoverflow.com/questions/44415008/eclipse-pointer-to-function-parameters-hints where there has been an answer posted.
Previous Topic:Getting type information from AST
Next Topic:set gcc compiler includes option throw .ini
Goto Forum:
  


Current Time: Fri Apr 26 16:40:35 GMT 2024

Powered by FUDForum. Page generated in 0.03557 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top