From: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: 2.6.14-rc2 compilation warnings (gcc-4.1-20050917)
Date: Wed, 21 Sep 2005 01:29:48 +0200 [thread overview]
Message-ID: <6bffcb0e05092016291f14c6e2@mail.gmail.com> (raw)
Hi,
It maybe a bit off topic, but I just tried to compile latest
2.6.14-rc2 with new gcc-4.1 (stage 3:
http://gcc.gnu.org/develop.html#stage3). I have noticed some warnings
(in example):
usr/initramfs_data.S: Assembler messages:
usr/initramfs_data.S:1: Warning: line numbers must be positive; line
number 0 rejected
This maybe a gcc issue.
---
kernel/sched.c: In function 'yield':
kernel/sched.c:4069: warning: value computed is not used
void __sched yield(void)
{
set_current_state(TASK_RUNNING);
sys_sched_yield();
}
I found this while googling: http://gcc.gnu.org/ml/gcc/1998-04/msg00810.html
What's wrong? TASK_RUNNING is definition from include/linux/sched.h
Full compilation log:
http://stud.wsi.edu.pl/~piotrowskim/research/linux/gcc-4.1-20050917/compilation_log.txt
Regards,
Michal Piotrowski
reply other threads:[~2005-09-20 23:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6bffcb0e05092016291f14c6e2@mail.gmail.com \
--to=michal.k.k.piotrowski@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox