<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-29 9:20 GMT+01:00 Edward Hervey <span dir="ltr"><<a href="mailto:bilboed@bilboed.com" target="_blank">bilboed@bilboed.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
This breaks the osx 10.7 build.<br>
<br>
For example in glib's configuration step:<br>
<br>
checking for gcc... gcc<br>
checking whether the C compiler works... no<br>
configure: error: in `/Users/bilboed/jenkins/workspace/cerbero-osx-universal-107/workdir/sources/darwin_x86/glib-2.38.2':<br>
configure: error: C compiler cannot create executables<br>
See `config.log' for more details<br>
<br>
<br>
cc1: error: unrecognized command line option "-Wno-unused-command-line-argument-hard-error-in-future"<br></blockquote><div><br></div><div>We should enable it only for SDK >= 10.8. I can't test it, could you please try with:</div>
<div><br></div><div><pre style="padding:0px;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:13px"><code>arch_cflags += ' -Wno-error=format-nonliteral '</code></pre><pre style="padding:0px;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:13px">
<code>if sdk_version >= '10.9':</code></pre><pre style="padding:0px;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:13px"><code> </code><span style="font-size:13px;font-family:arial">arch_cflags +=' </span><span style="font-size:13px;font-family:arial">-Wno-unused-command-line-argument-hard-error-in-future '</span></pre>
</div><div><code><br></code></div><div><code>Cheers,</code></div><div><code>Andoni</code></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><div class="h5"><br>
<br>
On Fri, 2014-03-28 at 06:25 -0700, Andoni Morales Alastruey wrote:<br>
> Module: cerbero<br>
> Branch: master<br>
> Commit: 41a6f41fa935bcf31dccfc57c842598eba05c262<br>
> URL: <a href="http://cgit.freedesktop.org/gstreamer/cerbero/commit/?id=41a6f41fa935bcf31dccfc57c842598eba05c262" target="_blank">http://cgit.freedesktop.org/gstreamer/cerbero/commit/?id=41a6f41fa935bcf31dccfc57c842598eba05c262</a><br>
><br>
> Author: Andoni Morales <<a href="mailto:ylatuya@gmail.com">ylatuya@gmail.com</a>><br>
> Date: Tue Mar 25 11:37:48 2014 +0100<br>
><br>
> Silence clang errors for now in OSX and iOS<br>
><br>
> ---<br>
><br>
> config/darwin.config | 2 +-<br>
> config/ios.config | 2 +-<br>
> 2 files changed, 2 insertions(+), 2 deletions(-)<br>
><br>
> diff --git a/config/darwin.config b/config/darwin.config<br>
> index 63e2f39..d14f56a 100644<br>
> --- a/config/darwin.config<br>
> +++ b/config/darwin.config<br>
> @@ -70,7 +70,7 @@ elif target_arch == Architecture.PPC:<br>
> arch_cflags += ' -arch ppc'<br>
> arch_ldflags += ' -arch ppc -Wl,-arch,ppc'<br>
><br>
> -arch_cflags += ' -Wno-error=format-nonliteral '<br>
> +arch_cflags += ' -Wno-error=format-nonliteral -Wno-unused-command-line-argument-hard-error-in-future '<br>
><br>
> incl_dir = os.path.join(prefix, 'include')<br>
> if not os.path.exists(incl_dir):<br>
> diff --git a/config/ios.config b/config/ios.config<br>
> index c7e2f61..c099375 100644<br>
> --- a/config/ios.config<br>
> +++ b/config/ios.config<br>
> @@ -71,7 +71,7 @@ else:<br>
> if target_distro_version in [DistroVersion.IOS_7_0, DistroVersion.IOS_7_1]:<br>
> os.environ['CC']= 'clang'<br>
> os.environ['CXX']= 'clang++'<br>
> - extra_cflags += ' -Wno-error=format-nonliteral '<br>
> + extra_cflags += ' -Wno-error=format-nonliteral -Wno-unused-command-line-argument-hard-error-in-future '<br>
> else:<br>
> os.environ['CC']= 'llvm-gcc-4.2'<br>
> os.environ['CXX']= 'llvm-g++-4.2'<br>
><br>
> _______________________________________________<br>
> gstreamer-commits mailing list<br>
> <a href="mailto:gstreamer-commits@lists.freedesktop.org">gstreamer-commits@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits</a><br>
<br>
</div></div><br>_______________________________________________<br>
gstreamer-commits mailing list<br>
<a href="mailto:gstreamer-commits@lists.freedesktop.org">gstreamer-commits@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es">http://www.longomatch.ylatuya.es</a>
</div></div>