#7144 closed defect (wontfix)
GCC warning: multi-character character constant
Reported by: | SF/superzanac | Owned by: | sev- |
---|---|---|---|
Priority: | normal | Component: | --Other-- |
Version: | Keywords: | ||
Cc: | Game: |
Description
Compiler warning - warning: multi-character character constant [-Wmultichar] - for this enum:
:::c // Some "common" commands sent to handleCommand() enum { kCloseCmd = 'clos', kOKCmd = 'ok ' };
Maybe use numeric const instead? Code smells bad, compiler - GCC 6.1.0
Ticket imported from: bugs/7144.
Change History (3)
comment:1 by , 8 years ago
Owner: | set to |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:2 by , 8 years ago
comment:3 by , 6 years ago
Component: | → --Other-- |
---|
Note:
See TracTickets
for help on using tickets.
We did it intentionally for readability. The actual constants don't really matter.