ddarriba / modeltest

Best-fit model selection
GNU General Public License v3.0
73 stars 21 forks source link

many warnings generated during install, is that ok? #71

Open liamxg opened 1 month ago

liamxg commented 1 month ago

Dear @stamatak,

4 warnings generated. [ 66%] Building C object libs/pll-modules/src/tree/CMakeFiles/pllmodtree_obj.dir/utree_operations.c.o [ 67%] Building C object libs/pll-modules/src/tree/CMakeFiles/pllmodtree_obj.dir/split_utree.c.o [ 68%] Building C object libs/pll-modules/src/tree/CMakeFiles/pllmodtree_obj.dir/lex_split.c.o /Volumes/4/0_liao/Liao2013/new/ag/modeltest-ng/build/modeltest/build/libs/pll-modules/src/tree/lex_split.c:1517:38: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {


1 warning generated.
[ 68%] Built target pllmodtree_obj
[ 69%] Linking C static library libpllmodtree.a
[ 69%] Built target pllmodtree_static
[ 70%] Building C object libs/pll-modules/src/util/CMakeFiles/pllmodutil_obj.dir/__/pllmod_common.c.o
[ 70%] Building C object libs/pll-modules/src/util/CMakeFiles/pllmodutil_obj.dir/models.c.o
/Volumes/4/0_liao/Liao2013/new/ag/modeltest-ng/build/modeltest/libs/pll-modules/src/util/models.c:396:37: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
  assert(PLL_STATE_POPCNT(gapstate) == states);
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/assert.h:99:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __ASSERT_FILE_NAME, __LINE__, #e) : (void)0)
                        ^
1 warning generated.
[ 71%] Building C object libs/pll-modules/src/util/CMakeFiles/pllmodutil_obj.dir/models_aa.c.o
[ 72%] Building C object libs/pll-modules/src/util/CMakeFiles/pllmodutil_obj.dir/models_dna.c.o
[ 73%] Building C object libs/pll-modules/src/util/CMakeFiles/pllmodutil_obj.dir/models_gt.c.o
[ 74%] Building C object libs/pll-modules/src/util/CMakeFiles/pllmodutil_obj.dir/models_mult.c.o
[ 74%] Built target pllmodutil_obj
[ 75%] Linking C static library libpllmodutil.a
[ 75%] Built target pllmodutil_static
[ 75%] Building CXX object src/CMakeFiles/modeltest_module.dir/genesis/date_time.cpp.o
/Volumes/4/0_liao/Liao2013/new/ag/modeltest-ng/build/modeltest/src/genesis/date_time.cpp:45:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
    sprintf (out, "%u-%02u-%02u",
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
/Volumes/4/0_liao/Liao2013/new/ag/modeltest-ng/build/modeltest/src/genesis/date_time.cpp:57:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
    sprintf (out, "%02u:%02u:%02u", ltm->tm_hour, ltm->tm_min, ltm->tm_sec);
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
2 warnings generated.