Author: Uri Blass
Date: 06:59:10 12/31/02
Go up one level in this thread
On December 31, 2002 at 09:50:30, Tom Likens wrote: >On December 31, 2002 at 09:13:15, Uri Blass wrote: > >>How do I get rid of this warning? >> >>C:\unzipped\movei257source\main.c(939): warning #181: argument is incompatible >>with corresponding format string conversion >> num_fields=sscanf(buffer,"level%s %s %s %s %s %s %s %s >>%s",&str1,&str2,&str3,&str4,&str5,&str6, >> >>Is there something wrong with the following? >> >>int num_fields=0; >>char >>str1[10],str2[10],str3[10],str4[10],str5[10],str6[10],str7[10],str8[10],str9[10]; >>num_fields=sscanf(buffer,"level%s %s %s %s %s %s %s %s >>%s",&str1,&str2,&str3,&str4,&str5,&str6, >> &str7,&str8,&str9); >> >>I use it to read the winboard command after level(can be not more than 9 even in >>the extended level command). >>There were no problems with it but for some reasons the intel compiler see >>problems. >> >>For now there is no speed change from the intel compiler but I still did not >>learn how to do profile optimization and I use only optimize for speed. >> >>Uri > >Uri, > >I'm not sure what operating system you are using but under Linux (with gnu >make) I use the following command line switches to generate first the >profile enabled version and then the final version. I do not use linux but only windows. I see that I was wrong when I said no change in speed. Without profile optimization I get more than 10% slower based on analysis of the opening position. My mistake was that I did not use rebuild all so it seems that intel compiler only compiled one file that is a file that is not used during the search. Uri
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.