-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftopic: preprocessorRelated to sketch preprocessingRelated to sketch preprocessingtype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Here's and example that will break the auto generation of function declarations in the IDE, not sure for how long but I've gotten regular support request for a good while now.
The only thing I know, this used to work.
// say you have a library that accepts a callback
class BUG {public:BUG(void (*fn)(void)){}};
//void makeItBreak(){} //uncomment to fix
BUG b(makeItBreak); //this will break
void setup(){}
void loop(){}
void makeItBreak(){}
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftopic: preprocessorRelated to sketch preprocessingRelated to sketch preprocessingtype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project