[cmake-developers] [CMake 0013505]: Different search orders for C and C++ compilers
Mantis Bug Tracker
mantis at public.kitware.com
Fri Aug 31 11:16:21 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13505
======================================================================
Reported By: Jaime Frey
Assigned To:
======================================================================
Project: CMake
Issue ID: 13505
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-08-31 11:16 EDT
Last Modified: 2012-08-31 11:16 EDT
======================================================================
Summary: Different search orders for C and C++ compilers
Description:
The search order for C compilers (CMAKE_C_COMPILER_LIST) set in
CMakeDetermineCCompiler.cmake has gcc first and cc second.
The search order for C++ compilers (CMAKE_CXX_COMPILER_LIST) set in
CMakeDetermineCXXCompiler.cmake has c++ first and g++ second.
On recent versions of Mac OS X, this results in the default compilers being the
GNU C compiler and the Clang C++ compiler.
This mixing of compiler suites has caused problems for us when detecting which
command-line options are supported.
Can the compiler search orders be made consistent?
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-08-31 11:16 Jaime Frey New Issue
======================================================================
More information about the cmake-developers
mailing list