Skip to content

Having trouble compiling stb_image on clang in C. Spits out 'expected expression' errors #1431

Answered by rygorous
AliElSaleh asked this question in Q&A
Discussion options

You must be logged in to vote

It sounds like out got added as a keyword or preprocessor #define, but I have no idea what it maps to.

As a general matter of policy, we'll happily take patches to fix issues with officially published standard revisions, but C2X is still in progress and current implementations are subject to change. For the time being, I'd suggest to compile the translation unit that defines STB_IMAGE_IMPLEMENTATION with C17 or below.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AliElSaleh
Comment options

@AliElSaleh
Comment options

Answer selected by rygorous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants