← Back to team overview

leaningtech-dev team mailing list archive

[Bug 1372002] Re: Unable to build Cheerp C library (newlib)

 

** Changed in: cheerp
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/cheerp/+question/254810

-- 
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:
  Invalid

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


References