Skip to content

Conversation

@nikswamy
Copy link
Contributor

An old, ugly, unused feature of 3D to auto-generate a name for a pointer to a struct causes unexpected shadowing.

In particular, say you have:

typedef struct _T {
  UINT32 x;
} T;

Then, 3D would also implicit bind the name PT to the type T*, this name can shadow the use of a PT already defined, leading to much confusion.

This PR fixes it by no longer auto-generating such a name, which is much more sane.

@nikswamy nikswamy merged commit 6e84e86 into master Feb 14, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants