[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling with -Wwrite-strings
From: |
Dan Nicolaescu |
Subject: |
compiling with -Wwrite-strings |
Date: |
Mon, 09 Aug 2010 16:15:41 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
It would be nice if using -Wwrite-strings would produce fewer warnings.
A lot of them have been removed in the past few days, but there's still some
left
(lib-src has a lot)
Most are easy to fix: just use "const char*" instead of "char*" for
function arguments, variables, struct fields, etc.
Help doing this would be appreciated.
- compiling with -Wwrite-strings,
Dan Nicolaescu <=