plink-ng icon indicating copy to clipboard operation
plink-ng copied to clipboard

PLINK v1.9 `sprintf()` compilation warnings: Does a way to silence/fix them exist?

Open VicBoss1984 opened this issue 9 months ago • 3 comments

Hi everyone,

I am curious if someone on an M-series Apple Macintosh computer was able to build PLINK version 1.9 without getting the sprintf() deprecation warnings when compiling/building from source. PLINK version 2.0 does not have this issue but PLINK version 1.9 does.

I tried to compile PLINK version 1.9 by running make under the 'build_mac' subdirectory, but I am running into issues with missing 'zlib' for AMD (which I presume refers to the x86 version of 'zlib' on Mac). I can modify the makefile under the 'build_mac' subdirectory to point to the 'arm-64' version of 'zlib' that comes pre-installed with my Macintosh computer/system, but I am wondering if doing so is recommended. I can even remove the instances and references to the 'AMD' version of 'zlib' in the Makefile, but I am not sure if that would lead to unintended consequences when it comes to building the final 'PLINK' executable.

I tried compiling v1.07 of PLINK using the instructions provided in the official website, but I get a compilation error that halts the build process. There is apparently an issue with the redefintion of a variable in 'sets.c' that is halting the build, but I am not sure how to fix it without introducing new bugs/issues into my build of PLINK v1.07.

Many thanks, Ali

VicBoss1984 avatar May 18 '24 23:05 VicBoss1984