Skip to content

Instantly share code, notes, and snippets.

@zao
Created April 21, 2014 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zao/11156013 to your computer and use it in GitHub Desktop.
Save zao/11156013 to your computer and use it in GitHub Desktop.
22:46:13 lars@t-mn01:~/Public/ram_bench (git:master:eb5bd92)
∫ pathcc -std=c99 -O3 -o list_traversal list_traversal.c
list_traversal.c:95:59: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
printf("%llu %f # (N=%llu, reps=%llu) %llu/%llu\n", N*sizeof(Node), ans, N, reps, ei-min+1, max-min+1);
~~~~ ^~~~~~~~~~~~~~
%lu
list_traversal.c:95:80: warning: format specifies type 'unsigned long long' but the argument has type 'Int' (aka 'unsigned long') [-Wformat]
printf("%llu %f # (N=%llu, reps=%llu) %llu/%llu\n", N*sizeof(Node), ans, N, reps, ei-min+1, max-min+1);
~~~~ ^
%lu
list_traversal.c:95:83: warning: format specifies type 'unsigned long long' but the argument has type 'Int' (aka 'unsigned long') [-Wformat]
printf("%llu %f # (N=%llu, reps=%llu) %llu/%llu\n", N*sizeof(Node), ans, N, reps, ei-min+1, max-min+1);
~~~~ ^~~~
%lu
list_traversal.c:95:89: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
printf("%llu %f # (N=%llu, reps=%llu) %llu/%llu\n", N*sizeof(Node), ans, N, reps, ei-min+1, max-min+1);
~~~~ ^~~~~~~~
%lu
list_traversal.c:95:99: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
printf("%llu %f # (N=%llu, reps=%llu) %llu/%llu\n", N*sizeof(Node), ans, N, reps, ei-min+1, max-min+1);
~~~~ ^~~~~~~~~
%lu
5 warnings generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment