Skip to content

Conversation

@charles-lunarg
Copy link
Collaborator

C99 does not support redefining typedefs and so the code should avoid doing that as necessary.

Also it turns out #if !defined() does not actually protect the inner value, since typedef does not operate on semantic constructs.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 616208.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 616225.

@charles-lunarg charles-lunarg mentioned this pull request Jan 6, 2026
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 3361 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 3361 passed.

C99 does not support redefining typedefs and so the code should avoid
doing that as necessary.

Also it turns out #if !defined(<typedef>) does not actually protect the
inner value, since typedef does not operate on semantic constructs.
@charles-lunarg charles-lunarg force-pushed the fix_typedef_redefinitions branch from 932f61c to 92b0f4e Compare January 7, 2026 00:09
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 616399.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 616416.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 3363 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 3363 passed.

@charles-lunarg charles-lunarg merged commit 39a660c into KhronosGroup:main Jan 7, 2026
45 checks passed
@charles-lunarg charles-lunarg deleted the fix_typedef_redefinitions branch January 7, 2026 02:10
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