Hi Duy, On Mon, 25 Dec 2017 at 07:48 Duy Nguyen <pclouds@xxxxxxxxx> wrote: > > On Mon, Dec 4, 2017 at 5:17 AM, Liam Beguin <liambeguin@xxxxxxxxx> wrote: > > +static const char command_to_char(const enum todo_command command) > > +{ > > + if (command < TODO_COMMENT && todo_command_info[command].c) > > + return todo_command_info[command].c; > > + return comment_line_char; > > +} > > CC sequencer.o > sequencer.c:798:19: error: type qualifiers ignored on function return > type [-Werror=ignored-qualifiers] > static const char command_to_char(const enum todo_command command) > ^ > > Maybe drop the first const. Sorry, that's another copy-edit error I made that slipped through... I'm curious, how did you build to get this error to show? I tried with the DEVELOPER 'flag' but nothing showed and -Wextra gave way too much messages... Did you just add -Wignored-qualifiers to CFLAGS? > -- > Duy Thanks, Liam