Skip to content

Instantly share code, notes, and snippets.

@redj
redj / ide.bat
Last active July 15, 2016 03:18
@start "" "%~dp0ecere-ide.exe" %*
@redj
redj / wasm.econ
Last active May 23, 2017 06:25
ecere sdk compiler config for compiling to WebAssembly target
{
name = "WASM",
targetPlatform = linux,
numJobs = 8,
makeCommand = "mingw32-make",
ecpCommand = "ecp",
eccCommand = "ecc",
ecsCommand = "ecs",
earCommand = "ear",
cppCommand = "emcc.bat",
D:\c\e\e\bindings\python>py build_EDA.py
Traceback (most recent call last):
File "C:\sw\python\3.4\64bit\lib\site-packages\cffi\cparser.py", line 260, in _parse
ast = _get_parser().parse(csource)
File "C:\sw\python\3.4\64bit\lib\site-packages\pycparser\c_parser.py", line 151, in parse
debug=debuglevel)
File "C:\sw\python\3.4\64bit\lib\site-packages\pycparser\ply\yacc.py", line 331, in parse
return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
File "C:\sw\python\3.4\64bit\lib\site-packages\pycparser\ply\yacc.py", line 1181, in parseopt_notrack
tok = call_errorfunc(self.errorfunc, errtoken, self)
exclude *.3ds
global-exclude *.3ds
redj@jytha:~/c/e/e$ make bindings
Generating C Bindings...
Building C Bindings for ecereCOM...
Building C Bindings for ecere...
Building C Bindings for EDA...
Generating Python Bindings...
Building Python 3 Bindings for ecereCOM...
In file included from _pyeC.c:492:0:
/home/redj/c/e/e/bindings/py/../c/eC.h:571:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void (* Initialize)();
diff --git a/ecere/src/gfx/imgDistMap.ec b/ecere/src/gfx/imgDistMap.ec
index eb1a1b125..8526b2f29 100644
--- a/ecere/src/gfx/imgDistMap.ec
+++ b/ecere/src/gfx/imgDistMap.ec
@@ -9,6 +9,8 @@
*/
import "instance"
+#define _Float128 __float128
+
Default Compiler
ecere-Debug.Makefile - Makefile doesn't exist. Generating makefile for Debug config...
Compiling specific file(s) in project ecere using the Debug configuration...
Generating symbols...
SSLSocket.ec
Archive.ec
BufferedFile.ec
Date.ec
DualPipe.ec
EARArchive.ec
diff --git a/compiler/libec/src/lexer.l b/compiler/libec/src/lexer.l
index 3c7f1b45f..85f862fd7 100644
--- a/compiler/libec/src/lexer.l
+++ b/compiler/libec/src/lexer.l
@@ -135,6 +135,7 @@ default:
"int64" { return(INT64); }
"__int128" { return(INT128); }
"__float128" { return(FLOAT128); }
+"_Float128" { return(FLOAT128); }
"__builtin_va_list" { return(VALIST); }
D:\c\e\e>cd \c\e\e && python setup.py sdist bdist_wheel > py-setup.log
In file included from D:\c\e\e\bindings\c\eC.c:1:0:
D:\c\e\e\bindings\c\eC.h:106:42: error: '__ecereNameSpace__ecere__com__eModule_Load' redeclared as different kind of symbol
#define Module_load __ecereNameSpace__ecere__com__eModule_Load
^
D:\c\e\e\bindings\c\eC.c:269:25: note: in expansion of macro 'Module_load'
LIB_EXPORT C(Module) (* Module_load)(C(Module) __this, const char * name, C(AccessMode) importAccess);
^
In file included from D:\c\e\e\bindings\c\eC.c:1:0:
D:\c\e\e\bindings\c\eC.h:2378:29: note: previous declaration of '__ecereNameSpace__ecere__com__eModule_Load' was here
exclude .gitattributes
exclude .gitignore
exclude .mailmap
exclude .travis.yml
recursive-exclude autoLayout *
recursive-exclude bgen *
recursive-exclude bindings *
recursive-exclude butterbur *
recursive-exclude compiler Makefile.bootstrap
recursive-exclude doc *