Giter VIP home page Giter VIP logo

Comments (16)

glinscott avatar glinscott commented on May 20, 2024

Which compiler?

from stockfish.

matthewlai avatar matthewlai commented on May 20, 2024

I also get that.

Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix

from stockfish.

mcostalba avatar mcostalba commented on May 20, 2024

gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)

On Sat, Jan 10, 2015 at 7:05 PM, Gary Linscott [email protected]
wrote:

Which compiler?


Reply to this email directly or view it on GitHub
#196 (comment)
.

from stockfish.

joergoster avatar joergoster commented on May 20, 2024

I only get that when compiling with debug=yes.
gcc version 4.9.2 (Ubuntu 4.9.2-0ubuntu1~14.04)

from stockfish.

zamar avatar zamar commented on May 20, 2024

gcc is known to suffer from false positives in this area... especially with -O3

from stockfish.

zamar avatar zamar commented on May 20, 2024

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56273

from stockfish.

mcostalba avatar mcostalba commented on May 20, 2024

Thanks for the link. Sadly it seems they simply don't care (after a failed
first attempt) to fix it.

On Wed, Jan 14, 2015 at 9:09 AM, Joona Kiiski [email protected]
wrote:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56273


Reply to this email directly or view it on GitHub
#196 (comment)
.

from stockfish.

zamar avatar zamar commented on May 20, 2024

Ignore for SF6.

syzygy implementation will be worked on during SF7 anyway.

from stockfish.

zamar avatar zamar commented on May 20, 2024

Good news. They have fixed the bug in the gcc5 branch :)

from stockfish.

Kingdefender avatar Kingdefender commented on May 20, 2024

Hi all,

This just for the record, I have recently installed the latest MinGW and, as reported by Felix on FishCooking also, it seems the issue is not fixed/back again, at least with current Stockfish master, you get the same warning. My version of GCC:
C:>GCC --version
GCC (i686-posix-dwarf-rev0, Built by MinGW-W64 project) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.

Eelco

from stockfish.

zamar avatar zamar commented on May 20, 2024

Still unfixed gcc bug:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59124

from stockfish.

vondele avatar vondele commented on May 20, 2024

this issue can now be closed.

What about making gcc's -Werror (all warnings are error) part of the makefile now ?

from stockfish.

lantonov avatar lantonov commented on May 20, 2024

With Marco's syzygy rewrite and gcc-6.1.0 I no longer get this warning

from stockfish.

mcostalba avatar mcostalba commented on May 20, 2024

Fixed by c0bb0415394179e9c771

from stockfish.

mstembera avatar mstembera commented on May 20, 2024

I get these warnings under MSVC w/ the new C++ syzygy implementation.
tbprobe.cpp(536): warning C4267: 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data
tbprobe.cpp(547): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
tbprobe.cpp(582): warning C4244: '=': conversion from 'uint64_t' to '`anonymous-namespace'::Sym', possible loss of data
tbprobe.cpp(983): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
tbprobe.cpp(1010): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data

from stockfish.

mcostalba avatar mcostalba commented on May 20, 2024

Thanks for reporting. I knew them also by looking at Travis ci output after
each commit.

I don't plan to fix them because they are wrong (gcc and clang don't report
them) and the fix if is a bunch of casts it is very ugly too.

If you are able to fix them without using casts then it's ok.

On Tuesday, November 8, 2016, mstembera [email protected] wrote:

I get these warnings under MSVC w/ the new C++ syzygy implementation.
tbprobe.cpp(536): warning C4267: 'initializing': conversion from 'size_t'
to 'uint32_t', possible loss of data
tbprobe.cpp(547): warning C4267: 'initializing': conversion from 'size_t'
to 'int', possible loss of data
tbprobe.cpp(582): warning C4244: '=': conversion from 'uint64_t' to
'`anonymous-namespace'::Sym', possible loss of data
tbprobe.cpp(983): warning C4267: '=': conversion from 'size_t' to 'int',
possible loss of data
tbprobe.cpp(1010): warning C4267: 'initializing': conversion from 'size_t'
to 'int', possible loss of data


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#196 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDGASjhs1J8vesjNkeKpQtkvVy_an7Zks5q8M1JgaJpZM4DQuIH
.

from stockfish.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.