SDL 1.2: SDL_opengl.h: "No new line at the end" warning

Hello !

When compiling SDL 1.2 with CYGWIN you will see
4 or 5 Warnings: “No newline at the end of include/SDL_opengl.h”

The attached patch fixes that, by just adding a newline to the end
of SDL_opengl.h.

CU
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: SDL12_no_newline_warn_fix.patch
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090922/a6c31d95/attachment.asc

Fixed!

Can you put bug reports in http://bugzilla.libsdl.org ?

Thanks!On Mon, Sep 21, 2009 at 5:47 PM, Torsten Giebl wrote:

Hello !

When compiling SDL 1.2 with CYGWIN you will see
4 or 5 Warnings: “No newline at the end of include/SDL_opengl.h”

The attached patch fixes that, by just adding a newline to the end
of SDL_opengl.h.

CU

diff -Naur SDL_old/include/SDL_opengl.h SDL/include/SDL_opengl.h
— SDL_old/include/SDL_opengl.h ? ? ? ?2009-09-22 02:41:41.572709200 +0200
+++ SDL/include/SDL_opengl.h ? ?2009-09-22 02:42:23.240309200 +0200
@@ -6553,4 +6553,5 @@

?#endif
?#endif /* NO_SDL_GLEXT /
-/
@}/
\ No newline at end of file
+/
@}*/
+


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC