WheretIB / nullc

Fast C-like programming language with advanced features
MIT License
163 stars 13 forks source link

Compiling with NULLC_ENABLE_C_TRANSLATION fails #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Adding -DNULLC_ENABLE_C_TRANSLATION to the compile flags produces the attached 
errors on 64bit linux.

Did a 
make
make clean

There are a few int/long int conversion warnings, and a few missing compiles.

Thanks :-)

Original issue reported on code.google.com by Conrad.S...@gmail.com on 21 Sep 2010 at 6:54

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the report.

I will be working on a fix for this.

Original comment by Where...@gmail.com on 21 Sep 2010 at 9:25

GoogleCodeExporter commented 9 years ago

Original comment by Where...@gmail.com on 21 Sep 2010 at 9:30

GoogleCodeExporter commented 9 years ago
I've fixed the compilation errors and added translation for recently added 
features.

However, some x64 issues remain in translated code, for example, coroutines, 
closures and list comprehension will probably fail with SIGSEGV.

I will address those at a later time.

Original comment by Where...@gmail.com on 22 Sep 2010 at 8:17

GoogleCodeExporter commented 9 years ago
I've resolved issues with coroutines, closures, list comprehension, GC and 
other things in translated code.

If you run tests with translation enabled, tests requiring dynamic code 
evaluation and a few others will fail. They are a WontFix.

Original comment by Where...@gmail.com on 23 Sep 2010 at 12:33

GoogleCodeExporter commented 9 years ago
Thanks, it compiles fine now, and the compiler no longer segfaults.

Original comment by Conrad.S...@gmail.com on 23 Sep 2010 at 4:38