Changed C++ style comments to fix pedantic warnings.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 17 May 2014 22:02:25 +0200
changeset 8776 29aac8b813d9
parent 8775 047537a5a114
child 8777 04d0414f6812
Changed C++ style comments to fix pedantic warnings.
src/core/android/SDL_android.c
src/events/SDL_mouse.c
test/testdropfile.c
test/testgles2.c
test/testhotplug.c
--- a/src/core/android/SDL_android.c	Sat May 17 21:52:05 2014 +0200
+++ b/src/core/android/SDL_android.c	Sat May 17 22:02:25 2014 +0200
@@ -148,7 +148,7 @@
     Android_SetScreenResolution(width, height, format);
 }
 
-// Paddown
+/* Paddown */
 JNIEXPORT int JNICALL Java_org_libsdl_app_SDLActivity_onNativePadDown(
                                     JNIEnv* env, jclass jcls,
                                     jint device_id, jint keycode)
@@ -156,7 +156,7 @@
     return Android_OnPadDown(device_id, keycode);
 }
 
-// Padup
+/* Padup */
 JNIEXPORT int JNICALL Java_org_libsdl_app_SDLActivity_onNativePadUp(
                                    JNIEnv* env, jclass jcls,
                                    jint device_id, jint keycode)
--- a/src/events/SDL_mouse.c	Sat May 17 21:52:05 2014 +0200
+++ b/src/events/SDL_mouse.c	Sat May 17 22:02:25 2014 +0200
@@ -539,7 +539,7 @@
         mouse->relative_mode_warp = SDL_TRUE;
     } else if (mouse->SetRelativeMouseMode(enabled) < 0) {
         if (enabled) {
-            // Fall back to warp mode if native relative mode failed
+            /* Fall back to warp mode if native relative mode failed */
             mouse->relative_mode_warp = SDL_TRUE;
         }
     }
--- a/test/testdropfile.c	Sat May 17 21:52:05 2014 +0200
+++ b/test/testdropfile.c	Sat May 17 22:02:25 2014 +0200
@@ -44,7 +44,7 @@
         int consumed;
 
         consumed = SDLTest_CommonArg(state, i);
-        // needed vodoo to allow app to launch via OS X Finder
+        /* needed voodoo to allow app to launch via OS X Finder */
         if (SDL_strncmp(argv[i], "-psn", 4)==0) {
             consumed = 1;
         }
--- a/test/testgles2.c	Sat May 17 21:52:05 2014 +0200
+++ b/test/testgles2.c	Sat May 17 22:02:25 2014 +0200
@@ -210,7 +210,7 @@
     GL_CHECK(ctx.glCompileShader(*shader));
     GL_CHECK(ctx.glGetShaderiv(*shader, GL_COMPILE_STATUS, &status));
 
-    // Dump debug info (source and log) if compilation failed.
+    /* Dump debug info (source and log) if compilation failed. */
     if(status != GL_TRUE) {
         SDL_Log("Shader compilation failed");
         quit(-1);
--- a/test/testhotplug.c	Sat May 17 21:52:05 2014 +0200
+++ b/test/testhotplug.c	Sat May 17 22:02:25 2014 +0200
@@ -53,7 +53,9 @@
         exit(1);
     }
 
+    /*
     //SDL_CreateWindow("Dummy", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 128, 128, 0);
+    */
 
     SDL_Log("There are %d joysticks at startup\n", SDL_NumJoysticks());
     if (enable_haptic)