Am 09.07.2012 15:07, schrieb Dominik Szczerba:
Thanks a lot for your hints. I managed to find the problem. By some
unclear reason iostream or one of its sub-includes includes math.h and
very strangely does not take the one in the system folder, instead
taking my local file called Math.h in the same folder as test.cxx
(Windows names are unfortunately case insensitive). Renaming the file
solves the issue.

The reason is very likely that MS compilers are broken regarding the difference between <> and "" in #include statements, i.e. they always work as "". You already found out why this is a bad idea.

Eike
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to