Comment 8 for bug 1641612

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote : Re: New compilation warnings with GCC 6 (-Wshift-negative-value, -Wdeprecated-declarations, -Wnonnull-compare, -Wc+11-compat)

5.7 also causes -Wc++11-compat warnings not seen in lower versions:

In file included from /home/laurynas/mysql-server/storage/innobase/include/fts0priv.h:643:0,
                 from /home/laurynas/mysql-server/storage/innobase/dict/dict0crea.cc:48:
/home/laurynas/mysql-server/storage/innobase/include/fts0priv.ic:56:24: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
    return(sprintf(str, "%016"PRIu64, id)););
                        ^
/home/laurynas/mysql-server/storage/innobase/include/fts0priv.ic:69:23: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
   return(sprintf(str, "%016"PRIu64, id));
                       ^