Juergen Vigna <[EMAIL PROTECTED]> writes:

| support/lstrings.h:68: warning: ANSI C++ forbids braced-groups within expressions
| 
| And in some other functions too. Should this be fixed?

Actually all of these are the same error... tolower is implemented as
a macro that calls __tobody which is also a macro with braces
enclosing it.

I have sent a msg to the libc++ guys but have not seen a response yet
(i.e. where should it be fixed? in cctype or in ctype.h... I expect
ctype.h) This is a library error.

I changed my own libc header to have __tobody as an inlined function
if compiling with c++ so I plain forgot about the warning messages.
The nice thing however is that apart from the tolower problem we
compile cleanly with -ansi -pedantic -Wall.

I am a bit reluctant to remove the -pedantic especially since it is
only used for devel versions. (we should probably change the criteria
for devel version a bit...)

        Lgb

Reply via email to