Skip navigation.
 
mlRe: defined but not used error
FROM : Kyle Sluder
DATE : Mon May 26 20:44:58 2008

On Mon, May 26, 2008 at 2:17 PM, Jens Alfke <<email_removed>> wrote:
> I don't know why AppKit doesn't use const. Without it, the symbol is just an
> ordinary global variable and could be accidentally reassigned another value,
> leading to weird and hard-to-debug errors.


I always wondered the same thing, and whether consequently it was a
bad idea to define my constants as, well, constant.  Any insight?

--Kyle Sluder

Related mailsAuthorDate
mldefined but not used error John Love May 26, 18:09
mlRe: defined but not used error Scott Ribe May 26, 18:22
mlRe: defined but not used error Jens Alfke May 26, 18:22
mlRe: defined but not used error Sebastian Nowicki May 26, 20:09
mlRe: defined but not used error Jens Alfke May 26, 20:17
mlRe: defined but not used error Kyle Sluder May 26, 20:44
mlRe: defined but not used error Scott Ribe May 26, 23:10
mlRe: defined but not used error Scott Ribe May 27, 00:40