Skip to content
Snippets Groups Projects
Commit 27a42bab authored by Sergey Linev's avatar Sergey Linev Committed by Axel Naumann
Browse files

http: -Wdate-time warning appeared first in gcc5, not exits before

parent d445faae
No related branches found
No related tags found
No related merge requests found
......@@ -19046,9 +19046,11 @@ mg_get_system_info_impl(char *buffer, int buflen)
/* Build date */
{
#if defined(GCC_DIAGNOSTIC)
#if GCC_VERSION >= 50000
#pragma GCC diagnostic push
/* Disable bogus compiler warning -Wdate-time */
#pragma GCC diagnostic ignored "-Wdate-time"
#endif
#endif
mg_snprintf(NULL,
NULL,
......@@ -19059,7 +19061,9 @@ mg_get_system_info_impl(char *buffer, int buflen)
eol);
 
#if defined(GCC_DIAGNOSTIC)
#if GCC_VERSION >= 50000
#pragma GCC diagnostic pop
#endif
#endif
 
system_info_length += (int)strlen(block);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment