Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/bench_ecdh.c:39:13: error: ‘bench_ecdh’ redeclared as different kind of symbol
- static void bench_ecdh(void* arg) {
- ^~~~~~~~~~
- src/bench_ecdh.c:18:3: note: previous declaration of ‘bench_ecdh’ was here
- } bench_ecdh;
- ^~~~~~~~~~
- src/bench_ecdh.c: In function ‘bench_ecdh’:
- src/bench_ecdh.c:42:17: error: ‘data’ undeclared (first use in this function); did you mean ‘atan’?
- bench_ecdh *data = (bench_ecdh*)arg;
- ^~~~
- atan
- src/bench_ecdh.c:42:17: note: each undeclared identifier is reported only once for each function it appears in
- src/bench_ecdh.c:42:36: error: expected expression before ‘)’ token
- bench_ecdh *data = (bench_ecdh*)arg;
- ^
- src/bench_ecdh.c:39:30: warning: unused parameter ‘arg’ [-Wunused-parameter]
- static void bench_ecdh(void* arg) {
- ^~~
- src/bench_ecdh.c: In function ‘main’:
- src/bench_ecdh.c:50:5: warning: statement with no effect [-Wunused-value]
- bench_ecdh data;
- ^~~~~~~~~~
- src/bench_ecdh.c:50:16: error: expected ‘;’ before ‘data’
- bench_ecdh data;
- ^~~~
- src/bench_ecdh.c:52:64: error: ‘data’ undeclared (first use in this function); did you mean ‘atan’?
- run_benchmark("ecdh", bench_ecdh, bench_ecdh_setup, NULL, &data, 10, 20000);
- ^~~~
- atan
- make: *** [Makefile:1008: src/bench_ecdh.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement