Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5.42, 10.0.17
-
clang-3.4
Description
While getting travis-ci ready I'm testing with gcc and clang.
clang is a lot more fussy and generates pages of warnings. There is an output limit in travis-ci that these warnings cause to exceed. These warnings overall contribute to about 1/2 the output.
C99 isn't too much of a leap forward from C89
Attachments
Issue Links
- relates to
-
MDEV-6262 analyze the coverity report on mariadb
-
- Open
-
c99 style initializers require gcc 4.7
e.g http://buildbot.askmonty.org/buildbot/builders/kvm-deb-jessie-amd64/builds/4/steps/compile/logs/stdio
Need to use CHECK_C_SOURCE_COMPILES() in cmake and define some HAVE_xxx that can then be used as compiler preprocessor definition.