Comments (10)
Did you update your MSYS installation after #29 ?
It seems MSYS/MinGW doesn't know what it wants.
from cfish.
Ah, I thought these warning were caused by the changes I made then, but that's not true.
from cfish.
The problem is that fixing this by using the %z modifier for both Linux and Windows breaks cross-compilation for Windows with MinGW on Linux. (I could just cast the size_t values to int and use %d to work around the problem, but there is an annoying inconsistency in MinGW.)
from cfish.
Adding a compilation flag may have done the trick. At least it works now for MinGW on Linux.
1e615f5
from cfish.
nope, it's not fixed and now I get additional warnings.....
a) benchmark.c:209:35: warning: unknown conversion type character 'z' in format [-Wformat=]
fprintf(stderr, "\nPosition: %zu/%zu\n", ++j, num_fens - num_opts);
b) benchmark.c:209:21: warning: too many arguments for format [-Wformat-extra-args]
fprintf(stderr, "\nPosition: %zu/%zu\n", ++j, num_fens - num_opts);
c) benchmark.c:223:19: warning: ISO C does not support the 'I64' ms_printf length modifier [-Wformat=]
from cfish.
Do you get those warnings with COMP=mingw or with the (default) COMP=gcc?
I suppose you're also getting warnings in at least search,c?
from cfish.
COMP=gcc (7.3.0)
I get warnings in:
benchmark.c
position.c
search.c
tt.c
from cfish.
OK, please try again with the latest commit.
from cfish.
works fine, no warnings anymore........but final executable increased size from 196k to 221k
from cfish.
Yes, because it now links in a standard-compliant version of printf.
Without it you need to use %I, but then the compiler complains.
from cfish.
Related Issues (20)
- macOS Mojave 10.14.6 profile (pgo) build fails. HOT 1
- go nodes 2147483648 (or higher) fails because of using atoi() instead of strtoull(). HOT 1
- Cfish Development HOT 2
- weird bishop and rook attacks code HOT 1
- this v12 has no NNUE? HOT 5
- Is cfish 13 or somethin under development? I wanted to use cfish as a lichess bot running on https://github.com/ShailChoksi/lichess-bot so that i test its power ,i really dont know how strong this engine is , any idea of its estimated ELO? HOT 2
- Engine Exits without Exit Code on Scid vs PC Ubuntu 20.04 HOT 2
- Updating Cfish code to use more books HOT 3
- how to Change Arch HOT 1
- Make a Fat Cfish to handle bigger nets with 45 Mb HOT 2
- Support for bigger network. HOT 5
- Possible compilation error on AVX512, VNNI512 and VNNI256. HOT 5
- Newest update crashes on Android HOT 19
- Do you have plans for a near(!) release of Cfish 14?
- New Architecture for NNUE nets HOT 1
- Android building issue using updated code. HOT 6
- Error compiling 32-bit on MinGW and MSYS2 HOT 11
- On sparsity and the best way to compute indices of non zero elements. HOT 2
- off-by-one in tbprobe.c
- Standalone executable file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfish.