[M3devel] "C-generating backend progress report, that nobody asked for" :)

Dragiša Durić dragisha at m3w.org
Sun Sep 9 08:32:38 CEST 2012


Extremelly Good Thing.

Cleaning up of whole system needed to generate new backend also enables other people to do things in future.

I hope somebody will take on LLVM :).

--
Divided by a common language

Dragiša Durić
dragisha at m3w.org




On Sep 8, 2012, at 9:56 AM, Jay K wrote:

> This directory has a bunch of the .mc/.ic files that constitute cm3 (not the whole system, but m3core, libm3, sysutils, m3front, m3middle, m3quake, m3back..)
> Maybe I forgot some.
> This represents a lot of success.
> I give line counts to show I'm actually doing anything.
> 
> 
> jbook2:t1 jay$ gcc -m64 -c *.c
> ASCII.ic.c:332:3: warning: integer constant is so large that it is unsigned
> ASCII.ic.c:332: warning: this decimal constant is unsigned only in ISO C90
> FPU.ic.c:195: warning: conflicting types for built-in function ‘ldexp’
> Interval.ic.c:432:3: warning: integer constant is so large that it is unsigned
> Interval.ic.c:432: warning: this decimal constant is unsigned only in ISO C90
> M3CG_BinRd.mc.c: In function ‘M3CG_BinRd__Scan_type’:
> M3CG_BinRd.mc.c:3494: warning: comparison is always false due to limited range of data type
> M3Process.mc.c: In function ‘M3Process__Interrupt’:
> M3Process.mc.c:268: error: ‘Usignal__SIGINT’ undeclared (first use in this function)
> M3Process.mc.c:268: error: (Each undeclared identifier is reported only once
> M3Process.mc.c:268: error: for each function it appears in.)
> M3Process.mc.c: In function ‘M3Process__Abort’:
> M3Process.mc.c:333: error: ‘Usignal__SIGKILL’ undeclared (first use in this function)
> Math.ic.c:294: warning: conflicting types for built-in function ‘cabs’
> Math.ic.c:302: warning: conflicting types for built-in function ‘ldexp’
> Math.ic.c:325: warning: conflicting types for built-in function ‘jn’
> Math.ic.c:335: warning: conflicting types for built-in function ‘yn’
> Rect.ic.c:657:3: warning: integer constant is so large that it is unsigned
> Rect.ic.c:657: warning: this decimal constant is unsigned only in ISO C90
> Rect.ic.c:659:3: warning: integer constant is so large that it is unsigned
> Rect.ic.c:659: warning: this decimal constant is unsigned only in ISO C90
> Region.ic.c:518:3: warning: integer constant is so large that it is unsigned
> Region.ic.c:518: warning: this decimal constant is unsigned only in ISO C90
> Region.ic.c:520:3: warning: integer constant is so large that it is unsigned
> Region.ic.c:520: warning: this decimal constant is unsigned only in ISO C90
> TWord.mc.c: In function ‘TWord__Or’:
> TWord.mc.c:2411: warning: comparison is always false due to limited range of data type
> TWord.mc.c:2411: warning: comparison is always false due to limited range of data type
> TWord.mc.c: In function ‘TWord__Xor’:
> TWord.mc.c:2470: warning: comparison is always false due to limited range of data type
> TWord.mc.c:2470: warning: comparison is always false due to limited range of data type
> TextConv.ic.c:361:3: warning: integer constant is so large that it is unsigned
> TextConv.ic.c:361: warning: this decimal constant is unsigned only in ISO C90
> jbook2:t1 jay$ ls -l *.mc *.ic |wc -l
>      700
> jbook2:t1 jay$ ls -l *.c |wc -l
>      700
> jbook2:t1 jay$ wc -l *.c | grep total
>   662454 total
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120909/566bf485/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120909/566bf485/attachment-0002.sig>


More information about the M3devel mailing list