bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A job for a lazy afternoon: oskit-mach and -Wall


From: Marcus Brinkmann
Subject: A job for a lazy afternoon: oskit-mach and -Wall
Date: Wed, 27 Feb 2002 21:11:01 -0500
User-agent: Mutt/1.3.25i

Hi,

I just wanted to do the last polishing of my I/O permission bitmap changes
in oskit-mach, when I noticed that the kernel is not compiled with -Wall.
So, I tried to do so.  Eek!  Unterminated comments in the IPC code, and
implicit declarations of all sort of functions (from printf to splx stuff)
absolutely everywhere, and in particular in the oskit glue stuff.

That really needs to be cleaned up, by going carefully through the files
and checking what needs to be included where.  It seems to me that a lot
of cleanup could be done, too.  For example, the ipc code uses printf, and
most files define printf to kdbprintf at the start.  I am not sure this is
the right thing to do.

Anyway, it would be very useful if one could spot new warnings, but the
status quo is that -Wall is almost useless because the tree is hidden behind
the wood.

That should be a good beginners project for someone who wants to get intimate
with the oskit-mach source code.  Some things might not be easy to decide,
though.

Thanks,
Marcus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]