Comments (7)
Work-around is to pass WERROR_CFLAGS= to make, e.g.
sh configure
make WERROR_CFLAGS=
make WERROR_CFLAGS= install
Original comment by [email protected]
on 30 Jun 2008 at 4:53
from distcc.
Original comment by [email protected]
on 30 Jun 2008 at 4:55
- Changed state: Accepted
from distcc.
Hi,
Thanks for the bug report.
I can't reproduce the bug myself, but I think the attached patch will fix it.
Could you please test it?
Cheers,
Fergus.
Original comment by [email protected]
on 30 Jul 2008 at 12:51
Attachments:
from distcc.
Original comment by [email protected]
on 30 Jul 2008 at 1:04
- Changed state: Started
from distcc.
Thank you for your reply Fergus.
This patch seems to works good for me, but build fails in another line.
I got error:
gcc -DHAVE_CONFIG_H -D_GNU_SOURCE -DSYSCONFDIR="\"/etc\""
-DPKGDATADIR="\"/usr/share/distcc\"" -Isrc -I"../distcc-3.0rc2/src"
-I"../distcc-3.0rc2/lzo" -I"../distcc-3.0rc2/popt" -Werror -O3 -MD -W -Wall
-Wimplicit -Wuninitialized -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wmissing-declarations -pthread -o src/filename.o -c
../distcc-3.0rc2/src/filename.c
cc1: warnings being treated as errors
../distcc-3.0rc2/src/filename.c: In function 'dcc_is_object':
../distcc-3.0rc2/src/filename.c:274: warning: passing argument 1 of
'dcc_find_extension' discards qualifiers from pointer target type
make: *** [src/filename.o] Error 1
Original comment by [email protected]
on 30 Jul 2008 at 12:31
from distcc.
Thanks for testing it.
Here's another patch that I think should fix all the occurrences of this.
(If it fails, please try "make -k" so that we can fix more errors in one go :)
Original comment by [email protected]
on 30 Jul 2008 at 7:22
Attachments:
from distcc.
I've submitted this patch to the mainline.
So as of revision 575, this should be fixed now.
Original comment by [email protected]
on 31 Jul 2008 at 7:14
- Changed state: Fixed
from distcc.
Related Issues (20)
- Compilation fails under Cygwin HOT 2
- --coverage flag not treated correctly HOT 1
- missing feature: support --coverage to compile remotely HOT 1
- ls HOT 1
- Apparently not getting much parallelism HOT 9
- [deleted issue]
- Include server not covering... HOT 6
- GPL3 encumbrance HOT 9
- disable distcc HOT 3
- unknown translation unit - mips64 compiler HOT 4
- Building with GCC 4.7.3 on x86_32 fails due to warnings in lzo/minilzo.c HOT 3
- Documentation for --random is incomplete
- lsdistcc_1.html Shown as Raw File in Browser HOT 1
- zeroconf hosts have a hardcoded slots value of 4? HOT 2
- OS X Yosemite Compile Fixes
- absence of DISTCC_SSH setting causes exec("ssh") failure HOT 1
- lsdistcc segfaults when called with more than 502 hosts
- [PATCH] SOCKSv5 proxy support HOT 2
- distccd not honoring DISTCC_TCP_CORK=0
- gnome/distccmon-gnome.desktop is not utf-8 encoded file.It is ISO-8859.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distcc.