-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
alpine-dev:~/dev# git clone https://github.com/MonkeyIsNull/VelocityFilterMachin
e
Cloning into 'VelocityFilterMachine'...
remote: Enumerating objects: 236, done.
remote: Counting objects: 100% (236/236), done.
remote: Compressing objects: 100% (135/135), done.
remote: Total 236 (delta 112), reused 201 (delta 80), pack-reused 0 (from 0)
Receiving objects: 100% (236/236), 3.60 MiB | 3.73 MiB/s, done.
Resolving deltas: 100% (112/112), done.
alpine-dev:~/dev# cd VelocityFilterMachine/
alpine-dev:~/dev/VelocityFilterMachine# make
gcc -Wall -Wextra -O3 -march=native -I./include -I./src -march=native -mtune=native -flto -c src/vfm.c -o src/vfm.o
src/vfm.c: In function 'flow_table_set':
src/vfm.c:96:24: error: incompatible types when assigning to type 'uint64_t' {aka 'long unsigned int'} from type 'vfm_time_t'}
96 | entry->last_seen = vfm_get_time();
| ^~~~~~~~~~~~
src/vfm.c: In function 'vfm_execute':
src/vfm.c:310:14: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
310 | uint64_t dummy;
| ^~~~~
src/vfm.c: In function 'vfm_flow_table_destroy':
src/vfm.c:1073:12: warning: unused variable 'table_size' [-Wunused-variable]
1073 | size_t table_size = (vm->flow_table_mask + 1) * sizeof(vfm_flow_entry_t);
| ^~~~~~~~~~
In file included from src/vfm.c:1:
src/vfm.h: At top level:
src/vfm.h:151:20: warning: 'vfm_opcode_names' defined but not used [-Wunused-variable]
151 | static const char *vfm_opcode_names[] = {
| ^~~~~~~~~~~~~~~~
make: *** [Makefile:102: src/vfm.o] Error 1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working