Godzil
0f10f91839
Surprisly clang started to tell me where variable may used uninitialized, correcting it!
...
That's a good point it tell me that, but was a bit unexpected ^^
2015-06-24 23:41:49 +01:00
Godzil
c59e2f03ab
Augment the "template" buffer size, 50byte is too short for a path.
2015-06-24 23:41:49 +01:00
Manoel Trapier
5f00cd2e53
Make a brk/sbrk emulation.
...
Mac OS X seems to have some difficulties with brk/sbrk (maybe with the
4MB heap limit), and replace all the allocation logic will be prone to
errors, I'll add a new define and lib to emulate brk/sbrk using more
standard allocation methods. By default the heap is 64MB, it should be
enough.
2015-06-24 23:41:49 +01:00
Manoel Trapier
e92393d6f3
Correcting a nasty bug introduced in commit 6204c6b6416dfe4d3a0f0b0b7d6d8b5be81acefb
2015-06-24 23:41:49 +01:00
Manoel Trapier
b21aede758
Correct a bad change.
2015-06-24 23:41:49 +01:00
Manoel Trapier
3f6a9560c5
Correct assert definition to correctly display the faulty text instead of "x"
2015-06-24 23:41:49 +01:00
Manoel Trapier
93f542eb7a
Add #warning to cemcom.ansi
2015-06-24 23:41:49 +01:00
Manoel Trapier
2071a7dbb0
Correct bad changes
2015-06-24 23:41:48 +01:00
Manoel Trapier
4cb35a7d72
OUPS! printing text here was really not good idea!
2015-06-24 23:41:48 +01:00
Manoel Trapier
d853b7f2fb
Converting mach ncg...
2015-06-24 23:41:48 +01:00
Manoel Trapier
ca57bb617b
Correct some Linux/clang missing parts.
2015-06-24 23:41:48 +01:00
Godzil
ee6e8bdfc3
Correct comment errors.
2015-06-24 23:41:48 +01:00
Godzil
595e5258aa
Update i86 as part.
2015-06-24 23:41:48 +01:00
Godzil
d627b11b98
Do not use ACK cpp (even ANSI one) to compile for the host.
2015-06-24 23:41:48 +01:00
Godzil
da1cb44497
Currently deactivate all language expect ANSI C.
2015-06-24 23:41:48 +01:00
Godzil
a39e88ecca
Update generic part of the AS
2015-06-24 23:41:48 +01:00
Godzil
b31c94cf32
cpp.ansi: Add missing "#warning" directive
2015-06-24 23:41:48 +01:00
Manoel Trapier
5c73826e4c
Remove unwanted files
2015-06-24 23:41:48 +01:00
Manoel Trapier
46f101f4dd
Update makeheader.sh
2015-06-24 23:41:48 +01:00
Manoel Trapier
2830ec90b1
Finishing ANSI C frontend
2015-06-24 23:41:47 +01:00
Manoel Trapier
60b5f91561
More incoherency between MacOSX and Linux...
2015-06-24 23:41:47 +01:00
Godzil
b2d6e23b5f
Add small too to generate headers.
...
(Need cproto)
2015-06-24 23:41:47 +01:00
Godzil
6e6d9c26b5
Working on ANSI C frontend...
2015-06-24 23:41:47 +01:00
Godzil
1c4e04de3a
Next batch of changes!
2015-06-24 23:41:47 +01:00
Godzil
a05a174f40
MacOS X/clang found a new batch of warnings :)
2015-06-24 23:41:47 +01:00
Manoel Trapier
1b34c8cc9f
Warning hunt on ego.
2015-06-24 23:41:47 +01:00
Manoel Trapier
25c717d9b3
Next batch of warning hunt...
2015-06-24 23:41:47 +01:00
Manoel Trapier
1ed1edf94d
Correct an incoherency with arith and label types.
2015-06-24 23:41:47 +01:00
Manoel Trapier
08d1784f95
Remove more warns on ncgg
...
!! Maybe a bug found in ncgg cgg.y with n_coerc call atline 612
2015-06-24 23:41:47 +01:00
Manoel Trapier
e3b4856beb
As suspected clang/Linux have it's own sort of warns ^^
2015-06-24 23:41:47 +01:00
Godzil
0f7eaacc5f
Now CGG compile without warns ;)
2015-06-24 23:41:46 +01:00
Godzil
97bb7d9316
Remove bad prototypes
2015-06-24 23:41:46 +01:00
Manoel Trapier
20d58dea19
Another batch..
2015-06-24 23:41:46 +01:00
Manoel Trapier
2bbd5a38de
More strict checks...
2015-06-24 23:41:46 +01:00
Manoel Trapier
a8d9183e25
Reordonate modules in a more logical way.
...
(some modules have dependencies on other especially with header files)
2015-06-24 23:41:46 +01:00
Manoel Trapier
a262a916dc
Being a bit more strict on warnings (-Wall).
2015-06-24 23:41:46 +01:00
Manoel Trapier
74fb1cff61
Make GCC happy with current patchs and compilation flags.
2015-06-24 23:41:46 +01:00
Godzil
c0cd8650a6
Another batch especially on C ANSI frontend
2015-06-24 23:41:46 +01:00
Godzil
369ec26b03
Add a global symbol2str header
2015-06-24 23:41:46 +01:00
Godzil
2a5ab5b856
Update .gitignore
2015-06-24 23:41:46 +01:00
Godzil
350e569c2c
Correct printf with 64bit pointer
2015-06-24 23:41:45 +01:00
Godzil
d87b482eac
Correct some error on static function declaration.
2015-06-24 23:41:45 +01:00
Manoel Trapier
b31ac47714
A bit of missing corections.
2015-06-24 23:41:45 +01:00
Manoel Trapier
03763cbbf0
Starting ANSI C frontend
2015-06-24 23:41:45 +01:00
Manoel Trapier
452127650a
Next batch
2015-06-24 23:41:45 +01:00
Godzil
bd3e7b87e6
Getting sync.
2015-06-24 23:41:45 +01:00
Godzil
6093a51511
Add missing stdarg (funnily, linux/clang does not complain about this miss)
2015-06-24 23:41:45 +01:00
Manoel Trapier
41f96d5169
Next batch...
2015-06-24 23:41:45 +01:00
Manoel Trapier
c5bfc89269
Update README.
2015-06-24 23:41:45 +01:00
Manoel Trapier
22c8f3ac10
Add transtyping for support of 64bit cpu and 32cpu (or the printf verification for %d/%ld will fail)
2015-06-24 23:41:45 +01:00