← Back to team overview

leaningtech-dev team mailing list archive

Re: [Question #254810]: Unable to build Cheerp C library (newlib)

 

Question #254810 on Cheerp changed:
https://answers.launchpad.net/cheerp/+question/254810

Johan Axelsson posted a new comment:
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

-- 
You received this question notification because you are a member of
Leaningtech Team, which is an answer contact for Cheerp.