This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

warnings when using cctype and tolower.



I am not really sure if this is somethaing that should be fixed up in
cctype or in ctype.h.

I am on a glibc 2.1.1 system running Redhat.

When using tolower and compiling with -ansi -pedantic -Wall I get a
lot of warnings about "brace groups" not beeing allowed in
expressions.

A scan of ctype.h found that __tobody was to blame, and I rewrote this
for __cplusplus to be a inline function instead.

So Q is, where to do the real fixup?

	Lgb

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]