Skip to content

Conversation

@jiangzidong
Copy link
Contributor

@jiangzidong jiangzidong commented Dec 12, 2016

related issue #1468

Latest GCC compiler will report an error when the inline function definition is in a different source file
so we remove the inline flag

JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com

* @return ecma_length_t, the length of the arraybuffer
*/
inline ecma_length_t __attr_pure___ __attr_always_inline___
inline ecma_length_t __attr_pure___
Copy link
Member

Choose a reason for hiding this comment

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

Why the inline keyword is not removed?

related issue jerryscript-project#1468

JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com
@tilmannOSG tilmannOSG changed the title Remove the inline flag of arraybuffer helper funcs Remove the inline flag of ArrayBuffer helper functions Dec 12, 2016
Copy link

@tilmannOSG tilmannOSG left a comment

Choose a reason for hiding this comment

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

LGTM, only minor changes in the commit message:
arraybuffer -> ArrayBuffer
funcs -> functions
The commit message can be changed during the merge (no need to update the PR), @zherczeg and @LaszloLango please don't forget this if you are merging :)

@janjongboom
Copy link
Contributor

LGTM, fixes the build error against mbedos5 target with GCC 4.9.3.

@zherczeg
Copy link
Member

LGTM

@tilmannOSG tilmannOSG merged commit 85b6e01 into jerryscript-project:master Dec 12, 2016
@jiangzidong jiangzidong deleted the fix1468 branch December 13, 2016 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants