[SDL] gcc -Wall implicit declaration of function

Justin Agrell justin at u4e.us
Mon Sep 22 21:54:22 PDT 2014


Same source as the one before:
http://u4e.us/c/main.c
http://u4e.us/c/vs1.glsl
http://u4e.us/c/fs1.glsl

It still compiles fine but I was just wondering about the warnings I get
when I compile with "gcc main.c -lSDL -lGL -Wall"

example:

warning: implicit declaration of function 'glBindBuffer'
[-Wimplicit-function-declaration]

Are these warnings okay to ignore or am I missing something in the code
or gcc command?

Thanks again.

-Justin


More information about the SDL mailing list