Skip to content
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

Unterminated regular expression with file _CPCollectionKVCOperators.j #1188

Open
eileon opened this issue Sep 9, 2016 · 2 comments
Open

Comments

@eileon
Copy link

eileon commented Sep 9, 2016

I have this executing ./bootstrap in ArchipelClient :


Compiling [ObjJ] CPEnumerator.j..

= /^@(avg|count|m(ax|in)|sum|unionOfObjects|distinctU ^
ERROR line 2 in file:/usr/local/src/Archipel/ArchipelClient/Libraries/Cappuccino/Foundation/_CPCollectionKVCOperators.j: Unterminated regular expression
SyntaxError: Unterminated regular expression



var _CPCollectionKVCOperatorSimpleRE is a long regular expression always truncated as above

Maybe an Objective-j rpoblem
Reproducible systematically

@HTPC-Schrauber
Copy link
Contributor

HTPC-Schrauber commented Oct 28, 2016

CPEnumerator.j is part of Cappuccino.
This error also happens when building cappuccino itself.

I reported it on Cappuccino project here:
cappuccino/cappuccino#2499

Are you building on linux or Mac OS?

@HTPC-Schrauber
Copy link
Contributor

We found that this problem is related to the gcc compiler. Cappuccino uses the gcc compiler for preprocessing.

Build works with gcc < 5. From 5.x ongoing it is broken.

Debian Jessie works for build because it uses gcc 4.9.

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

No branches or pull requests

2 participants