Unable to build Cheerp C library (newlib)

Bug #1372002 reported by Johan Axelsson
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cheerp
Invalid
Undecided
Unassigned

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

Changed in cheerp:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.