Skip Menu |
 

This queue is for tickets about the JavaScript-Lite CPAN distribution.

Report information
The Basics
Id: 90833
Status: new
Priority: 0/
Queue: JavaScript-Lite

People
Owner: Nobody in particular
Requestors: daxim [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.04
Fixed in: (no value)



Subject: does not build with mozjs-24.1.0
Download (untitled) / with headers
text/plain 5.3k
~/.cpanm/work/1385475191.6339/JavaScript-Lite-0.04$ perl Makefile.PL INC=-I/tmp/mozjs/include/mozjs-24.1 LIBS=-L/tmp/mozjs/lib Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for JavaScript::Lite Writing MYMETA.yml and MYMETA.json ~/.cpanm/work/1385475191.6339/JavaScript-Lite-0.04$ LANG=C make cc -c -I/tmp/mozjs/include/mozjs-24.1 -D_REENTRANT -D_GNU_SOURCE -fPIC -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC "-I/home/ldieckow/local/share/perlbrew/perls/perl_for_13_1/lib/5.14.4/x86_64-linux-thread-multi-ld/CORE" -Wall -Werror Lite.c In file included from /tmp/mozjs/include/mozjs-24.1/mozilla/Casting.h:12:0, from /tmp/mozjs/include/mozjs-24.1/mozilla/FloatingPoint.h:13, from /tmp/mozjs/include/mozjs-24.1/jsapi.h:12, from Lite.xs:11: /tmp/mozjs/include/mozjs-24.1/mozilla/TypeTraits.h:19:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/TypeTraits.h:19:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/mozilla/FloatingPoint.h:13:0, from /tmp/mozjs/include/mozjs-24.1/jsapi.h:12, from Lite.xs:11: /tmp/mozjs/include/mozjs-24.1/mozilla/Casting.h:16:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/Casting.h:16:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/jsapi.h:12:0, from Lite.xs:11: /tmp/mozjs/include/mozjs-24.1/mozilla/FloatingPoint.h:16:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/FloatingPoint.h:16:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/jsapi.h:13:0, from Lite.xs:11: /tmp/mozjs/include/mozjs-24.1/mozilla/RangedPtr.h:18:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/RangedPtr.h:18:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/jsapi.h:15:0, from Lite.xs:11: /tmp/mozjs/include/mozjs-24.1/mozilla/ThreadLocal.h:32:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/ThreadLocal.h:32:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/js/Utility.h:13:0, from /tmp/mozjs/include/mozjs-24.1/jsalloc.h:10, from /tmp/mozjs/include/mozjs-24.1/jsapi.h:23, from Lite.xs:11: /tmp/mozjs/include/mozjs-24.1/mozilla/Scoped.h:56:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/Scoped.h:56:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/js/Utility.h:25:0, from /tmp/mozjs/include/mozjs-24.1/jsalloc.h:10, from /tmp/mozjs/include/mozjs-24.1/jsapi.h:23, from Lite.xs:11: /tmp/mozjs/include/mozjs-24.1/js/TemplateLib.h:19:1: error: unknown type name 'namespace' namespace js { ^ /tmp/mozjs/include/mozjs-24.1/js/TemplateLib.h:19:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace js { ^ In file included from /tmp/mozjs/include/mozjs-24.1/jsalloc.h:10:0, from /tmp/mozjs/include/mozjs-24.1/jsapi.h:23, from Lite.xs:11: /tmp/mozjs/include/mozjs-24.1/js/Utility.h:28:1: error: unknown type name 'namespace' namespace JS {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:28:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace JS {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:31:1: error: unknown type name 'namespace' namespace mozilla {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:31:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:34:1: error: unknown type name 'namespace' namespace js {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:34:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace js {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:163:24: error: conflicting types for 'js_calloc' static JS_INLINE void* js_calloc(size_t nmemb, size_t size) ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:157:24: note: previous definition of 'js_calloc' was here static JS_INLINE void* js_calloc(size_t bytes) ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:368:15: fatal error: new: No such file or directory #include <new> ^ compilation terminated. make: *** [Lite.o] Error 1


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.