Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#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 sev-, 8 years ago

Owner: set to sev-
Resolution: wontfix
Status: newclosed

comment:2 by sev-, 8 years ago

We did it intentionally for readability. The actual constants don't really matter.

comment:3 by digitall, 6 years ago

Component: --Other--
Note: See TracTickets for help on using tickets.