mingodad / squilu Goto Github PK
View Code? Open in Web Editor NEWA scripting language that accepts a subset of javascript and C/C++
A scripting language that accepts a subset of javascript and C/C++
What steps will reproduce the problem?
1. On Fedora 17 on a x86-64 system with gcc 4.7.2
clone the source tree
follow the build instruction in the file COMPILE
do
make sq64
It fails with
sqbaselib.cpp:1181:15: warning: enumeration value ‘OT_WEAKREF’ not handled
in switch [-Wswitch]
sqbaselib.cpp:1181:15: warning: enumeration value ‘OT_OUTER’ not handled in
switch [-Wswitch]
sqbaselib.cpp: At global scope:
sqbaselib.cpp:1724:1: error: invalid conversion from ‘int (*)(HSQUIRRELVM)
{aka int (*)(SQVM*)}’ to ‘SQFUNCTION {aka long long int (*)(SQVM*)}’
[-fpermissive]
sqobject.cpp: In function ‘bool WriteObjectAsCode(HSQUIRRELVM, SQUserPointer,
SQWRITEFUNC, SQObjectPtr&, bool)’:
sqobject.cpp:341:60: warning: format ‘%d’ expects argument of type
‘int’, but argument 4 has type ‘SQInteger {aka long long int}’
[-Wformat]
sqobject.cpp:341:60: warning: format ‘%d’ expects argument of type
‘int’, but argument 4 has type ‘SQInteger {aka long long int}’
[-Wformat]
sqvm.cpp: In member function ‘bool SQVM::FOREACH_OP(SQObjectPtr&,
SQObjectPtr&, SQObjectPtr&, SQObjectPtr&, SQInteger, int, int&)’:
sqvm.cpp:566:15: warning: enumeration value ‘eRunning’ not handled in
switch [-Wswitch]
cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but
not for C [enabled by default]
lua-regex.c: In function ‘add_value’:
lua-regex.c:523:17: warning: format ‘%d’ expects argument of type
‘int’, but argument 4 has type ‘long int’ [-Wformat]
lua-regex.c:523:17: warning: format ‘%d’ expects argument of type
‘int’, but argument 4 has type ‘long int’ [-Wformat]
make[1]: *** [sq64] Error 1
Original issue reported on code.google.com by [email protected]
on 16 Feb 2013 at 6:30
The modifications add lazy match in regex expressions. The following problem.
It seems that the cbp file can't compile under win7 32bit using codeblocks.
Anyway,is it possible to provide some project solution files used by vc2008
or vc2010 for squilu
Or is these any way to use premake to help generating other platform project
files ?
best wishes~
Original issue reported on code.google.com by gaoshuaibupt
on 7 Apr 2013 at 9:49
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.