File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# https://github.com/danielpinto8zz6/c-cpp-project-generator#readme
22
33CC = gcc
4- CFLAGS := -Wall -Wextra -g -Werror=missing-declarations -Werror=redundant-decls
4+ CFLAGS := -std=c11 - Wall -Wextra -g -Werror=missing-declarations -Werror=redundant-decls -D_DEFAULT_SOURCE -pedantic-errors
55LFLAGS = -lncurses
66# OUTPUT := output
77SRC := src
Original file line number Diff line number Diff line change 3030static void process_prompt (operation * * , char * );
3131static void get_input (char * );
3232static void apply_operations (numberstack * , operation * * );
33- static void exit_pcalc_success ();
33+ static void exit_pcalc_success (int );
3434
3535
3636
@@ -135,7 +135,7 @@ int main(int argc, char* argv[])
135135 }
136136
137137
138- init_gui (& displaywin , & inputwin );
138+ init_gui ();
139139
140140 // Set handler for CTRL+C to clean exit
141141 signal (SIGINT , exit_pcalc_success );
@@ -633,7 +633,7 @@ void exit_pcalc(int code) {
633633 exit (code );
634634}
635635
636- static void exit_pcalc_success () {
636+ static void exit_pcalc_success (int d __attribute__(( unused )) ) {
637637
638638 exit_pcalc (0 );
639639}
You can’t perform that action at this time.
0 commit comments