Closed GoogleCodeExporter closed 8 years ago
Relax the compile flags in the makefiles. E.g.
http://code.google.com/p/libkml/source/browse/trunk/src/kml/base/Makefile.am#8
Removing -Werror might be sufficient.
Original comment by kml.mash...@gmail.com
on 17 Oct 2011 at 4:40
I also had this issue on Ubuntu 11.10. Same error. Had to edit the makefiles...
Original comment by chris...@gmail.com
on 11 Feb 2012 at 2:09
> Removing -Werror might be sufficient.
or
Adding -Wno-long-long # best?
or
Removing -pedantic
# after editting all Makefile.am, then re-run autogen.sh and configure...
BTW.
for nerwer GNU autotools, i'm glad if configure.ac had
m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) line.
Original comment by xwhhspri...@gmail.com
on 31 May 2012 at 7:10
i am new to linux and would like to apply this patch, what must i do
Original comment by sindile....@gmail.com
on 7 Jun 2012 at 10:56
i am new to linux and would like to apply this patch, what must i do
Original comment by sindile....@gmail.com
on 7 Jun 2012 at 10:56
> i am new to linux and would like to apply this patch, what must i do
sorry. i didn't intend it as patch, i had just copied the result from 'svn
diff', in order to point out where we should edit, so you might not to be able
to apply it as `patch'. (actually i don't know how to apply it, me too. ;-)
Original comment by xwhhspri...@gmail.com
on 19 Jun 2012 at 6:57
Same issue with ubuntu 12.04 / gcc 4.6.3
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../.. -I../../../src -I../../../third_party/boost_1_34_1
-I../../../third_party/googletest-r108/include -Wall -Wextra
-Wno-unused-parameter -Werror -ansi -pedantic -fno-rtti -g -O2 -MT atom_util.lo
-MD -MP -MF .deps/atom_util.Tpo -c -o atom_util.lo atom_util.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src
-I../../../third_party/boost_1_34_1
-I../../../third_party/googletest-r108/include -Wall -Wextra
-Wno-unused-parameter -Werror -ansi -pedantic -fno-rtti -g -O2 -MT atom_util.lo
-MD -MP -MF .deps/atom_util.Tpo -c atom_util.cc -fPIC -DPIC -o
.libs/atom_util.o
In file included from ../../../third_party/boost_1_34_1/boost/config.hpp:57:0,
from ../../../third_party/boost_1_34_1/boost/intrusive_ptr.hpp:16,
from ../../../src/kml/base/xml_element.h:31,
from ../../../src/kml/dom/kml_cast.h:29,
from ../../../src/kml/dom.h:32,
from ../../../src/kml/convenience/atom_util.h:34,
from atom_util.cc:28:
../../../third_party/boost_1_34_1/boost/config/suffix.hpp:435:18: error: ISO
C++ 1998 does not support 'long long' [-Werror=long-long]
../../../third_party/boost_1_34_1/boost/config/suffix.hpp:436:18: error: ISO
C++ 1998 does not support 'long long' [-Werror=long-long]
cc1plus: all warnings being treated as errors
Original comment by schwehr@google.com
on 20 Aug 2012 at 6:40
Original comment by fwarmerdam@gmail.com
on 30 Jan 2013 at 11:10
Original issue reported on code.google.com by
qlands.s...@gmail.com
on 17 Oct 2011 at 11:53