Skip to content

Fixed "widget-control.c:251:22: error: implicit declaration of function 'finish'#5

Open
ahysing wants to merge 1 commit into
borgestrand:masterfrom
ahysing:pr/make-wiget-control-fails-on-gcc-16
Open

Fixed "widget-control.c:251:22: error: implicit declaration of function 'finish'#5
ahysing wants to merge 1 commit into
borgestrand:masterfrom
ahysing:pr/make-wiget-control-fails-on-gcc-16

Conversation

@ahysing

@ahysing ahysing commented Jun 22, 2026

Copy link
Copy Markdown

Before

Link widget.elf
make[1]: Leaving directory `C:/Users/AHysing/code/sdr-widget/Release'
gcc -o widget-control widget-control.c -lusb-1.0
widget-control.c: In function 'setup':
widget-control.c:251:22: error: implicit declaration of function 'finish' [-Wimplicit-function-declaration]
  251 |                 exit(finish(1));
      |                      ^~~~~~
make: *** [widget-control] Error 1

After

make
./make-widget
make[1]: Entering directory `C:/Users/AHysing/code/sdr-widget/Release'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `C:/Users/AHysing/code/sdr-widget/Release'
gcc -o widget-control widget-control.c -lusb-1.0

Closes #4

…on 'finish' [-Wimplicit-function-declaration]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make widget-control.c fails on gcc 16.

1 participant