Author: Dave Gomboc
Date: 04:13:09 01/01/03
Go up one level in this thread
On January 01, 2003 at 05:01:18, Uri Blass wrote: >On December 31, 2002 at 16:03:47, Dann Corbit wrote: > >>On December 31, 2002 at 14:28:07, Uri Blass wrote: >>[snip] >>>Thanks for all the information about the flags. >>>I already printed it and I will look at it later. >>> >>>I am not sure if I understand what you suggest. >>>Do you suggest to delete only the last 2 flags and add all the list? >> >>Yes. > >I tried it now >including Qprof_genx instead of Qprof_use > >I get a lot of comments >I understand from the comments that >Here are some of them > >I do not like disabling multiple optimizations. >I thought that only user_profile optimization should be disabled so I can >compare user_profile optimizations with the code under intel compiler without >them > >Here is what I got > >Compiling... >boardi.c >icl: Command line warning: overriding '-O2' with '-O3' >icl: warning: PGOPTI instrumentation disables multifile optimizations >icl: warning: PGOPTI instrumentation disables IP optimizations >icl: warning: PGOPTI instrumentation disables automatic CPU specialization > >I also got remark #310: old-style parameter list (anachronism) > >I can fix that remark by having functions like > >void gen(void) and not void gen() but I do not see the importance of it >because there is no problem with not declaring void. > >It seems that the intel compiler is too complex for me to understand so I will >leave it now and go back for it later(I have things to improve even without the >intel compiler) > >Uri IIRC, in a very old version of C (known as "K&R C"), "void gen()" did not mean that there were no arguments -- it only meant that there is a function called gen that has no return value. Arguments to the function were specified separately afterwards. You're better off using "void gen(void)" -- and besides, all modern C code is written that way -- which is why the compiler is giving you a warning. Dave
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.