Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- archishmaan@Archishmaans-MBP Willow % make
- clang++ src/datagen.cpp -O3 -march=native -std=c++2a -ffast-math -flto -o willow -lm
- In file included from src/datagen.cpp:6:
- In file included from src/globals.h:4:
- In file included from src/nnue.h:16:
- src/incbin.h:166:6: warning: "incbin is incompatible with bitcode. Using the library will break upload to App Store if you have bitcode enabled. Add `#define INCBIN_SILENCE_BITCODE_WARNING` before including this header to silence this warning." [-W#warnings]
- # warning "incbin is incompatible with bitcode. Using the library will break upload to App Store if you have bitcode enabled. Add `#define INCBIN_SILENCE_BITCODE_WARNING` before including this header to silence this warning."
- ^
- src/datagen.cpp:147: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(fen + fenkey, "%d", movelst[*key - 1].halfmoves);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.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/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
- #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
- ^
- src/datagen.cpp:154: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(fen + fenkey, "%d", (*key) / 2);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.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/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
- #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
- ^
- src/datagen.cpp:275:9: warning: '/*' within block comment [-Wcomment]
- /*if (r == 99)
- ^
- src/datagen.cpp:344:13: 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(fens[fkey++], "%s | %d | ", fen, g);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.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/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
- #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
- ^
- src/datagen.cpp:349: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(result, "%.1f", res);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.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/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
- #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
- ^
- 6 warnings generated.
- archishmaan@Archishmaans-MBP Willow %
Advertisement
Add Comment
Please, Sign In to add comment