[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [warnings 3/7] Suppress warnings about conversions between char * an
From: |
Ben Pfaff |
Subject: |
Re: [warnings 3/7] Suppress warnings about conversions between char * and unsigned char *. |
Date: |
Sat, 18 Sep 2010 10:49:09 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
John Darrington <address@hidden> writes:
> On Fri, Sep 17, 2010 at 09:36:28PM -0700, Ben Pfaff wrote:
>
> + Use CHAR_CAST if you are convinced that this is actually a correct cast.
> */
>
> Perhaps CHAR_CAST should have a third argument which is a literal string
> which the
> programmer should provide justifying its use?
I think that a comment explaining its use, at least, is a good
idea.
--
Ben Pfaff
http://benpfaff.org
- Re: [warnings 6/7] linreg: Delete unused static function., (continued)
- [warnings 7/7] GLM: Fix compiler warnings., Ben Pfaff, 2010/09/18
- [warnings 1/7] build-aux: Add generated files to .gitignore., Ben Pfaff, 2010/09/18
- [warnings 3/7] Suppress warnings about conversions between char * and unsigned char *., Ben Pfaff, 2010/09/18
- [warnings 5/7] Fix some constness problems that led to warnings., Ben Pfaff, 2010/09/18
- [warnings 2/7] recode: Fix a warning in recode_trns_proc()., Ben Pfaff, 2010/09/18
- [warnings 4/7] ONEWAY: Fix declaration-after-statement warning., Ben Pfaff, 2010/09/18