src/SDL_error.c
changeset 10396 fa4e35434a9c
parent 9998 f67cf37e9cd4
child 10403 a0c76d344583
     1.1 --- a/src/SDL_error.c	Fri Jul 01 16:47:27 2016 +0100
     1.2 +++ b/src/SDL_error.c	Sat Oct 01 10:36:24 2016 -0700
     1.3 @@ -116,6 +116,8 @@
     1.4      return -1;
     1.5  }
     1.6  
     1.7 +#pragma GCC diagnostic push
     1.8 +#pragma GCC diagnostic ignored "-Wformat-nonliteral"
     1.9  /* This function has a bit more overhead than most error functions
    1.10     so that it supports internationalization and thread-safe errors.
    1.11  */
    1.12 @@ -216,6 +218,7 @@
    1.13      }
    1.14      return (errstr);
    1.15  }
    1.16 +#pragma GCC diagnostic pop
    1.17  
    1.18  /* Available for backwards compatibility */
    1.19  const char *