Skip to content

minor: incompatible pointer type in DaoSDL #1

@dumblob

Description

@dumblob
make[3]: Entering directory '/home/test/dao/modules/DaoSDL'
cc -ggdb -O0 -DDEBUG -I. -I../../kernel/ -I../../ -fPIC -I../../kernel/ -DDAO_WITH_NUMARRAY -DDAO_WITH_DECORATOR -DDAO_WITH_THREAD -DDAO_WITH_CONCURRENT -DLINUX=2 -DUNIX=1 -I../auxlib/ -I/usr/include/SDL2 -D_REENTRANT  -c wrap/dao_sdl.c -o DaoMake.Objs/dao_sdl.c.DA1B.o
wrap/dao_sdl.c: In function ‘dao__SDL_RWFromFP’:
wrap/dao_sdl.c:1777:37: warning: passing argument 1 of ‘SDL_RWFromFP’ from incompatible pointer type
   struct SDL_RWops* _SDL_RWFromFP = SDL_RWFromFP( fp, autoclose );
                                     ^
In file included from /usr/include/SDL2/SDL_audio.h:36:0,
                 from /usr/include/SDL2/SDL.h:71,
                 from wrap/dao_sdl.h:18,
                 from wrap/dao_sdl.c:1:
/usr/include/SDL2/SDL_rwops.h:157:36: note: expected ‘struct FILE *’ but argument is of type ‘struct __sFILE *’
 extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(FILE * fp,
                                    ^

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