David Akdikmen wrote:
First problem is that ATTR_UNUSED is being expanded to __attribute__(..)
which is a GNU compiler feature. Looks like the
TRY_COMPILE_FROM_SOURCE("int x __attribute__((__unused__))"
In Utilities/cmxmlrpc/CMakeLists.txt is succeeding when it should not.
Look for a file called CMakeOutput.log in the build tree. It should be
under the CMakeFiles directory. That log file should contain the
compiler output from the successful build of that try-compile source.
There is also a CMakeError.log containing the output of try-comiples
that failed. Make sure this try-compile appears in one of them. It may
tell you why the wrong result was obtained.
-Brad
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake