Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
whmoweryjr@yahoo.com
Total Points:
105
Status Points:
55
Green Belt
June 24, 2009 8:59 PM PDT
warning #10210
Hello world:

here are my 2 command line commands:

cd C:\Users\WHMoweryJr\Documents\DeepLearninToga 1.9\DeepLearninToga 1.9.6\src

icl /nologo /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Release/Toga.pch" /Fo"Release/" /Fd"Release/" /FD /O3 /G7 /GA /GF /Gs /Zm1000 /W5 /Qprof_gen /Qprof_dir"Release/" attack.cpp board.cpp book.cpp eval.cpp fen.cpp hash.cpp learn.cpp list.cpp main.cpp material.cpp move.cpp move_check.cpp move_do.cpp move_evasion.cpp move_gen.cpp move_legal.cpp option.cpp pawn.cpp piece.cpp posix.cpp probe.cpp protocol.cpp pst.cpp pv.cpp random.cpp recog.cpp search.cpp search_full.cpp see.cpp sort.cpp square.cpp trans.cpp util.cpp value.cpp vector.cpp /link /OUT:"Release\Toga.exe"

==========================================================================
and here is what the command line window looks like in part:

util.cpp(176): warning #1786: function "strcpy" (declared at line 74 of "C:\Prog
ram Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\string.h") was declared "
deprecated ("This function or variable may be unsafe. Consider using strcpy_s in
stead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for
details.") "
     strcpy(address,string);
     ^

value.cpp
vector.cpp
icl: warning #10210: problem with Microsoft compilation of 'attack.cpp'

C:\Users\WHMoweryJr\Documents\DeepLearninToga 1.9\DeepLearninToga 1.9.6\src>

Om Sachan (Intel)
Total Points:
7,230
Status Points:
6,730
Brown Belt
June 25, 2009 11:51 PM PDT
Rate
 
#1

I have not encountered this warning. I can help you investigate it but need the source file to reproduce the issue.



Judith Ward (Intel)
Total Points:
742
Status Points:
242
Brown Belt
June 26, 2009 1:34 PM PDT
Rate
 
#2 Reply to #1

This warning occurs when (under certain circumstances) the Intel compiler is forced to call the Microsoft
compiler and the Microsoft compiler can't compile the code.  One of these cases is when you
use the /FD (generate file dependencies) switch. In order to generate the file
dependencies the icl driver must call cl.

Normally the Microsoft compilation works fine and the user can't even tell that happened.
But under certain circumstances there might be something in the source file which the
Microsoft compiler can't handle. One example would be a C99 extension like _Complex types.

So you would see this warning for example if you tried to use the C99 extension that the Intel compiler supports
under the /Qstd=c99 (but the Microsoft compiler does not)  and also put /Fd on the command line,
i.e.:

!% cat t.c

int main() {
  float _Complex c;
  return 0;
}
!% icl /Qstd=c99 -c /FD t.c
Intel(R) C++ Compiler for applications running on IA-32, Version Mainline  Beta
 Build x
Built May 21 2009 12:47:08 by jward4 on SPTXPW2012 in F:/cmplr/dev_cfe/dev
Copyright (C) 1985-2009 Intel Corporation.  All rights reserved.

t.c
icl: warning #10210: problem with Microsoft compilation of 't.c'
!%


You can determine what is in your code that the Microsoft compiler can't handle by just compiling with cl
instead of icl.

Judy





Intel Software Network Forums Statistics

8445 users have contributed to 31553 threads and 100400 posts to date.
In the past 24 hours, we have 10 new thread(s) 32 new posts(s), and 42 new user(s).

In the past 3 days, the most popular thread for everyone has been Lost in MKL The most posts were made to TBB on linux segfaulting The post with the most views is Hi,if you were using imsl yo

Please welcome our newest member nonamez