leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00192
[Bug 1372002] [NEW] Unable to build Cheerp C library (newlib)
Public bug reported:
Hi,
I have checked out the latest source from github and when i try to build the Cheerp C library (newlib) I get the following errors:
In file included from /opt/cheerp/include/client/cheerp/client.h:24:
/opt/cheerp/include/client/cheerp/types.h:117:11: error: use of undeclared
identifier '__builtin_cheerp_make_regular'
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:117:41: error: 'Object' does not refer
to a value
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:31:7: note: declared here
class Object
^
/opt/cheerp/include/client/cheerp/types.h:117:48: error: expected expression
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:117:58: error: subscripted value is
not an array, pointer, or vector
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
~~~~~~~~~^~~~~~
/opt/cheerp/include/client/cheerp/types.h:122:11: error: use of undeclared
identifier '__builtin_cheerp_make_regular'
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:122:41: error: 'Object' does not refer
to a value
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:31:7: note: declared here
class Object
^
/opt/cheerp/include/client/cheerp/types.h:122:48: error: expected expression
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:122:58: error: subscripted value is
not an array, pointer, or vector
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
Regards Johan
** Affects: cheerp
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of
Leaningtech Team, which is subscribed to Cheerp.
https://bugs.launchpad.net/bugs/1372002
Title:
Unable to build Cheerp C library (newlib)
Status in Cheerp: C++ for the Web:
New
Bug description:
Hi,
I have checked out the latest source from github and when i try to build the Cheerp C library (newlib) I get the following errors:
In file included from /opt/cheerp/include/client/cheerp/client.h:24:
/opt/cheerp/include/client/cheerp/types.h:117:11: error: use of undeclared
identifier '__builtin_cheerp_make_regular'
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:117:41: error: 'Object' does not refer
to a value
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:31:7: note: declared here
class Object
^
/opt/cheerp/include/client/cheerp/types.h:117:48: error: expected expression
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:117:58: error: subscripted value is
not an array, pointer, or vector
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
~~~~~~~~~^~~~~~
/opt/cheerp/include/client/cheerp/types.h:122:11: error: use of undeclared
identifier '__builtin_cheerp_make_regular'
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:122:41: error: 'Object' does not refer
to a value
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:31:7: note: declared here
class Object
^
/opt/cheerp/include/client/cheerp/types.h:122:48: error: expected expression
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
^
/opt/cheerp/include/client/cheerp/types.h:122:58: error: subscripted value is
not an array, pointer, or vector
return __builtin_cheerp_make_regular<Object*>(this, 0)[index];
Regards Johan
To manage notifications about this bug go to:
https://bugs.launchpad.net/cheerp/+bug/1372002/+subscriptions
Follow ups
References