Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Compiling Warning

Author: Bo Persson

Date: 14:38:12 10/16/02

Go up one level in this thread


On October 15, 2002 at 20:32:13, Nolan Denson wrote:

>While compiling I get the following warning ... Is this something i need to
>worry about. If so how can i fix it?
>
>c:\Crafty\iterate.c(209): warning #167: argument of type "void *" is
>incompatible with parameter of type "unsigned int (__stdcall *)(void *)"
>          tfork(pt,ThreadInit,proc);
>
>Thanks
>
>God Bless

What compiler are you using, and with what settings?

In standard C, void* is implicitly convertible to any pointer type, in C++ it is
not.


Bo Persson
bop2@telia.com



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.