[Cdash] [cdash, ctest]compiler warnings are transformed into something hard to read

Maik Beckmann beckmann.maik at googlemail.com
Tue Nov 10 19:12:53 UTC 2009


I guess something in this chain
   gcc->ctest->cdash
goes wrong.  See the following example:

While this is what gcc outputs ( where  LC_MESSAGES=C):
{{{
warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘size_t’
}}}

ctest makes this of it:
{{{
warning: format
<-30><-128><-104>%d<-30><-128><-103>
expects type <-30><-128><-104>int<-30><-128><-103>,
but argument 5 has type
<-30><-128><-104>size_t<-30><-128><-103>
}}}
which is no problem, since the XML file is not meant to be read by human beings.

But it is this what cdash displays:
warning: format <-30><-128><-104>%d<-30><-128><-103> expects type
<-30><-128><-104>int<-30><-128><-103>, but argument 5 has type
<-30><-128><-104>size_t<-30><-128><-103>

This can't be desired, is it?

Best,
 -- Maik



More information about the CDash mailing list