diff options
author | fergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917> | 2009-04-10 17:37:59 +0000 |
---|---|---|
committer | fergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917> | 2009-04-10 17:37:59 +0000 |
commit | 5468b2e0880e9cdfebeaa2d0665ea3ef0a082b34 (patch) | |
tree | 3693abad24a4d6cd915ee7f1f995137218c6eba1 | |
parent | 064dfdc23f048d514bb7b55d1f2121b613106ef1 (diff) | |
download | distcc-5468b2e0880e9cdfebeaa2d0665ea3ef0a082b34.tar.gz |
A fix for distcc issue 44 "Failed tests on make check (gentoo gcc-4.3.3)"
<http://code.google.com/p/distcc/issues/detail?id=44>.
We were using an invalid signature for main(), and newer versions of gcc
are stricter about checking this.
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@665 01de4be4-8c4a-0410-9132-4925637da917
-rwxr-xr-x | test/testdistcc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testdistcc.py b/test/testdistcc.py index c9aa23c..b94d556 100755 --- a/test/testdistcc.py +++ b/test/testdistcc.py @@ -601,7 +601,7 @@ class DotD_Case(SimpleDistCC_Case): class TempCompile_Case(Compilation_Case): def source(self): return """ -int main(char **argv) {}; +int main(void) { return 0; } """ def sourceFilename(self): return args.split()[0] |