kbroman / qtl

R/qtl: A QTL mapping environment
https://rqtl.org
GNU General Public License v3.0
77 stars 45 forks source link

Warning on CRAN #104

Closed kbroman closed 11 months ago

kbroman commented 11 months ago

Got an email from CRAN to fix the following warning:

Version: 1.62
Check: whether package can be installed
Result: WARN
  Found the following significant warnings:
    mqmaugment.cpp:244:15: warning: too many arguments for format [-Wformat-extra-args]
  See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/qtl.Rcheck/00install.out’ for details.
  * used C compiler: ‘gcc-13 (Debian 13.2.0-5) 13.2.0’
  * used C++ compiler: ‘g++-13 (Debian 13.2.0-5) 13.2.0’

Flavor: r-devel-linux-x86_64-debian-gcc

The compile error in install.out is the following:

mqmaugment.cpp:244:15: warning: too many arguments for format [-Wformat-extra-args]
  244 |       Rprintf("INFO: VALGRIND MEMORY DEBUG BARRIERE TRIGGERED\n", "");
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~