Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

@clero
Copy link
Contributor

@clero clero commented Apr 14, 2015

Add clang support to parameter-framework project.
Clang comes in Android with its standard library which supports c++11.

@clero clero mentioned this pull request Apr 14, 2015
@clero clero force-pushed the clang branch 3 times, most recently from 803f9c5 to 97ed495 Compare April 15, 2015 10:00
@clero
Copy link
Contributor Author

clero commented Apr 17, 2015

@dawagner @krocard please review

clero added 3 commits April 20, 2015 14:04
Swig does not any more generates code which require this flag. Moreover
this flag is not present in clang compiler.

Change-Id: I386ab576e93003d69dcf2c593670245070770024
Signed-off-by: Jules Clero <julesx.clero@intel.com>
accessAsInteger function prototype is defined in BaseParameter
abstract class with an uint32_t type. Nevertheless in BitParameter
the overloaded function take an uin64_t. It seems that GCC accepts
wrongly this mistake but clang don't.
This patch corrects the function prototype accordingly to the one
defined in BaseParameter. It allows the project to be compiled
with clang.

Signed-off-by: Jules Clero <julesx.clero@intel.com>
Clang compiler allows to use some great features in the
Android PDK (like c++11).

Change-Id: Ic80c04b0aff88aa947b3a07c6f35314cc4a7de28
Signed-off-by: Jules Clero <julesx.clero@intel.com>
@clero clero mentioned this pull request Apr 20, 2015
@clero clero force-pushed the clang branch 5 times, most recently from e0135d6 to 0776786 Compare April 24, 2015 13:31
Swig 2.0.12 is now installed to avoid the use of
Wno-unused-but-set-variable flag which is not present in Clang.
Swig sources are built from the official github release.
Nevertheless Swig installation success is not checked as the
yodl2man command, used for manual generation is not available in
travis whitelist.

Signed-off-by: Jules Clero <julesx.clero@intel.com>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 70.14% when pulling 0776786 on clero:clang into 4f6171c on 01org:next.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try to avoid documentation generation

@dawagner
Copy link
Contributor

Obsoleted by #133.

@dawagner dawagner closed this Jun 15, 2015
@clero clero deleted the clang branch June 17, 2015 16:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants