Skip to contentSkip to conversation

compiling with Clang 5.0

DISCUSSION Willem Jan Withagen 1 participant 1 message Aug 29, 2017

lore
Share & tools
lore
#0 lore raw

Hi all,

Just a point on the timeline

FreeBSD current has moved to Clang 5.0.
And other than a few #pragma GCC things that start warnings I was able to build HEAD without any problems.

So that is great for the current code base.

For those that are currious about the warning:
/home/jenkins/workspace/ceph-master/src/include/encoding.h:300:32:
warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"

                               ^

1 warning generated.

And given the file, it pops up quite a lot.
So I might want to submit a PR wrapping this in an #ifdef

--WjW