Hi all,
In version 5.7.10, I found a C++ comment in the .h headers:
#endif // __cplusplus
Should be:
#endif /* __cplusplus */
To avoid:
cc -g -fsanitize=address -fno-omit-frame-pointer -W -Wall -pedantic
-Wmissing-prototypes \
-Wno-long-long -Werror -fPIC \
-I/opt3/dbs/mys/5.7/include \
mys.c -o mys_5_7.o
In file included from /opt3/dbs/mys/5.7/include/mysql_com.h:22:0,
from /opt3/dbs/mys/5.7/include/mysql.h:58,
from mys.c:41:
/opt3/dbs/mys/5.7/include/binary_log_types.h:68:8: error: C++ style comments
are not allowed in ISO C90 [-Werror]
#endif // __cplusplus */
Seb
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql