Skip to content

Fix ChakraCore retail build#894

Merged
chakrabot merged 1 commit into
chakra-core:linuxfrom
digitalinfinity:cc_retail
May 1, 2016
Merged

Fix ChakraCore retail build#894
chakrabot merged 1 commit into
chakra-core:linuxfrom
digitalinfinity:cc_retail

Conversation

@digitalinfinity

Copy link
Copy Markdown
Contributor

Mostly just fixing link errors by explicitly instantiating templatized functions.
Hello world works on Linux retail builds now.


inline void SetPattern(UnifiedRegex::RegexPattern* pattern);
inline void SetSplitPattern(UnifiedRegex::RegexPattern* splitPattern);
void SetPattern(UnifiedRegex::RegexPattern* pattern)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

IMO inline is fine on this new definition. Also applies to one below

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, i think its fine too but it's probably unnecessary. IIRC, inline is implied for member functions defined within a class definition

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

IIRC, inline is implied for member functions defined within a class definition

Yes. They are actually defined within a class JavascriptRegExp

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Oh. @chakrabot has merged this one without putting back inline ?

Mostly just fixing link errors by explicitly instantiating templatized functions.
Hello world works on Linux retail builds now.
@digitalinfinity

Copy link
Copy Markdown
Contributor Author

@jianchun please review

Comment thread bin/ch/WScriptJsrt.cpp
{
const wchar_t *fileContent;
char *fileName;
char *fileName = (char*) "script.js";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We're hardcoding this value?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yup, this was the existing behavior- it looks like if a path is not provided, the default is script.js

@jianchun

Copy link
Copy Markdown

LGTM

1 similar comment
@dilijev

dilijev commented Apr 30, 2016

Copy link
Copy Markdown
Contributor

LGTM

@chakrabot chakrabot merged commit 1552054 into chakra-core:linux May 1, 2016
chakrabot pushed a commit that referenced this pull request May 1, 2016
Merge pull request #894 from digitalinfinity:cc_retail
Mostly just fixing link errors by explicitly instantiating templatized functions.
Hello world works on Linux retail builds now.
@digitalinfinity digitalinfinity deleted the cc_retail branch June 30, 2016 23:29
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.

6 participants