Open GoogleCodeExporter opened 8 years ago
since it's just a compiling warning option, a possible way is just deleting all
'-Wno-long-double' from all the Makefiles, then the compiling can go on.
Original comment by DanielMe...@gmail.com
on 6 May 2008 at 2:21
For people too lazy to go to modify all the Makefiles themselves:
$ for each in `find . -print | grep Makefile`; do sed -i 's|-Wno-long-double||g'
$each; done
At the odcctools root.
Original comment by penguin...@gmail.com
on 25 Nov 2008 at 2:46
Having the same problem as OP, penguin's code output this:
$ for each in `find . -print | grep Makefile`; do sed -i 's|-Wno-long-double||g'
> each; done
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
sed: no input files
bash: each: command not found
Also running Ubuntu 8.04 on i386. Help appreciated.
Original comment by v1n...@live.com
on 3 Mar 2009 at 10:02
I got it running, I didn't realize that penguin's code was just another way of
removing the line from all the Makefiles
Original comment by v1n...@live.com
on 4 Mar 2009 at 8:03
# for each in `find . -print | grep Makefile`; do sed -i
's|-Wno-long-double||g' $each; done
Missing $ for usage of each variable
Original comment by mortimus...@gmail.com
on 20 Sep 2010 at 7:36
Original issue reported on code.google.com by
DanielMe...@gmail.com
on 6 May 2008 at 1:42