search for: wextra

Displaying 20 results from an estimated 216 matches for "wextra".

Did you mean: extra
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...
2001 Aug 10
1
A bug in WIN_SetWindowLong ?
Hi all. While debugging some program, I discovered what looks like a bug. Please be patient if I'm wrong. In the WIN_SetWindowLong function, in order to get the address of wExtra, there is: ptr = (LONG *)(((char *)wndPtr->wExtra) + offset); but this takes the *CONTENT* of wndPtr->wExtra. The correct code should be ptr = (LONG *)(((char *)&wndPtr->wExtra) + offset); Am I wrong ? Bye Marco -- Marco Bizzarri - Responsabile Tecnico - Icub...
2016 Jan 24
1
Wextra in configury
flac configury does a XIPH_ADD_CFLAGS([-Wextra]) around line 426, however it unconditionally adds -Wextra some lines before that too. The attached patch removes that unconditional addition of -Wextra which (i) removes duplicate addition, and (ii) allows older gcc versions to compile the tree peacefully. Please consider applying. -- O.S. ----...
2011 Aug 20
4
trouble installing 1.9.2
...r ruby-1.9.2-p290 - #configuring ruby-1.9.2-p290 - #compiling ERROR: Error running ''make '', please read /Users/user/.rvm/log/ruby-1.9.2-p290/make.log ERROR: There has been an error while running make. Halting the installation. 2011-08-20 00:45:06] make /usr/bin/gcc-4.2 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o main.o -c main.c /usr/bin/gcc-4.2 -...
2014 Jul 26
2
1.21 vs 1.3 encoding speed
...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 -Wcast-align -Wnested-externs -Wshadow > -Wundef -Wmissing-declarations -Wunreachable-code -Wdeclaration-after-statement > -D_FORTIFY_SOURCE=2 -msse2 -Wextra > > after: > CFLAGS = -O3 -funroll-loops -Wall -W -Winline...
2012 Jul 31
0
No subject
...HAVE_CONFIG_H -I. -I./src -I.= /win32=A0=A0 -I/home/user/builds/include=A0=A0 -I/home/user/builds/include/= opus=A0=A0 -DOPUSTOOLS -D_FORTIFY_SOURCE=3D2 -DHAVE_GETOPT_H -DSPX_RESAMPLE= _EXPORT=3D -DRANDOM_PREFIX=3Dopustools -DOUTSIDE_SPEEX -DFLOATING_POINT -I/= home/user/builds/include=A0 -W -Wall -Wextra -Wcast-align -Wnested-externs = -Wshadow -Wstrict-prototypes -MT src/opus_header.o -MD -MP -MF $depbase.Tpo= -c -o src/opus_header.o src/opus_header.c &&\ =A0=A0=A0 mv -f $depbase.Tpo $depbase.Po depbase=3D`echo src/opusenc.o | sed 's|[^/]*$|.deps/&|=3Bs|\.o$||'`=3B\ =A0=A0=A0...
2014 Jul 26
4
1.21 vs 1.3 encoding speed
Martijn van Beurden wrote: > op 25-07-14 19:32, Scott Brown schreef: > > ./configure -enable-static -disable-shared CFLAGS=" -isysroot > > /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6" > > make > > Well, the use of CFLAGS 'disables' the -O3 and unroll-loops > optimisation. I'm quite sure that's the culprit. Add -O3 to your
2020 Apr 20
2
How to optimize a large project in llvm pass?
...MyPass.cpp and I use "EP_FullLinkTimeOptimizationLast". I compile it and get libMypass.so. MyPass.so rely on some other code, such as,Init.c and Helper.c. So, I use following commands to get a static library libmypass-rt.a. " $ clang -fsanitize=safe-stack -c -emit-llvm -fpic -Wall -Wextra -O2 -I ../include -o obj/helpers.o helpers.c $ clang -fsanitize=safe-stack -c -emit-llvm -fpic -Wall -Wextra -O2 -I ../include -o obj/init.o init.c $ ar rcs obj/libmypass-rt.a obj/helpers.o obj/init.o ." When mypass optimizes the target program, it reles on libmypass-rt.a library. So I need to...
2007 Oct 11
1
[PATCH] Fix compiler warnings that prevent compilation
...3,7 @@ dnl if we support them, we set them unconditionally AS_COMPILER_FLAG(-Wall, GLOBAL_CFLAGS="-Wall", GLOBAL_CFLAGS="") dnl I want this but stupid headers don't let me dnl AS_COMPILER_FLAG(-Wshadow, GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wshadow") -AS_COMPILER_FLAG(-Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security, GLOBAL_CF...
2024 Mar 26
1
[PATCH 00/12] kbuild: enable some -Wextra warnings by default
From: Arnd Bergmann <arnd at arndb.de> This is a follow-up on a couple of patch series I sent in the past, enabling -Wextra (aside from stuff that is explicitly disabled), -Wcast-function-pointer-strict and -Wrestrict. I have tested these on 'defconfig' and 'allmodconfig' builds across all architectures, as well as many 'randconfig' builds on x86, arm and arm64. It would be nice to have all the...
2020 Apr 23
3
Cannot build master
...ENABLE_PROJECTS="all" \ >         -G "Ninja" ../llvm > > The final errors were: > > [5802/7319] : && /usr/lib/llvm/10/bin/clang++  -fPIC > -fvisibility-inlines-hidden -Werror=date-time > -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter > -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic > -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default > -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor > -Wstring-conversion -fdiagnostics-color -ffunct...
2020 Apr 23
7
Cannot build master
...NTAL_TARGETS_TO_BUILD="AVR" \ -DLLVM_ENABLE_PROJECTS="all" \ -G "Ninja" ../llvm The final errors were: [5802/7319] : && /usr/lib/llvm/10/bin/clang++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -fno-co...
2014 Jul 26
0
1.21 vs 1.3 encoding speed
...nforce 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 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 -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Wunreachable-code -Wdeclaration-after-statement -D_FORTIFY_SOURCE=2 -msse2 -Wextra after: CFLAGS = -O3 -funroll-loops -Wall -W -Winline -g -O2 -Wall -Wextra -Wstrict-...
2014 Jul 26
0
1.21 vs 1.3 encoding speed
...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 -Wcast-align -Wnested-externs -Wshadow >> -Wundef -Wmissing-declarations -Wunreachable-code -Wdeclaration-after-statement >> -D_FORTIFY_SOURCE=2 -msse2 -Wextra >> >> after: >> CFLAGS = -O3 -funroll-l...
2015 Apr 10
3
[PATCH] configure: only use -mstackrealign for mingw32
...isation$sse_os" = "xyesyes" ; then > XIPH_ADD_CFLAGS([-msse2]) > - XIPH_ADD_CFLAGS([-mstackrealign]) > fi > + fi > > +if test "$host_os" = "mingw32" ; then > + XIPH_ADD_CFLAGS([-mstackrealign]) > fi > > XIPH_ADD_CFLAGS([-Wextra]) Everyone happy with this patch? Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
2001 Sep 04
0
Presumed bug found in SCROLL_GetPtrScrollInfo
...r Point's Spread32 library; the application crashes when referencing a NULL pointer returned by GlobalLock, but obviously it runs perfectly under win98SE (see previous post about GetWindowLongA) . The behaviour of SCROLL_GetPtrScrollInfo, with nBar parameter = SB_CTL, is to return wndPtr->wExtra as it were a pointer. Actually we found that, in this case, the application stores in wndPtr->wExtra[0] a handle; so, tricking with wine's code, we obtained the pointer from the handle (using GlobalLock), making the app working (almost) correctly. Before releasing a patch, we would like to...
2010 Apr 11
2
Antispam plugin, compile under osx
...lude/dovecot/src/lib-imap/ -I/opt/local/include/ dovecot/src/lib-dict/ -I/opt/local/include/dovecot/src/lib-index/ -I/ opt/local/include/dovecot/src/imap/ -o dovecot-version dovecot-version.c ./dovecot-version > dovecot-version.h ./version.sh > antispam-version.h cc -c -fPIC -shared -Wall -Wextra -DPLUGINNAME=antispam - DHAVE_CONFIG_H -I/opt/local/include/dovecot/ -I/opt/local/include/ dovecot/src/ -I/opt/local/include/dovecot/src/lib/ -I/opt/local/ include/dovecot/src/lib-storage/ -I/opt/local/include/dovecot/src/lib- mail/ -I/opt/local/include/dovecot/src/lib-imap/ -I/opt/local/includ...
2009 Jun 09
2
oggz mingw
When I try to 'make' oggz (0.9.9), I get the following compile error make[4]: Leaving directory `/c/liboggz/src/tools/oggz-chop' make[4]: Entering directory `/c/liboggz/src/tools' /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wextra -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused -o oggz-info.exe oggz-info.o skeleton.o oggz_tools.o dirac.o ../liboggz/liboggz.la -logg -lm libtool: link: gcc -g -O2 -Wall -Wextra -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused -o .libs/oggz-info.exe oggz-info.o skeleton.o oggz...
2020 Apr 23
2
Cannot build master
...eGen > -I/home/laguest/src/mine-new/llvm/llvm-project/clang/include > -Itools/clang/include -I/usr/include/libxml2 -Iinclude > -I/home/laguest/src/mine-new/llvm/llvm-project/llvm/include -fPIC > -fvisibility-inlines-hidden -Werror=date-time > -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter > -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic > -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default > -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor > -Wstring-conversion -fdiagnostics-color -ffunction-sections &gt...
2009 Nov 08
2
Problem compiling celt 0.7.0
...recursive make[1]: Entering directory `/tmp/celt-0.7.0' Making all in libcelt make[2]: Entering directory `/tmp/celt-0.7.0/libcelt' /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -s -O3 -march=i686 -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -MT celt.lo -MD -MP -MF .deps/celt.Tpo -c -o celt.lo celt.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -s -O3 -march=i686 -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wca...