Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How to get rid of remarks of the intel compiler

Author: Dieter Buerssner

Date: 07:48:54 01/07/03

Go up one level in this thread


On January 07, 2003 at 10:41:18, Uri Blass wrote:

>On January 07, 2003 at 09:31:35, Daniel Clausen wrote:
>
>>On January 07, 2003 at 09:16:21, Uri Blass wrote:
>>
>>>Here are some kind of remarks:
>>>
>>>C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\stdio.h(97): remark #344:
>>>typedef name has already been declared (with same type)
>>>  typedef char *  va_list;
>>
>>[snip]
>>
>>My guess is that the Intel compiler is more ANSI-compliant than the M$-compiler
>>and therefore doesn't like the M$-system header files too much.

Yes. You just have to ignore those warnings.


>>>2)I get a lot of remarks for movei and the most popular remark is
>>>
>>>external definition with no prior declaration
>>
>>Not quite sure what the compiler means with that.. but maybe you call a function
>>XYZ and the compiler didn't see the declaration before of this function before
>>that. (like forgot to include the header-file where the function would/should be
>>declared)
>
>Is there a reason that I need to declare that function.

>All calls for the functions are done after the function and in the same file.

In this case, everything is ok. You might need to change

int foo()
{ /* */ }

to

int foo(void)
{ /* */ }

For the unspecified order of evaluation, you might want to show an example.

Regards,
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.