Skip to content

Instantly share code, notes, and snippets.

@DavisVaughan
Created February 23, 2022 16:02
Show Gist options
  • Select an option

  • Save DavisVaughan/765d227504709299755d849a506459bd to your computer and use it in GitHub Desktop.

Select an option

Save DavisVaughan/765d227504709299755d849a506459bd to your computer and use it in GitHub Desktop.
@DavisVaughan

Copy link
Copy Markdown
Author
   "C:/rtools40/mingw64/bin/"gcc  -I"C:/PROGRA~1/R/R-40~1.0/include" -DNDEBUG -I./rlang         -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c arg.c -o arg.o
   arg.c: In function 'counter_arg_fill':
   arg.c:270:43: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'r_ssize' {aka 'long long int'} [-Wformat=]
          len = snprintf(buf, remaining, "[[%ld]]", i + 1);
                                            ~~^     ~~~~~
                                            %lld
   arg.c:276:43: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'r_ssize' {aka 'long long int'} [-Wformat=]
          len = snprintf(buf, remaining, "..%ld", i + 1);
                                            ~~^   ~~~~~
                                            %lld

@DavisVaughan

Copy link
Copy Markdown
Author
   "C:/rtools40/mingw64/bin/"gcc  -I"C:/PROGRA~1/R/R-40~1.0/include" -DNDEBUG -I./rlang/         -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rlang.c -o rlang.o
   In file included from rlang/walk.c:22,
                    from rlang/rlang.c:30,
                    from rlang.c:5:
   rlang/decl/walk-decl.h:2:24: warning: 'sexp_stack_pop' declared 'static' but never defined [-Wunused-function]
    struct sexp_stack_info sexp_stack_pop(struct r_dyn_array* p_stack);
                           ^~~~~~~~~~~~~~
   rlang/decl/walk-decl.h:27:15: warning: 'sexp_node_arr' declared 'static' but never defined [-Wunused-function]
    sexp* const * sexp_node_arr(sexp* x, enum r_type type,
                  ^~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment