* installing *source* package 'divest' ...
** this is package 'divest' version '1.3.0'
** package 'divest' successfully unpacked and MD5 sums checked
** using staged installation
**********************************************
WARNING: this package has a configure script
It probably needs manual configuration
**********************************************
** libs
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_11_19_18_10_39_4080/RtmpqqVAGn/R.INSTALL11503c70d377a4/divest/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DUSING_R -DmyDisableOpenJPEG -I. -Idcm2niix -Iujpeg -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RNifti/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c main.cpp -o main.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DUSING_R -DmyDisableOpenJPEG -I. -Idcm2niix -Iujpeg -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RNifti/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dcm2niix/cJSON.cpp -o dcm2niix/cJSON.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DUSING_R -DmyDisableOpenJPEG -I. -Idcm2niix -Iujpeg -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RNifti/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dcm2niix/dicom_fragments.cpp -o dcm2niix/dicom_fragments.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DUSING_R -DmyDisableOpenJPEG -I. -Idcm2niix -Iujpeg -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RNifti/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dcm2niix/jpg_0XC3.cpp -o dcm2niix/jpg_0XC3.o
In file included from dcm2niix/jpg_0XC3.cpp:10:
dcm2niix/jpg_0XC3_helper.h: In function 'int read_DHT_and_build(DataStream*, HuffTable (*)[2])':
dcm2niix/jpg_0XC3_helper.h:280:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
280 | while ((ds->idx - start) < (len - 2)) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
dcm2niix/jpg_0XC3_helper.h: In function 'int decode_unit(Decoder*, int*)':
dcm2niix/jpg_0XC3_helper.h:667:39: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
667 | return 0xFF00 | (m & 0xFF);
| ~~~~~~~^~~~~~~~~~~~
dcm2niix/jpg_0XC3_helper.h:665:34: note: 'm' was declared here
665 | uint16_t m;
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DUSING_R -DmyDisableOpenJPEG -I. -Idcm2niix -Iujpeg -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RNifti/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dcm2niix/nifti1_io_core.cpp -o dcm2niix/nifti1_io_core.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DUSING_R -DmyDisableOpenJPEG -I. -Idcm2niix -Iujpeg -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RNifti/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dcm2niix/nii_dicom.cpp -o dcm2niix/nii_dicom.o
dcm2niix/nii_dicom.cpp: In function 'unsigned char* nii_ybr2rgb(unsigned char*, nifti_1_header*)':
dcm2niix/nii_dicom.cpp:3622:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
3622 | for (int sl = 0; sl < dim3to7; sl++) { // for each 2D slice
| ~~~^~~~~~~~~
dcm2niix/nii_dicom.cpp:3625:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
3625 | for (int rgb = 0; rgb < sliceBytes8; rgb++) {
| ~~~~^~~~~~~~~~~~~
dcm2niix/nii_dicom.cpp: In function 'TDICOMdata readDICOMx(char*, TDCMprefs*, TDTI4D*)':
dcm2niix/nii_dicom.cpp:6059:83: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
6059 | bool isBasicOffsetTable = (d.imageBytes < 1) && ((lLength == 4 * numberOfFrames) || (lLength <= 0));
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dcm2niix/nii_dicom.cpp:5729:26: warning: unused variable 'realGroupElement' [-Wunused-variable]
5729 | uint32_t realGroupElement = groupElement;
| ^~~~~~~~~~~~~~~~
dcm2niix/nii_dicom.cpp:6051:66: warning: 'vr[1]' may be used uninitialized [-Wmaybe-uninitialized]
6051 | if ((groupElement == kItemTag) && (vr[0] == 'O') && (vr[1] == 'B') && (isIconImageSequence))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
dcm2niix/nii_dicom.cpp:5614:14: note: 'vr[1]' was declared here
5614 | char vr[2];
| ^~
dcm2niix/nii_dicom.cpp:6051:48: warning: 'vr[0]' may be used uninitialized [-Wmaybe-uninitialized]
6051 | if ((groupElement == kItemTag) && (vr[0] == 'O') && (vr[1] == 'B') && (isIconImageSequence))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
dcm2niix/nii_dicom.cpp:5614:14: note: 'vr[0]' was declared here
5614 | char vr[2];
| ^~
dcm2niix/nii_dicom.cpp:9161:21: warning: 'lLength' may be used uninitialized [-Wmaybe-uninitialized]
9161 | int imgBytes = (int)(lLength);
| ^~~~~~~~
dcm2niix/nii_dicom.cpp:5593:18: note: 'lLength' was declared here
5593 | uint32_t lLength;
| ^~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DUSING_R -DmyDisableOpenJPEG -I. -Idcm2niix -Iujpeg -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RNifti/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dcm2niix/nii_dicom_batch.cpp -o dcm2niix/nii_dicom_batch.o
In file included from dcm2niix/nii_dicom_batch.cpp:22:
dcm2niix/miniz.c:3805: warning: ignoring '#pragma unused ' [-Wunknown-pragmas]
3805 | #pragma unused(cur_file_ofs)
dcm2niix/miniz.c:3808: warning: ignoring '#pragma unused ' [-Wunknown-pragmas]
3808 | #pragma unused(comp_remaining)
dcm2niix/miniz.c:4684: warning: ignoring '#pragma unused ' [-Wunknown-pragmas]
4684 | #pragma unused(cur_src_file_ofs)
dcm2niix/miniz.c: In function 'tinfl_status tinfl_decompress(tinfl_decompressor*, const mz_uint8*, size_t*, mz_uint8*, mz_uint8*, size_t*, mz_uint32)':
dcm2niix/miniz.c:1506:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
1506 | for ( i = 0; i <= 143; ++i) *p++ = 8; for ( ; i <= 255; ++i) *p++ = 9; for ( ; i <= 279; ++i) *p++ = 7; for ( ; i <= 287; ++i) *p++ = 8;
| ^~~
dcm2niix/miniz.c:1506:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
1506 | for ( i = 0; i <= 143; ++i) *p++ = 8; for ( ; i <= 255; ++i) *p++ = 9; for ( ; i <= 279; ++i) *p++ = 7; for ( ; i <= 287; ++i) *p++ = 8;
| ^~~
dcm2niix/miniz.c: In function 'void tdefl_start_dynamic_block(tdefl_compressor*)':
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:1987:3: note: in expansion of macro 'TDEFL_PUT_BITS'
1987 | TDEFL_PUT_BITS(2, 2);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:1987:3: note: in expansion of macro 'TDEFL_PUT_BITS'
1987 | TDEFL_PUT_BITS(2, 2);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:1989:3: note: in expansion of macro 'TDEFL_PUT_BITS'
1989 | TDEFL_PUT_BITS(num_lit_codes - 257, 5);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:1989:3: note: in expansion of macro 'TDEFL_PUT_BITS'
1989 | TDEFL_PUT_BITS(num_lit_codes - 257, 5);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:1990:3: note: in expansion of macro 'TDEFL_PUT_BITS'
1990 | TDEFL_PUT_BITS(num_dist_codes - 1, 5);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:1990:3: note: in expansion of macro 'TDEFL_PUT_BITS'
1990 | TDEFL_PUT_BITS(num_dist_codes - 1, 5);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:1993:55: note: in expansion of macro 'TDEFL_PUT_BITS'
1993 | num_bit_lengths = MZ_MAX(4, (num_bit_lengths + 1)); TDEFL_PUT_BITS(num_bit_lengths - 4, 4);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:1993:55: note: in expansion of macro 'TDEFL_PUT_BITS'
1993 | num_bit_lengths = MZ_MAX(4, (num_bit_lengths + 1)); TDEFL_PUT_BITS(num_bit_lengths - 4, 4);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:1994:46: note: in expansion of macro 'TDEFL_PUT_BITS'
1994 | for (i = 0; (int)i < num_bit_lengths; i++) TDEFL_PUT_BITS(d->m_huff_code_sizes[2][s_tdefl_packed_code_size_syms_swizzle[i]], 3);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:1994:46: note: in expansion of macro 'TDEFL_PUT_BITS'
1994 | for (i = 0; (int)i < num_bit_lengths; i++) TDEFL_PUT_BITS(d->m_huff_code_sizes[2][s_tdefl_packed_code_size_syms_swizzle[i]], 3);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:1999:5: note: in expansion of macro 'TDEFL_PUT_BITS'
1999 | TDEFL_PUT_BITS(d->m_huff_codes[2][code], d->m_huff_code_sizes[2][code]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:1999:5: note: in expansion of macro 'TDEFL_PUT_BITS'
1999 | TDEFL_PUT_BITS(d->m_huff_codes[2][code], d->m_huff_code_sizes[2][code]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2000:21: note: in expansion of macro 'TDEFL_PUT_BITS'
2000 | if (code >= 16) TDEFL_PUT_BITS(packed_code_sizes[packed_code_sizes_index++], "\02\03\07"[code - 16]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2000:21: note: in expansion of macro 'TDEFL_PUT_BITS'
2000 | if (code >= 16) TDEFL_PUT_BITS(packed_code_sizes[packed_code_sizes_index++], "\02\03\07"[code - 16]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c: In function 'void tdefl_start_static_block(tdefl_compressor*)':
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2019:3: note: in expansion of macro 'TDEFL_PUT_BITS'
2019 | TDEFL_PUT_BITS(1, 2);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2019:3: note: in expansion of macro 'TDEFL_PUT_BITS'
2019 | TDEFL_PUT_BITS(1, 2);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c: In function 'mz_bool tdefl_compress_lz_codes(tdefl_compressor*)':
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2130:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2130 | TDEFL_PUT_BITS(d->m_huff_codes[0][s_tdefl_len_sym[match_len]], d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2130:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2130 | TDEFL_PUT_BITS(d->m_huff_codes[0][s_tdefl_len_sym[match_len]], d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2131:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2131 | TDEFL_PUT_BITS(match_len & mz_bitmasks[s_tdefl_len_extra[match_len]], s_tdefl_len_extra[match_len]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2131:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2131 | TDEFL_PUT_BITS(match_len & mz_bitmasks[s_tdefl_len_extra[match_len]], s_tdefl_len_extra[match_len]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2142:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2142 | TDEFL_PUT_BITS(d->m_huff_codes[1][sym], d->m_huff_code_sizes[1][sym]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2142:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2142 | TDEFL_PUT_BITS(d->m_huff_codes[1][sym], d->m_huff_code_sizes[1][sym]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2143:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2143 | TDEFL_PUT_BITS(match_dist & mz_bitmasks[num_extra_bits], num_extra_bits);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2143:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2143 | TDEFL_PUT_BITS(match_dist & mz_bitmasks[num_extra_bits], num_extra_bits);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2149:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2149 | TDEFL_PUT_BITS(d->m_huff_codes[0][lit], d->m_huff_code_sizes[0][lit]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2149:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2149 | TDEFL_PUT_BITS(d->m_huff_codes[0][lit], d->m_huff_code_sizes[0][lit]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2153:3: note: in expansion of macro 'TDEFL_PUT_BITS'
2153 | TDEFL_PUT_BITS(d->m_huff_codes[0][256], d->m_huff_code_sizes[0][256]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2153:3: note: in expansion of macro 'TDEFL_PUT_BITS'
2153 | TDEFL_PUT_BITS(d->m_huff_codes[0][256], d->m_huff_code_sizes[0][256]);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c: In function 'int tdefl_flush_block(tdefl_compressor*, int)':
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2188:5: note: in expansion of macro 'TDEFL_PUT_BITS'
2188 | TDEFL_PUT_BITS(0x78, 8); TDEFL_PUT_BITS(0x01, 8);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2188:5: note: in expansion of macro 'TDEFL_PUT_BITS'
2188 | TDEFL_PUT_BITS(0x78, 8); TDEFL_PUT_BITS(0x01, 8);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2188:30: note: in expansion of macro 'TDEFL_PUT_BITS'
2188 | TDEFL_PUT_BITS(0x78, 8); TDEFL_PUT_BITS(0x01, 8);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2188:30: note: in expansion of macro 'TDEFL_PUT_BITS'
2188 | TDEFL_PUT_BITS(0x78, 8); TDEFL_PUT_BITS(0x01, 8);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2191:3: note: in expansion of macro 'TDEFL_PUT_BITS'
2191 | TDEFL_PUT_BITS(flush == TDEFL_FINISH, 1);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2191:3: note: in expansion of macro 'TDEFL_PUT_BITS'
2191 | TDEFL_PUT_BITS(flush == TDEFL_FINISH, 1);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2203:5: note: in expansion of macro 'TDEFL_PUT_BITS'
2203 | TDEFL_PUT_BITS(0, 2);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2203:5: note: in expansion of macro 'TDEFL_PUT_BITS'
2203 | TDEFL_PUT_BITS(0, 2);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2204:25: note: in expansion of macro 'TDEFL_PUT_BITS'
2204 | if (d->m_bits_in) { TDEFL_PUT_BITS(0, 8 - d->m_bits_in); }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2204:25: note: in expansion of macro 'TDEFL_PUT_BITS'
2204 | if (d->m_bits_in) { TDEFL_PUT_BITS(0, 8 - d->m_bits_in); }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2207:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2207 | TDEFL_PUT_BITS(d->m_total_lz_bytes & 0xFFFF, 16);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2207:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2207 | TDEFL_PUT_BITS(d->m_total_lz_bytes & 0xFFFF, 16);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2211:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2211 | TDEFL_PUT_BITS(d->m_dict[(d->m_lz_code_buf_dict_pos + i) & TDEFL_LZ_DICT_SIZE_MASK], 8);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2211:7: note: in expansion of macro 'TDEFL_PUT_BITS'
2211 | TDEFL_PUT_BITS(d->m_dict[(d->m_lz_code_buf_dict_pos + i) & TDEFL_LZ_DICT_SIZE_MASK], 8);
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2225:27: note: in expansion of macro 'TDEFL_PUT_BITS'
2225 | if (d->m_bits_in) { TDEFL_PUT_BITS(0, 8 - d->m_bits_in); }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2225:27: note: in expansion of macro 'TDEFL_PUT_BITS'
2225 | if (d->m_bits_in) { TDEFL_PUT_BITS(0, 8 - d->m_bits_in); }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2226:106: note: in expansion of macro 'TDEFL_PUT_BITS'
2226 | if (d->m_flags & TDEFL_WRITE_ZLIB_HEADER) { mz_uint i, a = d->m_adler32; for (i = 0; i < 4; i++) { TDEFL_PUT_BITS((a >> 24) & 0xFF, 8); a <<= 8; } }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2226:106: note: in expansion of macro 'TDEFL_PUT_BITS'
2226 | if (d->m_flags & TDEFL_WRITE_ZLIB_HEADER) { mz_uint i, a = d->m_adler32; for (i = 0; i < 4; i++) { TDEFL_PUT_BITS((a >> 24) & 0xFF, 8); a <<= 8; } }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2230:25: note: in expansion of macro 'TDEFL_PUT_BITS'
2230 | mz_uint i, z = 0; TDEFL_PUT_BITS(0, 3); if (d->m_bits_in) { TDEFL_PUT_BITS(0, 8 - d->m_bits_in); } for (i = 2; i; --i, z ^= 0xFFFF) { TDEFL_PUT_BITS(z & 0xFFFF, 16); }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2230:25: note: in expansion of macro 'TDEFL_PUT_BITS'
2230 | mz_uint i, z = 0; TDEFL_PUT_BITS(0, 3); if (d->m_bits_in) { TDEFL_PUT_BITS(0, 8 - d->m_bits_in); } for (i = 2; i; --i, z ^= 0xFFFF) { TDEFL_PUT_BITS(z & 0xFFFF, 16); }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2230:67: note: in expansion of macro 'TDEFL_PUT_BITS'
2230 | mz_uint i, z = 0; TDEFL_PUT_BITS(0, 3); if (d->m_bits_in) { TDEFL_PUT_BITS(0, 8 - d->m_bits_in); } for (i = 2; i; --i, z ^= 0xFFFF) { TDEFL_PUT_BITS(z & 0xFFFF, 16); }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2230:67: note: in expansion of macro 'TDEFL_PUT_BITS'
2230 | mz_uint i, z = 0; TDEFL_PUT_BITS(0, 3); if (d->m_bits_in) { TDEFL_PUT_BITS(0, 8 - d->m_bits_in); } for (i = 2; i; --i, z ^= 0xFFFF) { TDEFL_PUT_BITS(z & 0xFFFF, 16); }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1916:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1916 | if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
| ^~
dcm2niix/miniz.c:2230:141: note: in expansion of macro 'TDEFL_PUT_BITS'
2230 | mz_uint i, z = 0; TDEFL_PUT_BITS(0, 3); if (d->m_bits_in) { TDEFL_PUT_BITS(0, 8 - d->m_bits_in); } for (i = 2; i; --i, z ^= 0xFFFF) { TDEFL_PUT_BITS(z & 0xFFFF, 16); }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c:1918:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1918 | d->m_bit_buffer >>= 8; \
| ^
dcm2niix/miniz.c:2230:141: note: in expansion of macro 'TDEFL_PUT_BITS'
2230 | mz_uint i, z = 0; TDEFL_PUT_BITS(0, 3); if (d->m_bits_in) { TDEFL_PUT_BITS(0, 8 - d->m_bits_in); } for (i = 2; i; --i, z ^= 0xFFFF) { TDEFL_PUT_BITS(z & 0xFFFF, 16); }
| ^~~~~~~~~~~~~~
dcm2niix/miniz.c: In function 'void tdefl_find_match(tdefl_compressor*, mz_uint, mz_uint, mz_uint, mz_uint*, mz_uint*)':
dcm2niix/miniz.c:2324:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
2324 | if (!dist) break; p = s; q = d->m_dict + probe_pos; for (probe_len = 0; probe_len < max_match_len; probe_len++) if (*p++ != *q++) break;
| ^~
dcm2niix/miniz.c:2324:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
2324 | if (!dist) break; p = s; q = d->m_dict + probe_pos; for (probe_len = 0; probe_len < max_match_len; probe_len++) if (*p++ != *q++) break;
| ^
dcm2niix/nii_dicom_batch.cpp: In function 'int nii_SaveBIDSX(char*, TDICOMdata, TDCMopts, nifti_1_header*, const char*, TDTI4D*)':
dcm2niix/nii_dicom_batch.cpp:3024:37: warning: unused variable 'totalAcquiredPairs' [-Wunused-variable]
3024 | int totalAcquiredPairs = h->dim[4] / nContrasts;
| ^~~~~~~~~~~~~~~~~~
dcm2niix/nii_dicom_batch.cpp:3027:37: warning: unused variable 'totalAcquiredPairs' [-Wunused-variable]
3027 | int totalAcquiredPairs = (h->dim[4] - 1) / nContrasts;
| ^~~~~~~~~~~~~~~~~~
dcm2niix/nii_dicom_batch.cpp: In function 'int* nii_saveDTI(char*, int, TDCMsort*, TDICOMdata*, TDCMopts, int, TDTI4D*, int*, int)':
dcm2niix/nii_dicom_batch.cpp:4101:14: warning: variable 'isIsotropic' set but not used [-Wunused-but-set-variable]
4101 | bool isIsotropic = false;
| ^~~~~~~~~~~
dcm2niix/nii_dicom_batch.cpp: In function 'bool ensureSequentialSlicePositions(int, int, TDCMsort*, TDICOMdata*, int)':
dcm2niix/nii_dicom_batch.cpp:4584:21: warning: unused variable 'lastVol' [-Wunused-variable]
4584 | int lastVol = idxFrame1;
| ^~~~~~~
dcm2niix/nii_dicom_batch.cpp: In function 'void heudiconvStr(char*)':
dcm2niix/nii_dicom_batch.cpp:4895:20: warning: unused variable 'kTempPathSeparator' [-Wunused-variable]
4895 | const char kTempPathSeparator = '\a';
| ^~~~~~~~~~~~~~~~~~
dcm2niix/nii_dicom_batch.cpp:4896:14: warning: unused variable 'hasCaret' [-Wunused-variable]
4896 | bool hasCaret = false;
| ^~~~~~~~
dcm2niix/nii_dicom_batch.cpp: In function 'void setBidsSiemens(TDICOMdata*, int, int, const char*)':
dcm2niix/nii_dicom_batch.cpp:8973:23: warning: unused variable 'pf' [-Wunused-variable]
8973 | float pf = 1.0f; // partial fourier
| ^~
dcm2niix/nii_dicom_batch.cpp: In function 'void setBidsPhilips(TDICOMdata*, int, int)':
dcm2niix/nii_dicom_batch.cpp:9375:14: warning: variable 'isDirLabel' set but not used [-Wunused-but-set-variable]
9375 | bool isDirLabel = false; // report phase encoding direction
| ^~~~~~~~~~
dcm2niix/nii_dicom_batch.cpp: In function 'void setBidsGE(TDICOMdata*, int, int, const char*)':
dcm2niix/nii_dicom_batch.cpp:9570:13: warning: variable 'nVol' set but not used [-Wunused-but-set-variable]
9570 | int nVol = 1;
| ^~~~
dcm2niix/nii_dicom_batch.cpp: In function 'int saveDcm2NiiCore(int, TDCMsort*, TDICOMdata*, TSearchList*, TDCMopts, TDTI4D*, int)':
dcm2niix/nii_dicom_batch.cpp:12540:31: warning: unused variable 'shearMat' [-Wunused-variable]
12540 | mat33 shearMat;
| ^~~~~~~~
dcm2niix/nii_dicom_batch.cpp:11882:14: warning: variable 'isHasOverlay' set but not used [-Wunused-but-set-variable]
11882 | bool isHasOverlay = dcmList[indx0].isHasOverlay;
| ^~~~~~~~~~~~
dcm2niix/nii_dicom_batch.cpp:12459:31: warning: variable 'hdrrx' set but not used [-Wunused-but-set-variable]
12459 | struct nifti_1_header hdrrx = hdr0;
| ^~~~~
dcm2niix/nii_dicom_batch.cpp:12460:14: warning: variable 'isFlipZ' set but not used [-Wunused-but-set-variable]
12460 | bool isFlipZ = false;
| ^~~~~~~
dcm2niix/nii_dicom_batch.cpp:12504:14: warning: variable 'isFlipY' set but not used [-Wunused-but-set-variable]
12504 | bool isFlipY = false;
| ^~~~~~~
dcm2niix/nii_dicom_batch.cpp: In function 'int nii_loadDirCore(char*, TDCMopts*)':
dcm2niix/nii_dicom_batch.cpp:15163:35: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
15163 | for (int i = 0; i < nameList.numItems; i++)
| ~~^~~~~~~~~~~~~~~~~~~
In file included from dcm2niix/nii_dicom_batch.cpp:29:
In function 'void tinydir_close(tinydir_dir*)',
inlined from 'void tinydir_close(tinydir_dir*)' at dcm2niix/tinydir.h:214:6,
inlined from 'int searchDirForDICOM(char*, TSearchList*, int, int, TDCMopts*)' at dcm2niix/nii_dicom_batch.cpp:14697:15:
dcm2niix/tinydir.h:232:18: warning: 'dir.tinydir_dir::_d' may be used uninitialized [-Wmaybe-uninitialized]
232 | if (dir->_d) {
| ~~~~~^~
dcm2niix/nii_dicom_batch.cpp: In function 'int searchDirForDICOM(char*, TSearchList*, int, int, TDCMopts*)':
dcm2niix/nii_dicom_batch.cpp:14655:21: note: 'dir' declared here
14655 | tinydir_dir dir;
| ^~~
dcm2niix/nii_dicom_batch.cpp:14657:20: warning: 'dir.tinydir_dir::has_next' may be used uninitialized [-Wmaybe-uninitialized]
14657 | while (dir.has_next) {
| ~~~~^~~~~~~~
dcm2niix/nii_dicom_batch.cpp:14655:21: note: 'dir' declared here
14655 | tinydir_dir dir;
| ^~~
In function 'void tinydir_close(tinydir_dir*)',
inlined from 'void tinydir_close(tinydir_dir*)' at dcm2niix/tinydir.h:214:6,
inlined from 'int searchDirForDICOM(char*, TSearchList*, int, int, TDCMopts*)' at dcm2niix/nii_dicom_batch.cpp:14697:15:
dcm2niix/tinydir.h:232:18: warning: 'dir.tinydir_dir::_d' may be used uninitialized [-Wmaybe-uninitialized]
232 | if (dir->_d) {
| ~~~~~^~
dcm2niix/nii_dicom_batch.cpp: In function 'int searchDirForDICOM(char*, TSearchList*, int, int, TDCMopts*)':
dcm2niix/nii_dicom_batch.cpp:14655:21: note: 'dir' declared here
14655 | tinydir_dir dir;
| ^~~
dcm2niix/nii_dicom_batch.cpp:14657:20: warning: 'dir.tinydir_dir::has_next' may be used uninitialized [-Wmaybe-uninitialized]
14657 | while (dir.has_next) {
| ~~~~^~~~~~~~
dcm2niix/nii_dicom_batch.cpp:14655:21: note: 'dir' declared here
14655 | tinydir_dir dir;
| ^~~
In function 'void tinydir_close(tinydir_dir*)',
inlined from 'void tinydir_close(tinydir_dir*)' at dcm2niix/tinydir.h:214:6,
inlined from 'int searchDirForDICOM(char*, TSearchList*, int, int, TDCMopts*)' at dcm2niix/nii_dicom_batch.cpp:14697:15:
dcm2niix/tinydir.h:222:18: warning: 'dir.tinydir_dir::_files' may be used uninitialized [-Wmaybe-uninitialized]
222 | if (dir->_files != NULL) {
| ~~~~~^~~~~~
dcm2niix/nii_dicom_batch.cpp: In function 'int searchDirForDICOM(char*, TSearchList*, int, int, TDCMopts*)':
dcm2niix/nii_dicom_batch.cpp:14655:21: note: 'dir' declared here
14655 | tinydir_dir dir;
| ^~~
In function 'int tinydir_readfile(const tinydir_dir*, tinydir_file*)',
inlined from 'int searchDirForDICOM(char*, TSearchList*, int, int, TDCMopts*)' at dcm2niix/nii_dicom_batch.cpp:14660:19:
dcm2niix/tinydir.h:281:18: warning: 'dir.tinydir_dir::_e' may be used uninitialized [-Wmaybe-uninitialized]
281 | if (dir->_e == NULL)
| ~~~~~^~
dcm2niix/nii_dicom_batch.cpp: In function 'int searchDirForDICOM(char*, TSearchList*, int, int, TDCMopts*)':
dcm2niix/nii_dicom_batch.cpp:14655:21: note: 'dir' declared here
14655 | tinydir_dir dir;
| ^~~
dcm2niix/nii_dicom_batch.cpp: In function 'int nii_loadDirOneDirAtATime(char*, TDCMopts*, int, int)':
dcm2niix/nii_dicom_batch.cpp:15474:20: warning: 'dir.tinydir_dir::has_next' may be used uninitialized [-Wmaybe-uninitialized]
15474 | while (dir.has_next) {
| ~~~~^~~~~~~~
dcm2niix/nii_dicom_batch.cpp:15472:21: note: 'dir' declared here
15472 | tinydir_dir dir;
| ^~~
dcm2niix/nii_dicom_batch.cpp:15474:20: warning: 'dir.tinydir_dir::has_next' may be used uninitialized [-Wmaybe-uninitialized]
15474 | while (dir.has_next) {
| ~~~~^~~~~~~~
dcm2niix/nii_dicom_batch.cpp:15472:21: note: 'dir' declared here
15472 | tinydir_dir dir;
| ^~~
In function 'int tinydir_readfile(const tinydir_dir*, tinydir_file*)',
inlined from 'int nii_loadDirOneDirAtATime(char*, TDCMopts*, int, int)' at dcm2niix/nii_dicom_batch.cpp:15477:19:
dcm2niix/tinydir.h:281:18: warning: 'dir.tinydir_dir::_e' may be used uninitialized [-Wmaybe-uninitialized]
281 | if (dir->_e == NULL)
| ~~~~~^~
dcm2niix/nii_dicom_batch.cpp: In function 'int nii_loadDirOneDirAtATime(char*, TDCMopts*, int, int)':
dcm2niix/nii_dicom_batch.cpp:15472:21: note: 'dir' declared here
15472 | tinydir_dir dir;
| ^~~
In function 'void tinydir_close(tinydir_dir*)',
inlined from 'void tinydir_close(tinydir_dir*)' at dcm2niix/tinydir.h:214:6,
inlined from 'int nii_loadDirOneDirAtATime(char*, TDCMopts*, int, int)' at dcm2niix/nii_dicom_batch.cpp:15491:15:
dcm2niix/tinydir.h:222:18: warning: 'dir.tinydir_dir::_files' may be used uninitialized [-Wmaybe-uninitialized]
222 | if (dir->_files != NULL) {
| ~~~~~^~~~~~
dcm2niix/nii_dicom_batch.cpp: In function 'int nii_loadDirOneDirAtATime(char*, TDCMopts*, int, int)':
dcm2niix/nii_dicom_batch.cpp:15472:21: note: 'dir' declared here
15472 | tinydir_dir dir;
| ^~~
In function 'void tinydir_close(tinydir_dir*)',
inlined from 'void tinydir_close(tinydir_dir*)' at dcm2niix/tinydir.h:214:6,
inlined from 'int nii_loadDirOneDirAtATime(char*, TDCMopts*, int, int)' at dcm2niix/nii_dicom_batch.cpp:15491:15:
dcm2niix/tinydir.h:232:18: warning: 'dir.tinydir_dir::_d' may be used uninitialized [-Wmaybe-uninitialized]
232 | if (dir->_d) {
| ~~~~~^~
dcm2niix/nii_dicom_batch.cpp: In function 'int nii_loadDirOneDirAtATime(char*, TDCMopts*, int, int)':
dcm2niix/nii_dicom_batch.cpp:15472:21: note: 'dir' declared here
15472 | tinydir_dir dir;
| ^~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DUSING_R -DmyDisableOpenJPEG -I. -Idcm2niix -Iujpeg -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RNifti/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dcm2niix/nii_ortho.cpp -o dcm2niix/nii_ortho.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DUSING_R -DmyDisableOpenJPEG -I. -Idcm2niix -Iujpeg -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RNifti/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dcm2niix/reproin.cpp -o dcm2niix/reproin.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DUSING_R -DmyDisableOpenJPEG -I. -Idcm2niix -Iujpeg -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RNifti/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ujpeg/ujpeg.cpp -o ujpeg/ujpeg.o
g++ -std=gnu++17 -shared -s -static-libgcc -o divest.dll tmp.def main.o dcm2niix/cJSON.o dcm2niix/dicom_fragments.o dcm2niix/jpg_0XC3.o dcm2niix/nifti1_io_core.o dcm2niix/nii_dicom.o dcm2niix/nii_dicom_batch.o dcm2niix/nii_ortho.o dcm2niix/reproin.o ujpeg/ujpeg.o -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.5.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2026_11_19_18_10_39_4080/RtmpqqVAGn/R.INSTALL11503c70d377a4/divest/src'
make[1]: Entering directory '/d/temp/2026_11_19_18_10_39_4080/RtmpqqVAGn/R.INSTALL11503c70d377a4/divest/src'
make[1]: Leaving directory '/d/temp/2026_11_19_18_10_39_4080/RtmpqqVAGn/R.INSTALL11503c70d377a4/divest/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-divest/00new/divest/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'divest' as divest_1.3.0.zip
* DONE (divest)