Berk D. Demir
77410adbee
Fix compiler warnings: enum-conversion
...
sp_* functions from libserialport return `enum sp_return`, not
`blisp_return_t`.
2025-07-17 14:59:09 -07:00
Berk D. Demir
847be6c690
Fix compiler warnings: enum-int-mismatch
...
blisp.h and common.h declares signatures of functions that return
blisp_return_t as int32_t.
2025-07-17 14:59:09 -07:00
Berk D. Demir
77df78c1af
Fix compiler warnings: Unused function params
...
We could use C23's `[[maybe_unused]]` but MSVC doesn't support it.
So we void cast them with an accompanying "unused" comment.
2025-07-17 14:59:09 -07:00
Berk D. Demir
52e736eaa2
Fix compiler warnings: Unused functions
...
Move function definitions in include/blisp_util.h to lib/blisp_util.c.
Defining them as static leads to internal linkage, accessible in that
translation unit, hence the warning. Their references are to be handled
in other translation units, so they shouldn't be static.
2025-07-17 14:59:09 -07:00
Berk D. Demir
2ad3ae7b50
Add CMake installation support
...
Allows installation with:
`cmake --install . [--prefix /dir]`
2023-04-22 18:08:39 -07:00