Displaying 20 results from an estimated 6000 matches similar to: "[LLVMdev] -Wunused-private-field warnings"
2010 Jul 23
3
[LLVMdev] warnings in inline assembly with used labels and -Wunused-label
Hi,
llvm-gcc 4.2 generates warnings when I compile inline assembly code that contains used labels with -Wunused-label. The generated code seems to work yet. gcc 4.2 doesn't generate those warnings. I haven't found any bugs regarding this issue in the llvm bug database.
Does anyone know if this is a known llvm issue? Is it a warning that I can ignore and does not affect the generated
2010 Jul 23
0
[LLVMdev] warnings in inline assembly with used labels and -Wunused-label
This is fixed in TOT (rev 107051 for C, 108732 for C++)
On Jul 23, 2010, at 2:20 AMPDT, Alexandre Colucci wrote:
> Hi,
>
> llvm-gcc 4.2 generates warnings when I compile inline assembly code
> that contains used labels with -Wunused-label. The generated code
> seems to work yet. gcc 4.2 doesn't generate those warnings. I
> haven't found any bugs regarding this
2015 Jul 18
4
[LLVMdev] Any objections to turning on -Wunused-parameter? (and any other -Wunused-* that are off?)
LLVM and Clang both have lots of objects that are passed through many
different API boundaries. Things like AliasAnalysis in LLVM or Sema in
Clang get threaded all over the place.
Over times, refactoring can often cause the parameters (or local variables,
or member variables, etc) to become dead. If we notice this, we can often
un-thread the interface through our APIs, sometimes even reducing
2008 Aug 05
1
Rails controller specs and private helper methods
Hello guys,
Been a while since last time I worked with Rails so is taking me a
while get back to full speed.
For a specific scenario I''m facing right now, I required to implement
a generic REST controller that accept any kind of resource and provide
a @collection or @record to work with.
I take from the route requirements the name of the resource
2011 Nov 13
0
[PATCH] kvm-tool: don't add the -Wunused-result flag
The -Wunused-result is the default option of gcc, so no need to
add it to the FLAGS.
And the previous version of gcc can't support this flag, it may
cause a compile error.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
tools/kvm/Makefile | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile
index
2011 Oct 13
0
1) A memory leak in drivers/rhino.c 2) Wunused-but-set-variable.patch
I would like to have your comments regarding:
1) drivers/rhino.c
------------------
The following patch addresses some problems in drivers/rhino.c. Or
that is what I think. I don't use this hardware. The patch:
1. Eliminates some usefulness definitions.
2. It removes code that evaluate the time. I can't see how the code
actually does useful work.
3. The
2011 Oct 03
0
patch: Fix [-Wunused-but-set-variable]
Description: Fix warning: variable set but not used
[-Wunused-but-set-variable]. bugs.debian.org/633756.
Related drivers were not tested.
Last-Update: Sat, 13 Aug 2011 14:04:48 +0300
Index: b/drivers/belkinunv.c
===================================================================
--- a/drivers/belkinunv.c 2011-05-31 13:36:49.000000000 +0300
+++ b/drivers/belkinunv.c
2012 Apr 02
23
[PATCH 00 of 18] [v2] tools: fix bugs and build errors triggered by -O2 -Wall -Werror
Changes:
tools/blktap: remove unneeded pointer dereferencing in convert_dev_name_to_num
tools/blktap: constify string arrays in convert_dev_name_to_num
tools/blktap: fix params and physical-device parsing
tools/blktap: remove unneeded pointer dereferencing from img2qcow.c
tools/blktap: remove unneeded pointer dereferencing from qcow2raw.c
tools/blktap2: fix build errors caused by Werror in
2018 May 09
2
Compiling 3.13.2 under FreeBSD 11.1?
On 05/09/2018 05:44 AM, Roman Serbski wrote:
> On Tue, May 8, 2018 at 11:34 AM, Roman Serbski <mefystofel at gmail.com> wrote:
>> # gdb gluster
>> GNU gdb 6.1.1 [FreeBSD]
>> Copyright 2004 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and you are
>> welcome to change it and/or distribute copies of it under
2007 Sep 14
4
Refactoring ActiveRecord's private methods
As it currently stands, ActiveRecord has alot of private and protected
methods in the Base class.
>> ActiveRecord::Base.methods.size
=> 427
>> ActiveRecord::Base.protected_methods.size
=> 32
>> ActiveRecord::Base.private_methods.size
=> 193
I really loved the suggestion by Courtenay in Refactoring
AR::Base.find (http://groups.google.com/group/rubyonrails-core/
2018 May 09
0
Compiling 3.13.2 under FreeBSD 11.1?
On Wed, May 9, 2018 at 1:22 PM, Kaleb S. KEITHLEY <kkeithle at redhat.com> wrote:
>
> That's certainly true. The issue hasn't been fixed in any version of
> gluster yet.
>
> You can help moving it along by voting +1 on
> https://review.gluster.org/19974
Will do -- thanks!
> Based on that gdb bt you can try applying this patch too
>
2013 Jul 15
3
[PATCH] xen/control: protect functions with CONFIG_HIBERNATE_CALLBACKS to avoid warning
If CONFIG_HIBERNATE_CALLBACKS is not set gcc will issue warnings:
drivers/xen/manage.c:46:13: warning: ''xen_hvm_post_suspend'' defined but not used [-Wunused-function]
drivers/xen/manage.c:52:13: warning: ''xen_pre_suspend'' defined but not used [-Wunused-function]
drivers/xen/manage.c:59:13: warning: ''xen_post_suspend'' defined but not used
2019 Jul 18
2
make install libvirt v5.5.0 failed
Hi all:
Unable to install libvirt v5.5.0 correctly through the source code which clone from git. The error message is shown below.
libtool: install: (cd /home/libvirt/src; /bin/sh /home/libvirt/libtool --silent --tag CC --mode=relink gcc -std=gnu99 -I/usr/include/libxml2 -fno-common -W -Waddress -Waggressive-loop-optimizations -Wall -Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined
2018 Aug 08
3
Re: LIBVIRT-4.6.0 can't work with QEMU 3.0.0
2015 Mar 04
2
Re: [virt-tools-list] libvirt/virt-manager source integration with xen
Thanks Guido, unfortunately no luck:
root@<server>:~/debian# grep DEB_CONFIGURE_EXTRA_ARGS *
grep: apparmor: Is a directory
grep: patches: Is a directory
grep: source: Is a directory
root@<server>:~/debian#
root@<server>:~/debian#
root@<server>:~/debian#
root@<server>:~/debian# grep DEB_CONFIGURE_EXTRA_ARGS */*
root@<server>:~/debian#
2017 May 14
8
[PATCH 1/3] Fix ERROR: trailing statements should be on next line
From: Maciej Fijalkowski <macfij7 at wp.pl>
Signed-off-by: Maciej Fijalkowski <macfij7 at wp.pl>
---
drivers/net/virtio_net.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 9320d96..f20dfb8 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -217,7 +217,8 @@ static void
2017 May 14
8
[PATCH 1/3] Fix ERROR: trailing statements should be on next line
From: Maciej Fijalkowski <macfij7 at wp.pl>
Signed-off-by: Maciej Fijalkowski <macfij7 at wp.pl>
---
drivers/net/virtio_net.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 9320d96..f20dfb8 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -217,7 +217,8 @@ static void
2019 Nov 15
4
[PATCH 0/2] drm/nouveau: remove some set but not used variables
zhengbin (2):
drm/nouveau: remove set but not used variable 'pclks','width'
drm/nouveau: remove set but not used variable 'mem'
drivers/gpu/drm/nouveau/dispnv04/arb.c | 6 ++----
drivers/gpu/drm/nouveau/nouveau_ttm.c | 4 ----
2 files changed, 2 insertions(+), 8 deletions(-)
--
2.7.4
2014 Jan 08
1
EFI build problems
On Thu, 19 Dec, at 02:39:23AM, Celelibi wrote:
>
> Hello,
> I confirm the command realpath wasn't installed by default on my
> debian either. And it seems it can be easily replaced by readlink -f.
> And actually I find its use doubtful.
>
> However, as you may have seen, these scripts are quite new and may
> have bugs. Using pushd/popd in a /bin/sh script is a bug.
2013 Sep 06
4
[PATCH] virtio_pci: pm: Use CONFIG_PM_SLEEP instead of CONFIG_PM
The virtio_pci_freeze/restore are defined under CONFIG_PM but is used
by SET_SYSTEM_SLEEP_PM_OPS macro, which is defined under
CONFIG_PM_SLEEP. So if CONFIG_PM_SLEEP is not cofigured but
CONFIG_PM_RUNTIME is, the following warning message appeared:
drivers/virtio/virtio_pci.c:770:12: warning: ?virtio_pci_freeze? defined but not used [-Wunused-function]
static int virtio_pci_freeze(struct device