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

autoproto fails on struct declarations/definitions #222

Open
hemebond opened this issue Sep 17, 2023 · 0 comments
Open

autoproto fails on struct declarations/definitions #222

hemebond opened this issue Sep 17, 2023 · 0 comments
Labels
bug Something isn't working FTEQCC For issues regarding the language, compiler, or its IDE

Comments

@hemebond
Copy link

When enabling autoproto with #pragma autoproto, compilation fails on struct declarations:

compiling qc/cl_defs.qc
qc/cl_defs.qc:1636: error: struct trisoup_simple_vert_s is already defined

Line 1636 is:

typedef struct trisoup_simple_vert_s {vec3 xyz;vec2 st;vec4 rgba;} trisoup_simple_vert_t;
@Xylemon Xylemon added bug Something isn't working FTEQCC For issues regarding the language, compiler, or its IDE labels Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working FTEQCC For issues regarding the language, compiler, or its IDE
Projects
None yet
Development

No branches or pull requests

2 participants