Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mingw I64 warnings #4073

Merged
merged 2 commits into from Dec 5, 2019
Merged

mingw I64 warnings #4073

merged 2 commits into from Dec 5, 2019

Conversation

mattdowle
Copy link
Member

@mattdowle mattdowle commented Nov 22, 2019

Closes #4062 again
Follow up to #4064
Let's see if this passes rtools 3.5 as done on AppVeyor.

It doesn't pass win-builder R-devel rtools 4.0, as on CRAN :

This notification has been generated automatically.
Your package data.table_1.12.7.tar.gz has been built and checked for Windows.
Please check the log files and (if working) the binary package at:
https://win-builder.r-project.org/SLI5D0q5ZqdK
The files will be removed after roughly 72 hours.
Installation time in seconds: 142
Check time in seconds: 1073
Status: 1 WARNING
R Under development (unstable) (2019-11-14 r77415)

See the notes and links I added to dt_stdio.h in this PR.
Maybe we should ask here: https://osdn.net/projects/mingw/lists/archive/users/

Oh wait ... these warnings are not in the same files they were before. These are froll. Maybe it's something else not detected before and this PR is in the right direction after all.

That's really strange that it's only froll.c and frolladaptive.c. There is plenty of PRId64 in other files and we don't see these warnings for those. On CRAN we see this warning in many other files, but withis PR we just see in froll. All I can see different in the froll cases is they all start with %s but I don't see the problem with that.

Found the following significant warnings:
  assign.c:882:107: warning: too many arguments for format [-Wformat-extra-args]
  assign.c:889:107: warning: too many arguments for format [-Wformat-extra-args]
  assign.c:895:107: warning: too many arguments for format [-Wformat-extra-args]
  forder.c:503:10: warning: too many arguments for format [-Wformat-extra-args]
  forder.c:607:16: warning: too many arguments for format [-Wformat-extra-args]
  fread.c:418:36: warning: too many arguments for format [-Wformat-extra-args]
  fread.c:423:34: warning: too many arguments for format [-Wformat-extra-args]
  fread.c:429:30: warning: too many arguments for format [-Wformat-extra-args]
  fread.c:2217:21: warning: too many arguments for format [-Wformat-extra-args]
  froll.c:52:41: warning: too many arguments for format [-Wformat-extra-args]
  froll.c:141:41: warning: too many arguments for format [-Wformat-extra-args]
  froll.c:255:41: warning: too many arguments for format [-Wformat-extra-args]
  froll.c:339:41: warning: too many arguments for format [-Wformat-extra-args]
  frolladaptive.c:33:41: warning: too many arguments for format [-Wformat-extra-args]
  frolladaptive.c:118:41: warning: too many arguments for format [-Wformat-extra-args]
  frolladaptive.c:222:41: warning: too many arguments for format [-Wformat-extra-args]
  frolladaptive.c:302:41: warning: too many arguments for format [-Wformat-extra-args]
* installing *source* package 'data.table' ...
** using staged installation

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************


** libs

*** arch - i386
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c assign.c -o assign.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c between.c -o between.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c bmerge.c -o bmerge.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c chmatch.c -o chmatch.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c cj.c -o cj.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c coalesce.c -o coalesce.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c dogroups.c -o dogroups.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fastmean.c -o fastmean.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fcast.c -o fcast.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fifelse.c -o fifelse.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fmelt.c -o fmelt.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c forder.c -o forder.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c frank.c -o frank.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fread.c -o fread.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c freadR.c -o freadR.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c froll.c -o froll.o
froll.c: In function 'frollmeanFast':
froll.c:52:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from froll.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
froll.c:52:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                    ~~~~~~~~~~~~
froll.c:52:90: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                                                                         ~^
                                                                                         %I64d
froll.c:52:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
froll.c: In function 'frollmeanExact':
froll.c:141:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from froll.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
froll.c:141:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                    ~~~~~~~~~~~~
froll.c:141:102: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                                                                                     ~^
                                                                                                     %I64d
froll.c:141:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
froll.c: In function 'frollsumFast':
froll.c:255:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from froll.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
froll.c:255:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                    ~~~~~~~~~~~~
froll.c:255:90: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                                                                         ~^
                                                                                         %I64d
froll.c:255:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
froll.c: In function 'frollsumExact':
froll.c:339:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from froll.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
froll.c:339:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                    ~~~~~~~~~~~~
froll.c:339:102: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                                                                                     ~^
                                                                                                     %I64d
