Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Compiler fails while VS compiler doesn't

debaetsd
Beginner
284 Views
hi,

In my project I using kdtree++ but when I compile (with intel , version 11.0.744.2008) I get compile errors (77 to be exact).
but when I switch back to the Visual Studio Compiler (visual studio 2008 + SP1) , it compiles and runs just fine.
I'm wondering do I need to change some settings for this?
or could anybody try to compile it without any errors (and makes it a problem related to my project)?
Any info on this please ?

cheers
0 Kudos
2 Replies
vectorizor
New Contributor I
284 Views
If you dont give more details about what kind of errors you are encountering, its hard to help.
0 Kudos
Dale_S_Intel
Employee
284 Views
It is hard to advise without more detail, but one common problem is a difference in warnings emitted by icl and cl. If "treat warnings as errors" is enabled, then the different warnings that icl emits may be treated as errors, leading to apparent compile errors.

Dale
0 Kudos
Reply