> | Shall I
> | 1 do nothing;
> | 2 sputc(char(c));
> | 3 sputc(traits::to_char_type(c));
>
> Do nothing...

Ok. Nothing done! At least not here...
Attached is a small patch that cleans up most of support. Same old stuff. 
I've been careful when making explicit casts and have used the correct ttype 
where appropriate.

Angus

Below are the remaining warning messages in support.
Note that count returns distance_type. Shall I cast this off to unsigned int?


cxx: Info: DebugStream.C, line 94: #1136-D conversion to integral type of
          smaller size could lose data
                sb2->sputc(c);
---------------------------^
cxx: Info: DebugStream.C, line 95: #1136-D conversion to integral type of
          smaller size could lose data
                return sb1->sputc(c);
----------------------------------^
cxx: Info: DebugStream.C, line 141: #1136-D conversion to integral
          type of smaller size could lose data
                return sb->sputc(c);
---------------------------------^
cxx: Info: FileInfo.C, line 203: #1136-D conversion to integral type of
          smaller size could lose data
        flagRWX((buf.st_mode & 0700) << 0, &szString[1]);
----------------^
cxx: Info: FileInfo.C, line 204: #1136-D conversion to integral type of
          smaller size could lose data
        flagRWX((buf.st_mode & 0070) << 3, &szString[4]);
----------------^
cxx: Info: FileInfo.C, line 205: #1136-D conversion to integral type of
          smaller size could lose data
        flagRWX((buf.st_mode & 0007) << 6, &szString[7]);
----------------^
cxx: Info: lstrings.C, line 359: #1136-D conversion to integral type of
          smaller size could lose data
        return count(a.begin(), a.end(), c);
---------------^

patch_support.bz2

Reply via email to