froll.c:339:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c frollR.c -o frollR.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c frolladaptive.c -o frolladaptive.o
frolladaptive.c: In function 'fadaptiverollmeanFast':
frolladaptive.c:33:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from frolladaptive.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
frolladaptive.c:33:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                         ~~~~~~~~~~~~
frolladaptive.c:33:89: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                                                                        ~^
                                                                                        %I64d
frolladaptive.c:33:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
frolladaptive.c: In function 'fadaptiverollmeanExact':
frolladaptive.c:118:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from frolladaptive.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
frolladaptive.c:118:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                         ~~~~~~~~~~~~
frolladaptive.c:118:101: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                                                                                    ~^
                                                                                                    %I64d
frolladaptive.c:118:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
frolladaptive.c: In function 'fadaptiverollsumFast':
frolladaptive.c:222:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from frolladaptive.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
frolladaptive.c:222:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                         ~~~~~~~~~~~~
frolladaptive.c:222:89: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                                                                        ~^
                                                                                        %I64d
frolladaptive.c:222:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
frolladaptive.c: In function 'fadaptiverollsumExact':
frolladaptive.c:302:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from frolladaptive.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
frolladaptive.c:302:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                         ~~~~~~~~~~~~
frolladaptive.c:302:101: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                                                                                    ~^
                                                                                                    %I64d
