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
4cb35a7d72
OUPS! printing text here was really not good idea!
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
Manoel Trapier
60b5f91561
More incoherency between MacOSX and Linux...
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
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
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
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
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
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
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
Godzil
674eb61908
Another batch...
2015-06-24 23:41:45 +01:00
Godzil
653bd13b40
Correct printf, and minor changes
2015-06-24 23:41:44 +01:00
Godzil
7b8e3edd43
Add missing function prototype.
2015-06-24 23:41:44 +01:00
Manoel Trapier
f6d58a0d04
Another batch...
2015-06-24 23:41:44 +01:00
Manoel Trapier
0946773758
ANSIfication] Another batch.
2015-06-24 23:41:44 +01:00
Manoel Trapier
3d1d1277b7
Next batch.
2015-06-24 23:41:44 +01:00
Manoel Trapier
71df09d022
Update tokens.g and regenerate tokens.c with it.
2015-06-24 23:41:44 +01:00
Manoel Trapier
498d867bc3
Update LLgen.g and regenerate LLgen.c with it.
2015-06-24 23:41:44 +01:00
Manoel Trapier
f1cd17c51e
Next batch, LLgen no longuer have warning under linux/clang.
2015-06-24 23:41:44 +01:00
Manoel Trapier
d28368333a
Next batch of Ansi-ification
2015-06-24 23:41:43 +01:00
Manoel Trapier
9f7ae734db
Part 1 of warning/old k&r inconsistency correction.
2015-06-24 23:41:43 +01:00
Godzil
33af50ea26
Start k&r to ansi modification
2015-06-24 23:41:43 +01:00
George Koehler
0fc7fd5d33
Prevent segfault when trying to print an error message.
...
Use <stdarg.h> to pass arguments correctly, as ack/util/util.c
already uses <stdarg.h> the same way.
2012-10-24 13:44:50 -04:00
David Given
4349d702fa
Change from using platform-specific types to stdint platform-independent types
...
when reading the structure header.
2012-09-27 11:32:40 +01:00
George Koehler
7ef9b79c11
Merge deletion of many undead files.
2012-09-23 15:31:16 -04:00
George Koehler
e7c79415b5
Prevent division by zero in aslod.
...
rhead() and rsect() had assumed sizeof(long) == 4, but OpenBSD/amd64
has sizeof(long) == 8. The problem revealed itself when sect->os_lign
became zero, and align() divided by zero.
2012-09-21 22:51:12 -04:00
George Koehler
0131ca4d46
Delete 689 undead files.
...
These files "magically reappeared" after the conversion from CVS to
Mercurial. The old CVS repository deleted these files but did not
record *when* it deleted these files. The conversion resurrected these
files because they have no history of deletion. These files were
probably deleted before year 1995. The CVS repository begins to record
deletions around 1995.
These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted. There is no way to fix
this, because the CVS repository provides no dates of deletion.
See http://sourceforge.net/mailarchive/message.php?msg_id=29823032
2012-09-20 22:26:32 -04:00
George Koehler
96ea0a5903
Fix more functions in util/ack for 64-bit hosts.
...
This continues the fix from changeset aabde0589450. We must use
va_list to forward the arguments, because some of the arguments might
be 64-bit pointers. A pointer does not fit in an int.
2012-09-07 16:28:10 -04:00
David Given
6ea172d0d9
Fix a 64-bitness issue (removed some untyped K&R C code that assumed ints
...
and pointers were the same size).
2012-02-27 22:36:36 +00:00
Ceriel Jacobs
1072a8797e
Added atol() that ignores overflow, so that unsigned long constants are dealt with properly
2011-06-15 11:13:48 +02:00
Ceriel Jacobs
2483e5723d
Fixed CFU
2011-06-15 10:56:58 +02:00
cjhjacobs
58613009f8
Fixed bug reported on tack-devel mailing list on 20-3-2011
2011-05-18 19:19:19 +02:00
David Given
b6dfaefeff
Removed file that the CVS conversion procedure left in (when it shouldn't have).
2011-03-20 20:47:10 +00:00
dtrg
c326f3c6a3
Remove references to using-machine-name-for-compiler, as we don't do that any more.
2010-08-09 22:47:33 +00:00