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

C11 anonymous structs / unions should allow xyz notation for vector types #18

cirosantilli opened this Issue Mar 22, 2017 · 1 comment


None yet
2 participants

cirosantilli commented Mar 22, 2017

I think we should be able to do cl_float4.x with -std=c11, as we currently are with -std=gnu99

Just need to patch line

#if defined( __GNUC__) && ! defined( __STRICT_ANSI__ )

#if defined( __GNUC__) && ! defined( __STRICT_ANSI__ )

to also check for C11.

See also:

Supposing of course CL headers will support c11.


This comment has been minimized.


jrprice commented Jul 12, 2017

Fixed in 65159b2.

@jrprice jrprice closed this Jul 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment