public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.14-rc2 compilation warnings (gcc-4.1-20050917)
@ 2005-09-20 23:29 Michal Piotrowski
  0 siblings, 0 replies; only message in thread
From: Michal Piotrowski @ 2005-09-20 23:29 UTC (permalink / raw)
  To: LKML

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-20 23:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-20 23:29 2.6.14-rc2 compilation warnings (gcc-4.1-20050917) Michal Piotrowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox