COIN-OR::LEMON - Graph Library

Opened 10 years ago

Closed 10 years ago

#154 closed task (fixed)

Wrong compiler flags with Intel C++ compiler

Reported by: alpar Owned by: ladanyi
Priority: major Milestone: LEMON 1.0 release
Component: core Version: hg main
Keywords: Cc:
Revision id:

Description

I run the configure scripts using Intel C++ compiler version 10.1 like this:

./configure --enable-demo --enable-benchmark CXX=/usr/local/intel/cc/10.1/bin/icpc

The scripts sets CXXFLAGS in a wrong way as it sets all the GCC specific -Wxyz flags are also set. The correct setting should probably be

CXXFLAGS=-g -O2

This bug exists in [bb40b6db0a58].

Attachments (1)

icc-detect.patch (1.4 KB) - added by ladanyi 10 years ago.
9768e60aa4e1

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by ladanyi

comment:1 Changed 10 years ago by ladanyi

  • Status changed from new to assigned

The attached patch fixes this.

comment:2 Changed 10 years ago by kpeter

  • Resolution set to fixed
  • Status changed from assigned to closed

The changeset went to the main branch.

Note: See TracTickets for help on using tickets.