Skip to content

Eliminate cpp featureset #876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 15, 2016

Conversation

robertsipka
Copy link
Contributor

No description provided.


# Imported libraries
if(("${PLATFORM}" STREQUAL "DARWIN") AND (NOT (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)))
if(("${PLATFORM}" STREQUAL "DARWIN") AND (NOT (CMAKE_COMPILER_IS_GNUCC)))
Copy link
Member

Choose a reason for hiding this comment

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

Unnecessary parentheses around CMAKE_COMPILER_IS_GNUCC

@akosthekiss
Copy link
Member

Please, also update docs/DEVELOPMENT.md

@zherczeg
Copy link
Member

Please provide some statistics about code size and performance.

@LaszloLango LaszloLango added enhancement An improvement performance Affects performance binary size Affects binary size labels Feb 12, 2016
@akosthekiss
Copy link
Member

CMakeLists.txt still contains quite some logic for libgcc_eh.a. With C++, and thus exception handling and stack unwinding gone, is libgcc_eh.a still needed?

(The libclang_rt.osx.a is also suspicious.)

@@ -1,4 +1,4 @@
/* Copyright 2015 Samsung Electronics Co., Ltd.
/* Copyright 2015 Samsung Electronics Co., Ltd.
Copy link
Contributor

Choose a reason for hiding this comment

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

accident change, remove space

@robertsipka
Copy link
Contributor Author

Thanks for the comments, I've updated the patch and rebased with master.

@@ -3,7 +3,7 @@
Currently, only Ubuntu 14.04+ is officially supported as primary development environment.

There are several dependencies, that should be installed manually. The following list is required for building:
- `gcc` or `g++` higher than `4.8.2`
- `gcc` higher than `4.8.2`
Copy link
Member

Choose a reason for hiding this comment

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

Do we need gcc 4.8.2 for a C99 compatible engine?

@zherczeg
Copy link
Member

Nice job! LGTM. I think we could reduce the minimum GCC version, but that is not important at the moment.

@robertsipka robertsipka force-pushed the eliminate_cpp branch 2 times, most recently from 0c76bfe to c9a0241 Compare February 15, 2016 11:08
Use c-style cast instead of reinterpret_cast.
Use identifiers for function parameters.
Use type cast to avoid conversion error.

JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
Move all '.cpp' files to '.c'.
Rename comments from 'cpp' to 'c'.

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binary size Affects binary size enhancement An improvement performance Affects performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants