On Wed, Apr 20, 2016 at 10:54:51AM +0200, Thomas Monjalon wrote: > 2016-04-20 01:09, Rasesh Mody: > > Hi Thomas, > > > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > Sent: Tuesday, April 19, 2016 5:59 AM > > > > > > 2016-03-31 19:15, Rasesh Mody: > > > > +ifeq ($(OS_TYPE),Linux) > > > > +CFLAGS_ECORE_DRIVER += -Wno-shift-negative-value endif > > > > > > I see an error with clang: > > > fatal error: unknown warning option '-Wno-shift-negative-value'; > > > did you mean '-Wno-shift-sign-overflow'? > > > > We had compiled all our v5 driver patches against clang v3.8 on RH7.1 and > > didn't see a similar error. > > "clang version 3.8.0 (trunk 249596) (llvm/trunk 249595)" > > > > The '-Wno-shift-negative-value' option only got introduced after 3.6.0 > > clang release. Pls. let us know if we need to support a minimum version of > > clang. We had asked this question earlier in the dpdk community, however we > > didn't hear back from anyone so far. > > I use clang-3.6.2. > You are right there is no official requirement in > doc/guides/linux_gsg/sys_reqs.rst. > Opinions about minimal version to support?
[Updating subject to make this discussion easier to find in searches] Given that we support FreeBSD 10.x, Clang 3.4 may be a good minimum version to support. On the gcc side, v4.5 is rather old by now, should we update min to v4.8? /Bruce