Bug #1007
Cannot compile with clang on precise
Status: | Closed | Start date: | 06/19/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | A. Tuleu | % Done: | 0% | |
Category: | - | |||
Target version: | rci0.4 |
Description
using the precise packages (no CCA installed):
- clang : 3.0-6ubuntu3
- cmake : 2.8.7-0ubuntu4
- nemomath : 0.3 (from packages.cor-lab.org)
- rsc : 0.7.0 (from packages.cor-lab.org)
- libboost-dev : 1.48.0.2
When I do :
export CC=/usr/bin/clang export CXX=/usr/bin/clang++ cmake . make
Then I got the following errors in the attached file.
Related issues
Associated revisions
Removed boost::shared_ptr and use std::tr1::shared_ptr instead
fixes #1007
History
#1 Updated by A. Tuleu almost 12 years ago
Small update.
Actually previous statement was wrong, the package build from ci.cor-lab.de install by default libboost1.46, which is not compatible with clang
I removed libboost1.46, and I successfully (but with lot of warning escaped by gcc) compiled with clang the following svn/git latest revision/HEAD version :
- rsc : some warning about an unused parameter in a function call
- nemomath : one recurrent waring about an unused parameter in a function call
- rci : lot of warning about some overloading of virtual function. It seems really nasty warnings
- liboncilla.
So :
- dependency of debian package should be checked for precise
- some of the warning could be addressed for the given project.
#2 Updated by A. Tuleu almost 12 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r602.
#3 Updated by Anonymous almost 12 years ago
- Status changed from Resolved to New
- Assignee set to A. Tuleu
- % Done changed from 100 to 0
r602 needs to be rolled-back, since breaking compatibility with rsb remote transport (could be resolved in rci-rst converters, but would decrease runtime-performance).
#4 Updated by Anonymous over 10 years ago
- Target version set to rci0.4
#5 Updated by Anonymous over 10 years ago
- Status changed from New to Closed