Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: FirstOne for Linux

Author: Dieter Buerssner

Date: 16:49:53 03/29/03

Go up one level in this thread


On March 29, 2003 at 19:37:22, Sune Fischer wrote:

A much more severe warning would be: This code depends on undefined behaviour of
the CPU for bsf with zero argument. I believe I had mentioned that, when I
showed the code snippet.

Anyway, you can ignore the warning you got (it really is a non issue), or you
can try to get rid of it, by making the code less readable. Already in this
thread, one method was shown, to get rid of the warning.

Some years ago, I tried to get rid of all warnings, any compiler would show. I
don't anymore. I don't want to be the slave of compiler warnings :-) If anybody
tries to code (inline) assembly, he better should know, what he is doing.

Cheers,
Dieter



This page took 0 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.