* compile warnings
2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
@ 2003-07-10 15:51 ` Rafał 'rmrmg' Roszak
2003-07-10 22:26 ` Diego Calleja García
0 siblings, 1 reply; 8+ messages in thread
From: Rafał 'rmrmg' Roszak @ 2003-07-10 15:51 UTC (permalink / raw)
To: linux-kernel
Hi
"Nie ma takiego pliku ani katalogu" mean " no such file or directory"
and "UWAGA: 1 z 13 wyliczonych sum kontrolnych się NIE zgadza" mean
"1of 13 checked checksums is NOT correct."
#v+
[root@slack:/usr/src/linux-2.4.22-pre4#] make dep > /dev/null
acsi.c:74:25: asm/atarihw.h: Nie ma takiego pliku ani katalogu
acsi.c:75:27: asm/atariints.h: Nie ma takiego pliku ani katalogu
acsi.c:76:28: asm/atari_acsi.h: Nie ma takiego pliku ani katalogu
acsi.c:77:29: asm/atari_stdma.h: Nie ma takiego pliku ani katalogu
acsi.c:78:29: asm/atari_stram.h: Nie ma takiego pliku ani katalogu
au1000_gpio.c:41:24: asm/au1000.h: Nie ma takiego pliku ani katalogu
au1000_gpio.c:42:29: asm/au1000_gpio.h: Nie ma takiego pliku ani
katalogu hp_psaux.c:41:26: asm/hardware.h: Nie ma takiego pliku ani
katalogu hp_psaux.c:43:21: asm/gsc.h: Nie ma takiego pliku ani katalogu
In file included from
hp_sdc.c:64:/usr/src/linux-2.4.22-pre4/include/linux/hp_sdc.h:45:26:
asm/hardware.h: Nie ma takiego pliku ani katalogu
/usr/src/linux-2.4.22-pre4/include/linux/hp_sdc.h:288:2: #error No
support for device registration on this arch yet.
hp_sdc.c:76:21:asm/gsc.h: Nie ma takiego pliku ani katalogu
In file included from i2c-algo-ite.c:50:
i2c-ite.h:36:31: asm/it8172/it8172.h: Nie ma takiego pliku ani katalogu
md5sum: UWAGA: 1 z 13 wyliczonych sum kontrolnych się NIE zgadza
rtc.c:27:25: asm/machdep.h: Nie ma takiego pliku ani katalogu
rtc.c:29:22: asm/time.h: Nie ma takiego pliku ani katalogu
via-pmu.c:36:22: asm/prom.h: Nie ma takiego pliku ani katalogu
via-pmu.c:37:25: asm/machdep.h: Nie ma takiego pliku ani katalogu
via-pmu.c:41:26: asm/sections.h: Nie ma takiego pliku ani katalogu
via-pmu.c:44:30: asm/pmac_feature.h: Nie ma takiego pliku ani katalogu
via-pmu.c:47:26: asm/sections.h: Nie ma takiego pliku ani katalogu
via-pmu.c:48:26: asm/cputable.h: Nie ma takiego pliku ani katalogu
via-pmu.c:49:22: asm/time.h: Nie ma takiego pliku ani katalogu
i2o_pci.c:393:1: warning: no newline at end of file
In file included from nubus_syms.c:8:
/usr/src/linux-2.4.22-pre4/include/linux/nubus.h:16:23: asm/nubus.h:
Nie ma takiego pliku ani katalogu
audio.c:41:25: asm/audioio.h: Nie ma takiego pliku ani katalogu
amd7930.c:95:26: asm/openprom.h: Nie ma takiego pliku ani katalogu
amd7930.c:96:23: asm/oplib.h: Nie ma takiego pliku ani katalogu
amd7930.c:100:22: asm/sbus.h: Nie ma takiego pliku ani katalogu
amd7930.c:102:25: asm/audioio.h: Nie ma takiego pliku ani katalogu
dbri.c:54:26: asm/openprom.h: Nie ma takiego pliku ani katalogu
dbri.c:55:23: asm/oplib.h: Nie ma takiego pliku ani katalogu
dbri.c:59:22: asm/sbus.h: Nie ma takiego pliku ani katalogu
dbri.c:62:25: asm/audioio.h: Nie ma takiego pliku ani katalogu
su.c:78:23: asm/oplib.h: Nie ma takiego pliku ani katalogu
su.c:80:22: asm/ebus.h: Nie ma takiego pliku ani katalogu
bbc_i2c.c: 16:23: asm/oplib.h: Nie ma takiego pliku ani katalogu
bbc_i2c.c: 17:22: asm/ebus.h: Nie ma takiego pliku ani katalogu
bbc_i2c.c: 18:26: asm/spitfire.h: Nie ma takiego pliku ani katalogu
bbc_i2c.c: 19:21: asm/bbc.h: Nie ma takiego pliku ani katalogu
In file included from bbc_i2c.c:21:
bbc_i2c.h:5:22: asm/ebus.h: Nie ma takiego pliku ani katalogu
In file included from 53c700.c:142:
53c700.h:40:2: #error "Config.in must define either
CONFIG_53C700_IO_MAPPED or CONFIG_53C700_MEM_MAPPED to use this scsi
core." 53c700.c:163:22: 53c700_d.h: Nie ma takiego pliku ani katalogu
fas216.c:52:23: asm/ecard.h: Nie ma takiego pliku ani katalogu
newport.c:11:21: asm/gfx.h: Nie ma takiego pliku ani katalogu
newport.c:12:21: asm/ng1.h: Nie ma takiego pliku ani katalogu
rrm.c:15:21: asm/rrm.h: Nie ma takiego pliku ani katalogu
shmiq.c:57:23: asm/shmiq.h: Nie ma takiego pliku ani katalogu
shmiq.c:58:21: asm/gfx.h: Nie ma takiego pliku ani katalogu
usema.c:38:25: asm/usioctl.h: Nie ma takiego pliku ani katalogu
tc.c:19:27: asm/addrspace.h: Nie ma takiego pliku ani katalogu
tc.c:21:30: asm/dec/machtype.h: Nie ma takiego pliku ani katalogu
tc.c:22:28: asm/dec/tcinfo.h: Nie ma takiego pliku ani katalogu
tc.c:23:30: asm/dec/tcmodule.h: Nie ma takiego pliku ani katalogu
tc.c:24:32: asm/dec/interrupts.h: Nie ma takiego pliku ani katalogu
tc.c:25:25: asm/paccess.h: Nie ma takiego pliku ani katalogu
sa1100fb.c:164:27: linux/cpufreq.h: Nie ma takiego pliku ani katalogu
sa1100fb.c:166:26: asm/hardware.h: Nie ma takiego pliku ani katalogu
sa1100fb.c:169:28: asm/mach-types.h: Nie ma takiego pliku ani katalogu
sa1100fb.c:171:30: asm/arch/assabet.h: Nie ma takiego pliku ani katalogu
sticore.c:27:26: asm/hardware.h: Nie ma takiego pliku ani katalogu
stifb.c:76:62: asm/grfioctl.h: Nie ma takiego pliku ani katalogu
In file included from zorro.c:17:
/usr/src/linux-2.4.22-pre4/include/linux/zorro.h:158:23: asm/zorro.h:
Nie ma takiego pliku ani katalogu
zorro.c:20:25: asm/amigahw.h: Nie ma takiego pliku ani katalogu
crc32.c:34:24: crc32table.h: Nie ma takiego pliku ani katalogu
#v-
[root@slack:/usr/src/linux-2.4.22-pre4#] make bzImage > /dev/null
md5sum: UWAGA: 1 z 13 wyliczonych sum kontrolnych się NIE zgadza
md5sum: UWAGA: 1 z 13 wyliczonych sum kontrolnych się NIE zgadza
Is it normal?
--
registered Linux user 261525 | Wszystko jest trudne przy
gg 2311504________rmrmg@wp.pl| odpowiednim stopniu
RMRMG signature version 0.0.2| abstrakcji
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: compile warnings
2003-07-10 15:51 ` compile warnings Rafał 'rmrmg' Roszak
@ 2003-07-10 22:26 ` Diego Calleja García
2003-07-11 0:18 ` Rafał 'rmrmg' Roszak
0 siblings, 1 reply; 8+ messages in thread
From: Diego Calleja García @ 2003-07-10 22:26 UTC (permalink / raw)
To: Rafa³ 'rmrmg' Roszak; +Cc: linux-kernel
El Thu, 10 Jul 2003 17:51:35 +0200 Rafa³ 'rmrmg' Roszak <rmrmg@wp.pl> escribió:
> Hi
>
> "Nie ma takiego pliku ani katalogu" mean " no such file or directory"
> and "UWAGA: 1 z 13 wyliczonych sum kontrolnych siê NIE zgadza" mean
> "1of 13 checked checksums is NOT correct."
could you recompile with "LC_ALL='C' make whatever" ?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: compile warnings
2003-07-10 22:26 ` Diego Calleja García
@ 2003-07-11 0:18 ` Rafał 'rmrmg' Roszak
0 siblings, 0 replies; 8+ messages in thread
From: Rafał 'rmrmg' Roszak @ 2003-07-11 0:18 UTC (permalink / raw)
To: Diego Calleja García; +Cc: linux-kernel
begin Diego Calleja García <diegocg@teleline.es> quote:
>could you recompile with "LC_ALL='C' make whatever" ?
#v+
[root@slack:/usr/src/linux-2.4.22-pre4#]LC_ALL='C' make dep > /dev/null
acsi.c:74:25: asm/atarihw.h: No such file or directory
acsi.c:75:27: asm/atariints.h: No such file or directory
acsi.c:76:28: asm/atari_acsi.h: No such file or directory
acsi.c:77:29: asm/atari_stdma.h: No such file or directory
acsi.c:78:29: asm/atari_stram.h: No such file or directory
au1000_gpio.c:41:24: asm/au1000.h: No such file or directory
au1000_gpio.c:42:29: asm/au1000_gpio.h: No such file or directory
hp_psaux.c:41:26: asm/hardware.h: No such file or directory
hp_psaux.c:43:21: asm/gsc.h: No such file or directory
In file included from hp_sdc.c:64:
/usr/src/linux-2.4.21/include/linux/hp_sdc.h:45:26: asm/hardware.h: No
such file or
directory/usr/src/linux-2.4.21/include/linux/hp_sdc.h:288:2: #error No
support for device registration on this arch yet. hp_sdc.c:76:21:
asm/gsc.h: No such file or directory In file included from
i2c-algo-ite.c:50: i2c-ite.h:36:31: asm/it8172/it8172.h: No such file or
directory
md5sum: WARNING: 1 of 13 computed checksums did NOT match
rtc.c:27:25: asm/machdep.h: No such file or directory
rtc.c:29:22: asm/time.h: No such file or directory
via-pmu.c:36:22: asm/prom.h: No such file or directory
via-pmu.c:37:25: asm/machdep.h: No such file or directory
via-pmu.c:41:26: asm/sections.h: No such file or directory
via-pmu.c:44:30: asm/pmac_feature.h: No such file or directory
via-pmu.c:47:26: asm/sections.h: No such file or directory
via-pmu.c:48:26: asm/cputable.h: No such file or directory
via-pmu.c:49:22: asm/time.h: No such file or directory
i2o_pci.c:393:1: warning: no newline at end of file
In file included from nubus_syms.c:8:
/usr/src/linux-2.4.21/include/linux/nubus.h:16:23: asm/nubus.h: No such
file or directory audio.c:41:25: asm/audioio.h: No such file or
directory amd7930.c:95:26: asm/openprom.h: No such file or directory
amd7930.c:96:23: asm/oplib.h: No such file or directory
amd7930.c:100:22: asm/sbus.h: No such file or directory
amd7930.c:102:25: asm/audioio.h: No such file or directory
dbri.c:54:26: asm/openprom.h: No such file or directory
dbri.c:55:23: asm/oplib.h: No such file or directory
dbri.c:59:22: asm/sbus.h: No such file or directory
dbri.c:62:25: asm/audioio.h: No such file or directory
su.c:78:23: asm/oplib.h: No such file or directory
su.c:80:22: asm/ebus.h: No such file or directory
bbc_i2c.c:16:23: asm/oplib.h: No such file or directory
bbc_i2c.c:17:22: asm/ebus.h: No such file or directory
bbc_i2c.c:18:26: asm/spitfire.h: No such file or directory
bbc_i2c.c:19:21: asm/bbc.h: No such file or directory
In file included from bbc_i2c.c:21:
bbc_i2c.h:5:22: asm/ebus.h: No such file or directory
In file included from 53c700.c:142:
53c700.h:40:2: #error "Config.in must define either
CONFIG_53C700_IO_MAPPED or CONFIG_53C700_MEM_MAPPED to use this scsi
core."
53c700.c:163:22: 53c700_d.h: No such file or directory
fas216.c:52:23: asm/ecard.h: No such file or directory
newport.c:11:21: asm/gfx.h: No such file or directory
newport.c:12:21: asm/ng1.h: No such file or directory
rrm.c:15:21: asm/rrm.h: No such file or directory
shmiq.c:57:23: asm/shmiq.h: No such file or directory
shmiq.c:58:21: asm/gfx.h: No such file or directory
usema.c:38:25: asm/usioctl.h: No such file or directory
tc.c:19:27: asm/addrspace.h: No such file or directory
tc.c:21:30: asm/dec/machtype.h: No such file or directory
tc.c:22:28: asm/dec/tcinfo.h: No such file or directory
tc.c:23:30: asm/dec/tcmodule.h: No such file or directory
tc.c:24:32: asm/dec/interrupts.h: No such file or directory
tc.c:25:25: asm/paccess.h: No such file or directory
sa1100fb.c:164:27: linux/cpufreq.h: No such file or directory
sa1100fb.c:166:26: asm/hardware.h: No such file or directory
sa1100fb.c:169:28: asm/mach-types.h: No such file or directory
sa1100fb.c:171:30: asm/arch/assabet.h: No such file or directory
sticore.c:27:26: asm/hardware.h: No such file or directory
stifb.c:76:62: asm/grfioctl.h: No such file or directory
In file included from zorro.c:17:
/usr/src/linux-2.4.21/include/linux/zorro.h:158:23: asm/zorro.h:
No such file or directory
zorro.c:20:25: asm/amigahw.h:
No such file or directory
crc32.c:34:24: crc32table.h: No such file or directory
#v-
[root@slack:/usr/src/linux-2.4.22-pre4#] LC_ALL='C' make bzImage >
/dev/null
md5sum: WARNING: 1 of 13 computed checksums did NOT match
md5sum: WARNING: 1 of 13 computed checksums did NOT match
--
registered Linux user 261525 | Wszystko jest trudne przy
gg 2311504________rmrmg@wp.pl| odpowiednim stopniu
RMRMG signature version 0.0.2| abstrakcji
^ permalink raw reply [flat|nested] 8+ messages in thread
* Compile warnings
@ 2008-08-15 10:34 Stoyan Gaydarov
0 siblings, 0 replies; 8+ messages in thread
From: Stoyan Gaydarov @ 2008-08-15 10:34 UTC (permalink / raw)
To: linux-kernel
I am not that great at C and I don't quite have any time right now but
I figured someone else can fix this if I can't:
LD drivers/isdn/hardware/avm/built-in.o
CC drivers/isdn/hardware/eicon/divasi.o
CC drivers/isdn/hardware/eicon/idifunc.o
CC drivers/isdn/hardware/eicon/um_idi.o
CC drivers/isdn/hardware/eicon/dqueue.o
CC drivers/isdn/hardware/eicon/capimain.o
CC drivers/isdn/hardware/eicon/capifunc.o
CC drivers/isdn/hardware/eicon/message.o
drivers/isdn/hardware/eicon/message.c: In function 'connect_b3_req':
drivers/isdn/hardware/eicon/message.c:2685: warning: cast from pointer
to integer of different size
drivers/isdn/hardware/eicon/message.c:2747: warning: cast from pointer
to integer of different size
drivers/isdn/hardware/eicon/message.c:2781: warning: cast from pointer
to integer of different size
drivers/isdn/hardware/eicon/message.c: In function 'connect_b3_res':
drivers/isdn/hardware/eicon/message.c:2884: warning: cast from pointer
to integer of different size
drivers/isdn/hardware/eicon/message.c: In function 'manufacturer_res':
drivers/isdn/hardware/eicon/message.c:3783: warning: cast from pointer
to integer of different size
drivers/isdn/hardware/eicon/message.c: In function 'nl_ind':
drivers/isdn/hardware/eicon/message.c:6823: warning: cast from pointer
to integer of different size
drivers/isdn/hardware/eicon/message.c: In function 'add_b23':
drivers/isdn/hardware/eicon/message.c:8451: warning: cast from pointer
to integer of different size
drivers/isdn/hardware/eicon/message.c:8503: warning: cast from pointer
to integer of different size
CC drivers/isdn/hardware/eicon/capidtmf.o
CC drivers/isdn/hardware/eicon/diva_didd.o
CC drivers/isdn/hardware/eicon/diddfunc.o
This was while compiling -rc3 with allyesconfig
--
-Stoyan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Compile warnings
@ 2011-11-14 14:55 Frans Klaver
2011-11-14 16:58 ` Ævar Arnfjörð Bjarmason
2011-11-14 20:36 ` Junio C Hamano
0 siblings, 2 replies; 8+ messages in thread
From: Frans Klaver @ 2011-11-14 14:55 UTC (permalink / raw)
To: git@vger.kernel.org
Hi,
Every now and then I see an 'unused result' warning come by during
building. What is the general attitude towards these warnings? Remove them
(by properly checking)? Or leave them be as a kind of documentation -- we
know we're ignoring the info, but it's good to be reminded?
Thanks,
Frans
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Compile warnings
2011-11-14 14:55 Compile warnings Frans Klaver
@ 2011-11-14 16:58 ` Ævar Arnfjörð Bjarmason
2011-11-14 21:55 ` Frans Klaver
2011-11-14 20:36 ` Junio C Hamano
1 sibling, 1 reply; 8+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2011-11-14 16:58 UTC (permalink / raw)
To: Frans Klaver; +Cc: git@vger.kernel.org
On Mon, Nov 14, 2011 at 15:55, Frans Klaver <fransklaver@gmail.com> wrote:
> Every now and then I see an 'unused result' warning come by during building.
> What is the general attitude towards these warnings? Remove them (by
> properly checking)? Or leave them be as a kind of documentation -- we know
> we're ignoring the info, but it's good to be reminded?
Under what OS / version and compiler / version and what's the warning?
Paste the full warning(s) you get verbatim.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Compile warnings
2011-11-14 14:55 Compile warnings Frans Klaver
2011-11-14 16:58 ` Ævar Arnfjörð Bjarmason
@ 2011-11-14 20:36 ` Junio C Hamano
1 sibling, 0 replies; 8+ messages in thread
From: Junio C Hamano @ 2011-11-14 20:36 UTC (permalink / raw)
To: Frans Klaver; +Cc: git@vger.kernel.org
"Frans Klaver" <fransklaver@gmail.com> writes:
> Every now and then I see an 'unused result' warning come by during
> building. What is the general attitude towards these warnings? Remove
> them (by properly checking)? Or leave them be as a kind of
> documentation -- we know we're ignoring the info, but it's good to be
> reminded?
A callsite of a function whose return value is better checked should be
checked (e.g. not checking return from close(2) or write(2) in a non-error
codepath), but there is no strong mechanical "General attitude".
Sprinkling (void) that casts the return values all over the place makes
our code illegible, and we do not prefer it as a solution. A function
that returns a value that is useful for some callers but can be safely
ignored by others is sometimes an indication of a poor API, and for our
own code, we tend to prefer designing the API to pass optional pointer
to return value from callers that do want to use the return value (and
others that do not care about the return value pass NULL).
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Compile warnings
2011-11-14 16:58 ` Ævar Arnfjörð Bjarmason
@ 2011-11-14 21:55 ` Frans Klaver
0 siblings, 0 replies; 8+ messages in thread
From: Frans Klaver @ 2011-11-14 21:55 UTC (permalink / raw)
To: Ævar Arnfjörð Bjarmason
Cc: git@vger.kernel.org, Junio C Hamano
On Mon, 14 Nov 2011 17:58:20 +0100, Ævar Arnfjörð Bjarmason
<avarab@gmail.com> wrote:
> On Mon, Nov 14, 2011 at 15:55, Frans Klaver <fransklaver@gmail.com>
> wrote:
>> Every now and then I see an 'unused result' warning come by during
>> building.
>> What is the general attitude towards these warnings? Remove them (by
>> properly checking)? Or leave them be as a kind of documentation -- we
>> know
>> we're ignoring the info, but it's good to be reminded?
>
> Under what OS / version and compiler / version and what's the warning?
> Paste the full warning(s) you get verbatim.
This question was triggered by
warning: ignoring return value of ‘fwrite’, declared with attribute
warn_unused_result
appearing in diff.c, graph.c, grep.c and several others. I'm using gentoo
linux, gcc 4.5.3.
So the specific question would be, do these fwrites need to be checked?
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-11-14 21:55 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-14 14:55 Compile warnings Frans Klaver
2011-11-14 16:58 ` Ævar Arnfjörð Bjarmason
2011-11-14 21:55 ` Frans Klaver
2011-11-14 20:36 ` Junio C Hamano
-- strict thread matches above, loose matches on Subject: below --
2008-08-15 10:34 Stoyan Gaydarov
2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
2003-07-10 15:51 ` compile warnings Rafał 'rmrmg' Roszak
2003-07-10 22:26 ` Diego Calleja García
2003-07-11 0:18 ` Rafał 'rmrmg' Roszak
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.