Displaying 20 results from an estimated 500 matches similar to: "Wextra in configury"
2014 May 25
2
replace -Wextra with -W
The attached small configury patch replaces -Wextra with -W in the
main CFLAGS and CXXFLAGS assignments. A few lines after them, -Wextra
is conditionally added already with XIPH_ADD_CFLAGS([-Wextra]), so
this allows build using older compilers.
Regards.
--
O.S.
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index 6d0fa00..cc5a247 100644
--- a/configure.ac
+++
2014 May 25
2
extend visibility attributes usage to osx builds
The attached small configury patch extends visibility attributes usage
to darwin (osx) builds. Tested by cross-compiling on a linux host using
gcc-.4.0.2 and gcc-4.2.1 against 10.4 and 10.6 SDKs.
Regards.
--
O.S.
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index 6d0fa00..d3c302a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -395,7 +395,6 @@ if test
2017 Jan 15
0
[PATCH 1/2] Do not override CFLAGS, as CFLAGS is a user flag.
* Furthermore, use NDEBUG globally to detect the presence
of building with more debug output information.
AX_CHECK_ENABLE_DEBUG is easier to use, and nowadays
Gnome has also switched to it from its own custom solution.
---
configure.ac | 52 ++++++++++++------
include/FLAC/assert.h | 2 +-
m4/ax_check_enable_debug.m4 | 124
2015 Apr 10
3
[PATCH] configure: only use -mstackrealign for mingw32
Tristan Matthews wrote:
> ---
> configure.ac | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index eb9b0cc..e7d68c3 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -399,9 +399,11 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
>
> if test "x$asm_optimisation$sse_os" =
2015 Apr 10
2
[PATCH] configure: only use -mstackrealign for mingw32
On Fri, Apr 10, 2015 at 1:40 PM, lvqcl <lvqcl.mail at gmail.com> wrote:
> Tristan Matthews wrote:
>
> > if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
> > XIPH_ADD_CFLAGS([-msse2])
> > - XIPH_ADD_CFLAGS([-mstackrealign])
> > + if test "$host_os" = "mingw32" ; then
>
2015 Apr 10
2
[PATCH] configure: only use -mstackrealign for mingw32
---
configure.ac | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index eb9b0cc..4347c07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -399,9 +399,10 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2])
- XIPH_ADD_CFLAGS([-mstackrealign])
+
2015 Apr 11
3
[PATCH] configure: only use -mstackrealign on mingw32/os2
And only for i686.
---
configure.ac | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index eb9b0cc..8dd5b0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -399,11 +399,16 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2])
-
2016 Jun 26
2
FLAC__SSE_OS change
Thomas Zander wrote:
> In any case, the disable-SSE matter is still important. People are
> still using flac on x86 machines without SSE, for instance AMD Geode
> CPUs seem to live forever.
libFLAC detects CPU SSE support in runtime, so --disable-sse is
necessary for cuch CPUs only because it disables -msse2 switch.
Maybe it makes sense to add new switch, --no-force-sse2 or
2014 Jul 26
2
1.21 vs 1.3 encoding speed
lvqcl wrote:
> I just built FLAC and noticed that the size of flac.exe is noticeably bigger,
> so I compared the generated Makefiles before ang after this change.
>
> The difference is: "-g -O2" options were added to CFLAGS.
>
> before:
> CFLAGS = -O3 -funroll-loops -Wall -W -Winline -Wall -Wextra -Wstrict-prototypes
> -Wmissing-prototypes -Waggregate-return
2014 Jul 26
0
1.21 vs 1.3 encoding speed
Erik de Castro Lopo wrote:
> Wow, I didn't even know that was there.
>
> I have now replaced the above with:
>
> CFLAGS="-O3 -funroll-loops -Wall -W -Winline $CFLAGS"
>
> so CFLAGS are preserved and enforce optimisations.
I just built FLAC and noticed that the size of flac.exe is noticeably bigger,
so I compared the generated Makefiles before ang after this
2014 Jul 26
0
1.21 vs 1.3 encoding speed
Erik de Castro Lopo wrote:
>> I just built FLAC and noticed that the size of flac.exe is noticeably bigger,
>> so I compared the generated Makefiles before ang after this change.
>>
>> The difference is: "-g -O2" options were added to CFLAGS.
>>
>> before:
>> CFLAGS = -O3 -funroll-loops -Wall -W -Winline -Wall -Wextra -Wstrict-prototypes
2014 Mar 22
2
About "attempt to fix differences between x86 FPU and SSE calculations"
Olivier Tristan <o.tristan at uvi.net> ?????(?) ? ????? ?????? Fri, 21 Mar 2014 22:41:00 +0400:
> Check with -mfpmath=387 to be sure that x87 FPU code is used and not some
> SSE optim made by GCC
I added "XIPH_ADD_CFLAGS([-mfpmath=387])" into configure.ac
Still the result is different from SSE version.
---------------
MSVS adds two instructions to the generated code after
2017 Jan 15
4
Updated CFLAGS patches and make test compilation conditional
Hi Erik,
I've found a middleground for the problem of setting default CFLAGS. I've gone back
to setting them if {C,CXX,CPP,LD}FLAGS are unset at the onset of the configure script
(i.e., the user hasn't specified anything) and then proceed to set them to the defaults
as before. This has been suggested before:
https://lists.gnu.org/archive/html/autoconf/2006-04/msg00022.html
In
2014 May 25
2
XIPH_C_COMPILER_IS_CLANG preventing many flags
XIPH_C_COMPILER_IS_CLANG in configury (commit a6a4b6f) is blocking
many flags including the visibility attributes: I guess this needs
relaxing, possibly a lot. What incompatibility led to this commit?
--
O.S.
2014 Jan 03
2
PATCH: add FLAC__SSE_SUPPORTED and FLAC__SSE2_SUPPORTED
Currently the only way to compile FLAC using GCC w/o SSE support
is to disable asm optimizations (see configure.ac):
if test "x$asm_optimisation" = "xyes" ; then
XIPH_ADD_CFLAGS([-msse2])
fi
Also it's not possible to enable SSE4.1 intrinsic functions even
with -msse4.1 option. The patch fixes both problems.
---------------
BTW: I'm not sure that share/compat.h
2015 Nov 09
0
[PATCH 5/5] build: Enable some more warnings.
After fixing some warnings (see prior commits), we can now enable
them in configure.ac.
---
m4/guestfs_c.m4 | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/m4/guestfs_c.m4 b/m4/guestfs_c.m4
index e91446f..7250294 100644
--- a/m4/guestfs_c.m4
+++ b/m4/guestfs_c.m4
@@ -43,22 +43,15 @@ fi
dnl This, $nw, is the list of warnings we disable.
nw=
nw="$nw
2020 Oct 19
5
[RFC] treewide: cleanup unreachable breaks
On Sat, Oct 17, 2020 at 10:43 PM Greg KH <gregkh at linuxfoundation.org> wrote:
>
> On Sat, Oct 17, 2020 at 09:09:28AM -0700, trix at redhat.com wrote:
> > From: Tom Rix <trix at redhat.com>
> >
> > This is a upcoming change to clean up a new warning treewide.
> > I am wondering if the change could be one mega patch (see below) or
> > normal patch
2011 Nov 30
0
[LLVMdev] -Wunreachable-code and templates
I'm just wondering if anyone's already working on addressing the
current shortcomings around -Wunreachable-code in regards to
templates.
Take the following simple example:
$ cat unreachable.cpp
int func1();
int func2();
template<bool b>
int func() {
return !b ? func1() : func2();
}
int main() {
return func<true>() + func<false>();
}
$ clang++ -Wunreachable-code
2015 Mar 03
0
Patch cleaning up Opus x86 intrinsics configury
Hello Jonathan,
I am unable to apply your patch cleanly on tip.
Timothy/opus-dev,
This patch has some conflicts with my ARM patch that does fft optimizations
http://lists.xiph.org/pipermail/opus/2015-March/002904.html
http://lists.xiph.org/pipermail/opus/2015-March/002905.html
One of us probably has to rebase depending on which patch goes into opus first.
Regards,
Vish
On 1 March 2015 at
2015 Aug 03
0
[PATCH 00/10] Patched cleaning up Opus x86 intrinsics configury
Thanks to Jean-Marc and Tim explaining 'git rebase -i' to me, I've factored my reorganization of
the Opus Intrinsics configury into a number of hopefully more comprehensible (and thus more
reviewable) pieces.
This applies to the current tip of Opus Master in git.
Viswanath's Ne10 changes require some slight modification to apply on top of these patches,
but nothing major.