lkml.org 
[lkml]   [2001]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Fix compile warnings in 2.4.0
From
Rich Baum wrote:-

> This patch should fix the rest of the warnings about #endif
> statements when using the 20001225 gcc snapshot. Thanks to
> Keith Owens for providing a script to automate this process. It got
> the job done sooner and found warnings to fix for non x86 platforms.

Unfortunately, the script also gets stuff it shouldn't, and in some
cases adds comments within the comments, probably causing stuff to
stop compiling altogether. Some examples below.

Neil.

> +# endif /* # */

[....]

> * appropriate for an 030 or an 040. This is useful for debugging purposes
> - * and as such is enclosed in #ifdef MMU_PRINT/#endif clauses.
> + * and as such is enclosed in #ifdef MMU_PRINT/#endif /* clauses. */
> *

[...]

> * is specifically for debugging and can be very useful. It is surrounded by
> - * #ifdef CONSOLE/#endif clauses so it doesn't have to ship in known-good
> + * #ifdef CONSOLE/#endif /* clauses so it doesn't have to ship in known-good */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.040 / U:36.584 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site