Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
7651 Discussions

Compiler fails while VS compiler doesn't

debaetsd
Beginner
142 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
142 Views
If you dont give more details about what kind of errors you are encountering, its hard to help.
Dale_S_Intel
Employee
142 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
Reply