Displaying 20 results from an estimated 100 matches similar to: "[PATCH] hdt & gcc -Werror"
2014 Nov 22
1
Get rid of printf format warning format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’
Hello.
Use <inttypes.h> PRIx64 instead of llx to get rid of gcc warning
format ?%llx? expects type ?long long unsigned int?, but argument 2 has type ?uint64_t?
--
MartinS
diff --git a/com32/gpllib/acpi/xsdt.c b/com32/gpllib/acpi/xsdt.c
index 208abc6..228b6c3 100644
--- a/com32/gpllib/acpi/xsdt.c
+++ b/com32/gpllib/acpi/xsdt.c
@@ -63,7 +63,7 @@ int parse_xsdt(s_acpi * acpi)
/*
2009 Apr 12
0
[PATCH] hdt: only display MAC address for network cards
Display MAC address only for network cards not all pci devices.
- Sebastian
Index: syslinux-3.74-20-g3b80c26/com32/hdt/hdt-cli-pci.c
===================================================================
--- syslinux-3.74-20-g3b80c26.orig/com32/hdt/hdt-cli-pci.c
+++ syslinux-3.74-20-g3b80c26/com32/hdt/hdt-cli-pci.c
@@ -119,11 +119,11 @@ void show_pci_device(struct s_hardware *
2009 Feb 16
2
working with Blocks
hey
I am able to do:
block_func(x, y) do
....
end
But if I try to do this:
form.block_func(x, y) do
....
end
I get an error like this:
syntax error, unexpected '')''
@output_buffer.concat " "; @output_buffer.concat
(( form.block_func(x, y) do ).to_s);
@output_buffer.concat "\n"
Any ideas?
thanks
2015 Feb 10
6
[PATCH 0/6] fix some compiler warnings
These patches fix a few compiler warnings.
Tested on top of commit aee0dc5565711ef5be7c30fb5fc1c5f3f98db09f
Jonathan Boeing (6):
Use z width specifier when printing size_t variable
pxe: fix truncation warning
gpllib: fix sizeof(char *) misuse
hdt: fix sizeof(char *) misuse
hdt: fix sizeof(char *) misuse
hdt: fix sizeof(char *) misuse
com32/gpllib/dmi/dmi.c | 24 +++---
2009 Mar 01
15
Ajax in Rails
Hi All,
New to the group, and new to learning rails.
I''m having some trouble, i''ve done a few tutorials on creating some
small apps with rails and am now starting to play around myself.
I''ve been trying to create a simple form which when a user enters any
data that data is displayed as a preview elsewhere on the page
instantly, just like when creating an advert with
2015 Feb 10
0
[PATCH 4/6] hdt: fix sizeof(char *) misuse
The code was passing sizeof(char *) - not the length of the buffer - to
memset. Change the function to take the length of the buffer as a
parameter.
Fixes the warning: argument to 'sizeof' in 'memset' call is the same
expression as the destination; did you mean to provide an explicit
length?
Signed-off-by: Jonathan Boeing <jonathan.n.boeing at gmail.com>
---
2011 Jan 05
16
Nicedit (rich text editor)
Hello, I''m trying to use Nicedit to improve my text_areas in some views
of my project.
I have installed jquery:
ruby script/plugin install git://github.com/aaronchi/jrails.git
nicEdit plugin:
ruby script/plugin install
git://github.com/sergio-fry/Simple-nicEdit.git
Add js in layout:
<%= javascript_include_tag ''nicEdit'', ''nicEditInit'' %>
Use it
2005 Aug 03
0
[PATCH] Use -Werror in HOSTCFLAGS; make xen/tools use HOSTCFLAGS; fix warnings
The attached patch adds -Werror to HOSTCFLAGS in Config.mk, makes
xen/tools actually use HOSTCFLAGS (it was already using HOSTCC), and
fixes some gcc-4.0 signedness warnings in xen/tools/symbols.c.
Signed-off-by: Josh Triplett <josht@us.ibm.com>
- Josh Triplett
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2014 Dec 15
0
Re: index-parse.c:1256:6: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow]
On Mon, Dec 15, 2014 at 05:54:51PM +0000, Richard W.M. Jones wrote:
> No idea why this happens:
>
> index-parse.y: In function 'yyparse':
> index-parse.c:1256:6: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow]
> if (yyss + yystacksize - 1 <= yyssp)
> ^
>
> It only happens on one machine,
2024 Mar 09
3
Bug#1065794: xen: FTBFS on armhf: xenstored_control.c:646:70: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘time_t’ {aka ‘long long int’} [-Werror=format=]
Source: xen
Version: 4.17.3+10-g091466ba55-1.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org
https://buildd.debian.org/status/fetch.php?pkg=xen&arch=armhf&ver=4.17.3%2B10-g091466ba55-1.1&stamp=1709892742&raw=0
xenstored_control.c:646:70: error: format ?%ld? expects argument of
2019 May 30
2
[PATCH nbdkit 1/2] nbd: Fix -Werror=maybe-uninitialized warning.
GCC is concerned that if we never go round the loop then fd will be
uninitialized. By asserting that getaddrinfo set result != NULL we
can avoid this.
nbd.c: In function ‘nbd_open_handle’:
nbd.c:974:5: error: ‘fd’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
974 | close (fd);
| ^~~~~~~~~~
nbd.c:954:7: note: ‘fd’ was declared here
954 | int fd;
2012 Mar 28
0
[PATCH] tools/memshr: fix build errors caused by Werror
# HG changeset patch
# User Olaf Hering <olaf@aepfle.de>
# Date 1332942876 -7200
# Node ID d0fe664fca8a7e7db8b46b2f6c267acc88fa9c78
# Parent 4bd752a4cdf323c41c50f8cd6286f566d67adeae
tools/memshr: fix build errors caused by Werror
-O2 -Wall -Werror triggers these warnings:
cc1: warnings being treated as errors
interface.c: In function ''memshr_daemon_initialize'':
2014 Dec 15
2
index-parse.c:1256:6: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow]
No idea why this happens:
index-parse.y: In function 'yyparse':
index-parse.c:1256:6: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow]
if (yyss + yystacksize - 1 <= yyssp)
^
It only happens on one machine, and not on any others, even
though they have similar versions of gcc and bison installed.
Rich.
--
Richard
2011 Jul 15
0
Writing test for CacheHelper
Hi,
I''m working to patch actionpack/lib/action_view/helpers/
cache_helper.rb so that it doesn''t throw when ouput_buffer isn''t
ActionView::OutputBuffer but is still html_safe. In 3-0-stable the
function contains the following if:
if output_buffer.is_a?(ActionView::OutputBuffer)
safe_output_buffer = output_buffer.to_str
fragment =
2004 Aug 06
0
Speex wrapper functions for Visual Basic
Hello,
i want to use speex out of visual basic. So i have written a few wrapper functions in VC++ (v6) wich i can call from VB (v6). But i have problems with the encode and decode functions.
Encode wrapper Function:
I want to copy the value of an single array in VB to a float array in C which can be
encoded. And the output of the encoder have to be unsigned char because in VB its an
byte
2012 Mar 28
1
Re: tools/memshr: fix build errors caused by Werror
> # HG changeset patch
> # User Olaf Hering <olaf@aepfle.de>
> # Date 1332942876 -7200
> # Node ID d0fe664fca8a7e7db8b46b2f6c267acc88fa9c78
> # Parent 4bd752a4cdf323c41c50f8cd6286f566d67adeae
> tools/memshr: fix build errors caused by Werror
>
> -O2 -Wall -Werror triggers these warnings:
>
> cc1: warnings being treated as errors
> interface.c: In function
2016 Mar 23
0
[cfe-dev] New buildbot with -Werror
Could we change the buildbot config to treat
warnings-as-errors-that-continue in the build step? (so we get the benefit
of further execution tests, while still sending fail-mail, etc for the
warning?)
On Tue, Mar 22, 2016 at 5:00 PM, David Jones via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> Greetings,
>
> I would like to propose adding a buildbot which builds with -Werror. The
2016 Mar 23
0
[cfe-dev] New buildbot with -Werror
On Tue, Mar 22, 2016 at 5:06 PM Hal Finkel via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I think having -Werror bots is a good idea, at least when self hosting.
> Non-self-hosting -Werror (i.e. with older versions of Clang, or with GCC,
> etc.) might also be useful, but I'm less sure (since we can't fix those
> warnings if the warning is the problem).
On Tue, Mar
2016 Mar 23
1
[cfe-dev] New buildbot with -Werror
On Tue, Mar 22, 2016 at 5:03 PM, David Blaikie <dblaikie at gmail.com> wrote:
> Could we change the buildbot config to treat
> warnings-as-errors-that-continue in the build step? (so we get the benefit
> of further execution tests, while still sending fail-mail, etc for the
> warning?)
>
>
That sounds reasonable, although the buildbot implementation seems to be
pretty
2009 Jul 07
10
link_to, how do you combine url options and html_options?
I have a link-to that I wish to look somewhat like this:
link_to "link here", new_object_path,
:method => :post, :confirm => ''Press OK'', #url
options
:class => "css_class", :id => "css_id" #html
options
In any case I can either get the url_for options to work or the html
options to work, but