Computer Chess Club Archives


Search

Terms

Messages

Subject: OT - mingw, long long, and shift operators

Author: Pat King

Date: 13:17:47 03/19/04


When attempting shifts > 32 on 64 bit types with mingw, I get a "Warning - shift
greater than data type", and, sure enough, unexpected things are happening to my
data. The gcc docs weasel about how shift "may" work on some implementations.

So is this a mingw thing? a gcc thing? a 32 bit OS thing? Are there other
operations lurking out there that only "may" work?

TIA, Pat



This page took 0.01 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.