rhgndf / rx888_stream

command line utility to stream samples from RX888
GNU General Public License v3.0
8 stars 3 forks source link

Trivial errors under macos compiler (but not gcc) #4

Closed ka9q closed 1 year ago

ka9q commented 1 year ago

cc rx888_stream.c ezusb.c -o rx888_stream -ggdb3 -O3 -march=native -Wall -Werror -Wpedantic -fstack-protector-all pkg-config --cflags --libs libusb-1.0 In file included from rx888_stream.c:25: In file included from ./ezusb.h:32: ./rx888.h:137:7: error: no newline at end of file [-Werror,-Wnewline-eof]

endif

  ^

rx888_stream.c:129:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] void printhelp() { ^ void 2 errors generated. In file included from ezusb.c:31: In file included from ./ezusb.h:32: ./rx888.h:137:7: error: no newline at end of file [-Werror,-Wnewline-eof]

endif

  ^

1 error generated.

rhgndf commented 1 year ago

Fixed in 9a70fd1. Does this work in macos?

ka9q commented 1 year ago

It compiles on macos now. Do you mean does it execute? I haven't actually tried it yet. I will.