[Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in

kuh3h3 at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Dec 6 16:02:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46824

           Summary: chromium-compile failed because error: no match for
                    ‘operator*’ in
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: kuh3h3@gmail.com


i tried to compile chromium recent version with trunk recent version gcc 4.6.
but failed. y think this is compiler problems.




$  /media/sdc2/gcc-4.5.1/bin/g++-46 -v
Using built-in specs.
COLLECT_GCC=/media/sdc2/gcc-4.5.1/bin/g++-46
COLLECT_LTO_WRAPPER=/media/sdc2/gcc-4.5.1/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ./configure --prefix=/media/sdc2/gcc-4.5.1
--with-gmp=/media/sdc2/gcc-4.5.1 --with-mpfr=/media/sdc2/gcc-4.5.1
--with-mpc=/media/sdc2/gcc-4.5.1 --program-suffix=-46
--with-ppl=/media/sdc2/gcc-4.5.1 --with-cloog=/media/sdc2/gcc-4.5.1
--disable-multilib -with-stage1-ldflags=-Wl,-rpath,/media/sdc2/gcc-4.5.1/lib
-with-boot-ldflags=-Wl,-rpath,/media/sdc2/gcc-4.5.1/lib
--without-included-gettext --enable-checking=release
--disable-cloog-version-check
Thread model: posix
gcc version 4.6.0 20101204 (experimental) (GCC) 



[/media/sdc1/chromium-trunk/src]$  make chrome chrome_sandbox BUILDTYPE=Release
 V=1
  export
LD_LIBRARY_PATH=/media/sdc1/chromium-trunk/src/out/Release/lib.host:/media/sdc1/chromium-trunk/src/out/Release/lib.target:$LD_LIBRARY_PATH;
cd build/util; mkdir -p
/media/sdc1/chromium-trunk/src/out/Release/obj/gen/build; python
./lastchange.py -o
"/media/sdc1/chromium-trunk/src/out/Release/obj/gen/build/LASTCHANGE" -d
../LASTCHANGE.in
  ccache /media/sdc2/gcc-4.5.1/bin/g++-46 -B/media/sdc2/gcc-4.5.1/bin/ 
'-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DENABLE_GPU=1'
'-DU_STATIC_IMPLEMENTATION' '-DUSE_SYSTEM_ZLIB' '-DUSE_GCONF'
'-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND'
'-DDYNAMIC_ANNOTATIONS_ENABLED=0' -Ithird_party/icu/public/common
-Ithird_party/icu/public/i18n -I. -Isdch/open-vcdiff/src
-Iout/Release/obj/gen/net -Iv8/include -pthread -fno-exceptions -Wall
-Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64
-fvisibility=hidden -pipe -m32 -mmmx -march=pentium4 -msse2 -mfpmath=sse
-fno-strict-aliasing -pthread -DQT_SHARED -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14
-I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore
-DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -pthread -DQT_SHARED -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/qt4
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -Inet/third_party/nss/ssl
-IWebKit/chromium/net/third_party/nss/ssl -I/usr/include/nss
-I/usr/include/nspr -O2 -fno-ident -fdata-sections -ffunction-sections
-fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -MMD -MF
out/Release/.deps/out/Release/obj.target/net/net/http/http_net_log_params.o.d.raw
-c -o out/Release/obj.target/net/net/http/http_net_log_params.o
net/http/http_net_log_params.cc
In file included from net/http/http_net_log_params.cc:7:0:
./net/http/http_net_log_params.h: In member function ‘const
net::HttpResponseHeaders& net::NetLogHttpResponseParameter::GetHeaders()
const’:
./net/http/http_net_log_params.h:54:13: error: no match for ‘operator*’ in
‘*((const
net::NetLogHttpResponseParameter*)this)->net::NetLogHttpResponseParameter::headers_’
make: *** [out/Release/obj.target/net/net/http/http_net_log_params.o] error 1



More information about the Gcc-bugs mailing list