Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreePush with zero arguments was ambiguous. Resolved by making it cal… #1057

Closed
wants to merge 6 commits into from

Conversation

jawilkins
Copy link
Contributor

…l TreePush(const void*)

The EDG compiler used for syntax in MSVC is very picky about C++ prototypes matching their definitions EXACTLY.
So, it puts green squiggles under prototypes when:
* the type name is different, even if the underlying type is the same
* the formal parameter name is different or missing

These aren't technically errors, and Microsoft might not even want to be this strict, but the squiggles are annoying...
@ocornut
Copy link
Owner

ocornut commented Mar 16, 2017

NB: I cannot merge full branch anymore as you pushed 3 unrelated commits to the same branch. It's a very common mistake when using git to not know that PR are associated to a branch.

Will cherry-pick the single commit, no problem.

@jawilkins
Copy link
Contributor Author

So that is what was going on.

@jawilkins
Copy link
Contributor Author

Even though it is unrelated to the original request, I think you could merge all of this after I fix the problems with 2fce77c, since they are just mismatches between typedefs and missing IMGUI_API tags.

@ocornut
Copy link
Owner

ocornut commented Nov 19, 2017

Hello, finally looked at this, sorry for the late answer.

TreePush(): Merged 393f9f3
FindGlyph(): Merged f94f112

For those commits:
c2e0881
2fce77c
cf0e992
An equivalent fix had already been applied to Master since you started your branch.

Thanks for your help!

@ocornut ocornut closed this Nov 19, 2017
@jawilkins
Copy link
Contributor Author

jawilkins commented Nov 19, 2017 via email

@ocornut ocornut added tree tree nodes label/id and id stack implicit identifiers, pushid(), id stack labels Sep 12, 2022
ocornut added a commit that referenced this pull request Sep 12, 2022
@ocornut
Copy link
Owner

ocornut commented Sep 12, 2022

Followed on this with 513c1ba

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
label/id and id stack implicit identifiers, pushid(), id stack tree tree nodes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants