Re: Announce: ksymoops 2.4.3 is available

From: Keith Owens (kaos@ocs.com.au)
Date: Fri Sep 21 2001 - 20:39:12 EST


On Fri, 21 Sep 2001 12:43:21 -0400 (EDT),
Stephen Torri <storri@ameritech.net> wrote:
>ksymoops.c:114:1: directives may not be used inside a macro argument

Some versions of glibc define prinf as a macro instead of a function.
That is quite legal but it stops you using #ifdef inside printf calls.
I will change ksymoops to work around that.

>symbol.c:220:58: warning: trigraph ??> ignored
>symbol.c:221:44: warning: trigraph ??> ignored
>symbol.c:225:49: warning: trigraph ??> ignored
>symbol.c:226:35: warning: trigraph ??> ignored

I believe that is a gcc bug. The text is
            snprintf(map, size,
                     options->hex ? "<END_OF_CODE+%llx/????>"
                    : "<END_OF_CODE+%lld/????>",
                offset);
gcc is complaining about trigraphs but they are inside a string
constant, not in code. IMHO gcc should not flag trigraphs in string
constants, report it as a gcc bug.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:46 EST