Opened 7 years ago

Closed 8 weeks ago

#118 closed defect (migrated)

configure script detects cl instead of clang

Reported by: fsaric Owned by: tkr
Priority: major Component: Cbc
Version: 2.7 Keywords:
Cc:

Description

In a couple of places configure script contains detection code that tries to detect Microsoft's cl compiler by pattern matching cl*.

Unfortunately, a new compiler called clang also matches cl*. The configure script sets COIN_CC_IS_CL_TRUE and COIN_CXX_IS_CL_TRUE to true, which breaks build with clang.

  • clang is the default compiler on macports (and will probably be a default compiler on Mac very soon).

Change History (3)

comment:1 Changed 7 years ago by tkr

This ticket should be posted to the BuildTools. I will leave it open until I see it reposted there. Thanks!

comment:2 Changed 7 years ago by stefan

I modified macros in BuildTools/coin.m4 to hopefully not confuse clang with cl anymore. This is in BuildTools/trunk and stable/0.7, and will be in the next release. It usually takes some time to get these changes into releases of all projects.

And I don't have clang installed to test this.

Stefan

comment:3 Changed 8 weeks ago by stefan

  • Resolution set to migrated
  • Status changed from new to closed

This ticket has been migrated to GitHub and will be resolved there: https://github.com/coin-or/Cbc/issues/118

Note: See TracTickets for help on using tickets.