Suppress warnings about conversions between char * and unsigned char *.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 18 Sep 2010 04:03:57 +0000 (21:03 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 18 Sep 2010 13:51:37 +0000 (06:51 -0700)
commitd775f576e4ffc0973c5f183b57b2baa089f555dc
treeb5795b148e3c7433f4d330c48da1a470f4c428c3
parent5f19b467a68c1f2b4973c5eb398e5e1b802ef394
Suppress warnings about conversions between char * and unsigned char *.

For some time PSPP has used "unsigned char *" for string data and "char *"
for most other strings.  Transforming between these properly generally
involves recoding, and there are some places where this is possibly
missing.  The usual way to "fix" these warnings would be to insert casts,
but this would not fix the problem, just suppress the warnings, and it is
difficult to "grep" for casts so they would be hard to find for fixing
later.

This commit doesn't actually fix the problems, but it does suppress the
warnings while making them easy to find later: just grep for CHAR_CAST_BUG.
src/language/expressions/operations.def
src/language/lexer/value-parser.c
src/language/xforms/compute.c
src/language/xforms/recode.c
src/libpspp/cast.h
src/ui/syntax-gen.c