frolladaptive.c:302:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fsort.c -o fsort.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fwrite.c -o fwrite.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fwriteR.c -o fwriteR.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c gsumm.c -o gsumm.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c ijoin.c -o ijoin.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c init.c -o init.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c inrange.c -o inrange.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c nafill.c -o nafill.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c nqrecreateindices.c -o nqrecreateindices.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c openmp-utils.c -o openmp-utils.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c quickselect.c -o quickselect.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c rbindlist.c -o rbindlist.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c reorder.c -o reorder.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c shift.c -o shift.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c subset.c -o subset.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c transpose.c -o transpose.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c types.c -o types.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c uniqlist.c -o uniqlist.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c utils.c -o utils.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c vecseq.c -o vecseq.o
d:/Compiler/rtools40/mingw32/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c wrappers.c -o wrappers.o
d:/Compiler/rtools40/mingw32/bin/gcc -shared -s -static-libgcc -o data.table.dll tmp.def assign.o between.o bmerge.o chmatch.o cj.o coalesce.o dogroups.o fastmean.o fcast.o fifelse.o fmelt.o forder.o frank.o fread.o freadR.o froll.o frollR.o frolladaptive.o fsort.o fwrite.o fwriteR.o gsumm.o ijoin.o init.o inrange.o nafill.o nqrecreateindices.o openmp-utils.o quickselect.o rbindlist.o reorder.o shift.o subset.o transpose.o types.o uniqlist.o utils.o vecseq.o wrappers.o -fopenmp -lz -Ld:/Compiler/gcc-4.9.3/local330/lib/i386 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R4/bin/i386 -lR
mv data.table.dll datatable.dll
if [ "Windows_NT" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -id datatable.dll datatable.dll; fi
installing to d:/RCompile/CRANguest/R-devel_gcc8/lib/00LOCK-data.table/00new/data.table/libs/i386

*** arch - x64
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c assign.c -o assign.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c between.c -o between.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c bmerge.c -o bmerge.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c chmatch.c -o chmatch.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c cj.c -o cj.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c coalesce.c -o coalesce.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c dogroups.c -o dogroups.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fastmean.c -o fastmean.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fcast.c -o fcast.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fifelse.c -o fifelse.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fmelt.c -o fmelt.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c forder.c -o forder.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c frank.c -o frank.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fread.c -o fread.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c freadR.c -o freadR.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c froll.c -o froll.o
froll.c: In function 'frollmeanFast':
froll.c:52:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from froll.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
froll.c:52:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                    ~~~~~~~~~~~~
froll.c:52:90: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                                                                         ~^
                                                                                         %I64d
froll.c:52:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
froll.c: In function 'frollmeanExact':
froll.c:141:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from froll.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
froll.c:141:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                    ~~~~~~~~~~~~
froll.c:141:102: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                                                                                     ~^
                                                                                                     %I64d
froll.c:141:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
froll.c: In function 'frollsumFast':
froll.c:255:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from froll.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
froll.c:255:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                    ~~~~~~~~~~~~
froll.c:255:90: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                                                                         ~^
                                                                                         %I64d
froll.c:255:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
froll.c: In function 'frollsumExact':
froll.c:339:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from froll.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
froll.c:339:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                    ~~~~~~~~~~~~
froll.c:339:102: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                                                                                     ~^
                                                                                                     %I64d
froll.c:339:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c frollR.c -o frollR.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c frolladaptive.c -o frolladaptive.o
frolladaptive.c: In function 'fadaptiverollmeanFast':
frolladaptive.c:33:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from frolladaptive.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
frolladaptive.c:33:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                         ~~~~~~~~~~~~
frolladaptive.c:33:89: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                                                                        ~^
                                                                                        %I64d
frolladaptive.c:33:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
frolladaptive.c: In function 'fadaptiverollmeanExact':
frolladaptive.c:118:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from frolladaptive.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
frolladaptive.c:118:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                         ~~~~~~~~~~~~
frolladaptive.c:118:101: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                                                                                    ~^
                                                                                                    %I64d
frolladaptive.c:118:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
frolladaptive.c: In function 'fadaptiverollsumFast':
frolladaptive.c:222:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from frolladaptive.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
frolladaptive.c:222:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                         ~~~~~~~~~~~~
frolladaptive.c:222:89: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                                                                        ~^
                                                                                        %I64d
frolladaptive.c:222:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
frolladaptive.c: In function 'fadaptiverollsumExact':
frolladaptive.c:302:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from data.table.h:1,
                 from frolladaptive.c:5:
dt_stdio.h:11:20: note: format string is defined here
   #define PRIu64 "llu"
                    ^
frolladaptive.c:302:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                         ~~~~~~~~~~~~
frolladaptive.c:302:101: note: format string is defined here
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                                                                                    ~^
                                                                                                    %I64d
frolladaptive.c:302:41: warning: too many arguments for format [-Wformat-extra-args]
     snprintf(end(ans->message[0]), 500, "%s: running in parallel for input length %"PRIu64", hasna %d, narm %d\n", __func__, (uint64_t)nx, hasna, (int) narm);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fsort.c -o fsort.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fwrite.c -o fwrite.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c fwriteR.c -o fwriteR.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c gsumm.c -o gsumm.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c ijoin.c -o ijoin.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c init.c -o init.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c inrange.c -o inrange.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c nafill.c -o nafill.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c nqrecreateindices.c -o nqrecreateindices.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c openmp-utils.c -o openmp-utils.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c quickselect.c -o quickselect.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c rbindlist.c -o rbindlist.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c reorder.c -o reorder.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c shift.c -o shift.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c subset.c -o subset.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c transpose.c -o transpose.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c types.c -o types.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c uniqlist.c -o uniqlist.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c utils.c -o utils.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c vecseq.c -o vecseq.o
d:/Compiler/rtools40/mingw64/bin/gcc  -I"D:/RCompile/recent/R4/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -fopenmp   -pedantic -O2 -Wall  -std=gnu99  -c wrappers.c -o wrappers.o
d:/Compiler/rtools40/mingw64/bin/gcc -shared -s -static-libgcc -o data.table.dll tmp.def assign.o between.o bmerge.o chmatch.o cj.o coalesce.o dogroups.o fastmean.o fcast.o fifelse.o fmelt.o forder.o frank.o fread.o freadR.o froll.o frollR.o frolladaptive.o fsort.o fwrite.o fwriteR.o gsumm.o ijoin.o init.o inrange.o nafill.o nqrecreateindices.o openmp-utils.o quickselect.o rbindlist.o reorder.o shift.o subset.o transpose.o types.o uniqlist.o utils.o vecseq.o wrappers.o -fopenmp -lz -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R4/bin/x64 -lR
mv data.table.dll datatable.dll
if [ "Windows_NT" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -id datatable.dll datatable.dll; fi
installing to d:/RCompile/CRANguest/R-devel_gcc8/lib/00LOCK-data.table/00new/data.table/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'data.table' as data.table_1.12.7.zip
* DONE (data.table)

@mattdowle mattdowle added this to the 1.12.7 milestone Nov 22, 2019
@codecov
Copy link

codecov bot commented Nov 22, 2019

Codecov Report

Merging #4073 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #4073   +/-   ##
======================================
  Coverage    99.4%   99.4%           
======================================
  Files          72      72           
  Lines       13675   13675           
======================================
  Hits        13594   13594           
  Misses         81      81
Impacted Files Coverage Δ
src/fwrite.c 97.87% <ø> (ø) ⬆️
src/assign.c 100% <ø> (ø) ⬆️
src/frolladaptive.c 100% <100%> (ø) ⬆️
src/froll.c 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f17d18...3c37be8. Read the comment docs.

@2005m
Copy link
Contributor

2005m commented Nov 22, 2019

I am wondering if a solution could be to add __USE_MINGW_ANSI_STDIO.

Please see this link:
https://stackoverflow.com/questions/44382862/how-to-printf-a-size-t-without-warning-in-mingw-w64-gcc-7-1?noredirect=1&lq=1

@jangorecki
Copy link
Member

@2005m it is already in this PR, see src/dt_stdio.h

@mattdowle
Copy link
Member Author

mattdowle commented Nov 24, 2019

Well, that's odd: removing __func__ just in the lines where a PRI[u|d]64 appeared in the format string as well, clears the warnings above. All I changed was 3c37be8. I just resubmitted to win-builder ATC and it passed cleanly with no warnings in the 00install.log. It seems like a compiler glitch to me. I don't see anything wrong with what froll.c and frolladaptive.c were doing with __func__ and I left alone all usage where PRI[d|u]64 didn't occur as well. So it seems to be combination of %s/__func__ and PRI[i|d]64 in the same format string?

https://win-builder.r-project.org/6LcGJCHQYCnD
The files will be removed after roughly 72 hours.
Installation time in seconds: 122
Check time in seconds: 968
Status: OK
R Under development (unstable) (2019-11-14 r77415)

@mattdowle mattdowle merged commit eba8704 into master Dec 5, 2019
@mattdowle mattdowle deleted the mingw_warnings branch December 5, 2019 01:47
@@ -49,7 +45,7 @@ void frollmean(unsigned int algo, double *x, uint64_t nx, ans_t *ans, int k, int
*/
void frollmeanFast(double *x, uint64_t nx, ans_t *ans, int k, double fill, bool narm, int hasna, bool verbose) {
if (verbose)
snprintf(end(ans->message[0]), 500, "%s: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", __func__, (uint64_t)nx, k, hasna, (int)narm);
snprintf(end(ans->message[0]), 500, "frollmeanFast: running for input length %"PRIu64", window %d, hasna %d, narm %d\n", (uint64_t)nx, k, hasna, (int)narm);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For translation purposes, it will be simpler to replace __func__ with "frollmeanFast", then only the format message has to be translated, rather than translating essentially the same things a bunch of times.

Took the idea from base which does this often.

I'll update this in the translation branch shortly

Copy link
Member Author

@mattdowle mattdowle Dec 8, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. But does that pass the new mingw-w64 compiler in rtools4 (win-builder ATC)? The potential compiler glitch might pertain to the %s and be unrelated to the __func__. Which is why I went straight for not using %s at all to save time to see if that passed, and it did to my surprise. Before putting back the %s we have to check whether the problem is %s or __func__ and raise the issue with mingw-w64 team.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense. is there such a test in our GL CI pipeline?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure how hard that is to setup, @jangorecki? Maybe it's just a case of pointing to (new) rtools40, or could be more involved.

Copy link
Member Author

@mattdowle mattdowle Dec 31, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update: #3935 (comment); i.e. yes it's specifically the __func__ with the problem and not the %s.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mattdowle I missed your previous comment. Good we know that __func__ was causing problem when used with int64 printing. If rtools40 would help about this, do we want to use __func__ together with int64 printing again? It is just a windows specific compilation warning so not really an issue.

Copy link
Member Author

@mattdowle mattdowle Dec 31, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jangorecki by 'if rtools40 would help about this' do you mean if we report to mingw-w64 team, they accept it as bug, they fix the bug, and then Rtools4.0 upgrades to the fixed version of gcc, do we then want to put the __func__ back? If so, I guess yes, because the code in this file is currently confusing because it uses __func__ everywhere except those 4 calls that include the int64 too. It's strange to have that difference so it has to be commented to explain, and I suppose we need something in CRAN_Release.cmd too to catch that from coming back in future. Is GLCI using Rtools4.0 yet and does GLCI search the install log on windows to catch compiler warnings like this one?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use 3.5.0.4 on gitlab builds. rtools40 is still experimental, will just test how it works but not yet upgrade our environment.

@2005m
Copy link
Contributor

2005m commented Dec 8, 2019

I am not sure whether you are interested to know but I get a lot of warnings like the following:

gcc -I"/data/data/com.termux/files/usr/lib/R/include" -DNDEBUG -I/data/data/com.termux/files/usr/include -fopenmp -fpic -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -c freadR.c -o freadR.o In file included from fread.c:28: ./freadLookups.h:31:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-350L, ^

They are all related to freadLookups.h . Is it something you want to fix?

`> sessionInfo()

R version 3.6.1 (2019-07-05)
Platform: armv8l-unknown-linux-gnueabi (32-bit)`

@mattdowle
Copy link
Member Author

@2005m Yes that warning should be looked at, thanks. Please raise a new issue so we can track it.

jangorecki added a commit that referenced this pull request Dec 31, 2019
@jangorecki jangorecki mentioned this pull request Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new gcc warnings with -Wformat-extra-args
4 participants