src/test/SDL_test_log.c
changeset 10396 fa4e35434a9c
parent 9998 f67cf37e9cd4
child 10397 3126026a822b
     1.1 --- a/src/test/SDL_test_log.c	Fri Jul 01 16:47:27 2016 +0100
     1.2 +++ b/src/test/SDL_test_log.c	Sat Oct 01 10:36:24 2016 -0700
     1.3 @@ -50,6 +50,8 @@
     1.4   *
     1.5   * \return Ascii representation of the timestamp in localtime in the format '08/23/01 14:55:02'
     1.6   */
     1.7 +#pragma GCC diagnostic push
     1.8 +#pragma GCC diagnostic ignored "-Wformat-nonliteral"
     1.9  char *SDLTest_TimestampToString(const time_t timestamp)
    1.10  {
    1.11      time_t copy;
    1.12 @@ -64,6 +66,7 @@
    1.13  
    1.14      return buffer;
    1.15  }
    1.16 +#pragma GCC diagnostic pop
    1.17  
    1.18  /*
    1.19   * Prints given message with a timestamp in the TEST category and INFO priority.