tgjones / HlslTools

A Visual Studio extension that provides enhanced support for editing High Level Shading Language (HLSL) files
http://timjones.io/blog/archive/2016/04/25/hlsl-tools-for-visual-studio-v1.0-released
Other
569 stars 98 forks source link

Redefinition of '<anonymous struct>' #167

Closed Reedbeta closed 4 years ago

Reedbeta commented 5 years ago

We have some code that defines structs using a old-fashioned C-style 'typedef struct' pattern, like:

typedef struct
{
    // blah blah
} MyStruct;

This causes live-error squiggles to appear over the definition of the struct with the message "Redefinition of '<anonymous struct>'."