MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Sebastien FLAESCH Date:September 28 2017 4:14pm
Subject:Re: MySQL Community Server 8.0.3-rc has been released (part 1/2)
View as plain text  
Can you please stop using C++ comments in header files designed for C programming?

/opt3/dbs/mys/8.0/include/mysql.h:36:1: error: C++ style comments are not allowed in ISO
C90 [-Werror]
  // Small extra definitions to avoid pulling in my_inttypes.h in client code.
  ^
/opt3/dbs/mys/8.0/include/mysql.h:36:1: error: (this will be reported only once per input
file) [-Werror]
In file included from /opt3/dbs/mys/8.0/include/mysql.h:68:0,
                  from mys.c:42:
/opt3/dbs/mys/8.0/include/binary_log_types.h:68:8: error: C++ style comments are not
allowed in ISO C90 [-Werror]
  #endif // __cplusplus
         ^
/opt3/dbs/mys/8.0/include/binary_log_types.h:68:8: error: (this will be reported only once
per input file) [-Werror]
In file included from /opt3/dbs/mys/8.0/include/mysql.h:69:0,
                  from mys.c:42:
/opt3/dbs/mys/8.0/include/mem_root_fwd.h:30:9: error: C++ style comments are not allowed
in ISO C90 [-Werror]
  #endif  // MEM_ROOT_FWD_INCLUDED
          ^
/opt3/dbs/mys/8.0/include/mem_root_fwd.h:30:9: error: (this will be reported only once per
input file) [-Werror]
In file included from /opt3/dbs/mys/8.0/include/mysql.h:83:0,
                  from mys.c:42:
/opt3/dbs/mys/8.0/include/mysql_time.h:29:1: error: C++ style comments are not allowed in
ISO C90 [-Werror]
  // Do not not pull in the server header "my_inttypes.h" from client code.
  ^

...

Seb

Thread
MySQL Community Server 8.0.3-rc has been released (part 1/2)Bjorn Munch21 Sep
  • Re: MySQL Community Server 8.0.3-rc has been released (part 1/2)Sebastien FLAESCH28 Sep