Skip to content

Cannot Compile in Xcode 5 #40

@Kfeavel

Description

@Kfeavel

Every time Xcode 5 compiles NXEngine-iOS, I get an error in SDL:
NXEngine-iOS/iOS/deps/SDL/src/render/opengles2/SDL_gles2funcs.h:35:1: Assigning to 'void ()(GLuint, GLsizei, const char *, const GLint )' from incompatible type 'void (GLuint, GLsizei, const GLchar *const *, const GLint *)': type mismatch at 3rd parameter ('const char *' vs 'const GLchar *const *' (aka 'const char *const *'))

The code is at line 35 in SDL_gles2funcs.h:
SDL_PROC(void, glShaderSource, (GLuint, GLsizei, const char **, const GLint *))

Just as a side note: It compiles without any errors in Xcode 4.6. Only 5.0 & 5.1 create errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions