cerbero: Silence clang errors for now in OSX and iOS

Andoni Morales ylatuya at gmail.com
Sat Mar 29 07:14:03 PDT 2014


2014-03-29 9:20 GMT+01:00 Edward Hervey <bilboed at bilboed.com>:

> Hi,
>
>   This breaks the osx 10.7 build.
>
> For example in glib's configuration step:
>
> checking for gcc... gcc
> checking whether the C compiler works... no
> configure: error: in
> `/Users/bilboed/jenkins/workspace/cerbero-osx-universal-107/workdir/sources/darwin_x86/glib-2.38.2':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
>
>
> cc1: error: unrecognized command line option
> "-Wno-unused-command-line-argument-hard-error-in-future"
>

We should enable it only for SDK >= 10.8. I can't test it, could you please
try with:

arch_cflags += ' -Wno-error=format-nonliteral '

if sdk_version >= '10.9':

  arch_cflags +=' -Wno-unused-command-line-argument-hard-error-in-future '


Cheers,
Andoni

>
>
> On Fri, 2014-03-28 at 06:25 -0700, Andoni Morales Alastruey wrote:
> > Module: cerbero
> > Branch: master
> > Commit: 41a6f41fa935bcf31dccfc57c842598eba05c262
> > URL:
> http://cgit.freedesktop.org/gstreamer/cerbero/commit/?id=41a6f41fa935bcf31dccfc57c842598eba05c262
> >
> > Author: Andoni Morales <ylatuya at gmail.com>
> > Date:   Tue Mar 25 11:37:48 2014 +0100
> >
> > Silence clang errors for now in OSX and iOS
> >
> > ---
> >
> >  config/darwin.config |    2 +-
> >  config/ios.config    |    2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/config/darwin.config b/config/darwin.config
> > index 63e2f39..d14f56a 100644
> > --- a/config/darwin.config
> > +++ b/config/darwin.config
> > @@ -70,7 +70,7 @@ elif target_arch == Architecture.PPC:
> >      arch_cflags += ' -arch ppc'
> >      arch_ldflags += ' -arch ppc -Wl,-arch,ppc'
> >
> > -arch_cflags += ' -Wno-error=format-nonliteral '
> > +arch_cflags += ' -Wno-error=format-nonliteral
> -Wno-unused-command-line-argument-hard-error-in-future '
> >
> >  incl_dir = os.path.join(prefix, 'include')
> >  if not os.path.exists(incl_dir):
> > diff --git a/config/ios.config b/config/ios.config
> > index c7e2f61..c099375 100644
> > --- a/config/ios.config
> > +++ b/config/ios.config
> > @@ -71,7 +71,7 @@ else:
> >  if target_distro_version in [DistroVersion.IOS_7_0,
> DistroVersion.IOS_7_1]:
> >    os.environ['CC']= 'clang'
> >    os.environ['CXX']= 'clang++'
> > -  extra_cflags += ' -Wno-error=format-nonliteral '
> > +  extra_cflags += ' -Wno-error=format-nonliteral
> -Wno-unused-command-line-argument-hard-error-in-future '
> >  else:
> >    os.environ['CC']= 'llvm-gcc-4.2'
> >    os.environ['CXX']= 'llvm-g++-4.2'
> >
> > _______________________________________________
> > gstreamer-commits mailing list
> > gstreamer-commits at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits
>
>
> _______________________________________________
> gstreamer-commits mailing list
> gstreamer-commits at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits
>
>


-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140329/4a47ee35/attachment-0001.html>


More information about the gstreamer-devel mailing list