Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2012 10:09:28 +0400
From:      andrix verunoff <vertunoff@gmail.com>
To:        chromium@FreeBSD.org
Subject:   chromium building error with clang and gcc46
Message-ID:  <CAKcYajURCYsxoRmom4395Te-s=OF6dF%2BYyPNcjiyTLUn2ue-0g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
last version in the ports

building error with gcc46 (and clang)

....

./base/logging.h: In function 'std::string* logging::CheckEQImpl(const t1&,
const t2&, const char*) [with t1 = scoped_refptr<base::MessageLoopProxy>,
t2 = MessageLoop*, std::string = std::basic_string<char>]':
media/audio/pulse/pulse_output.cc:129:3:   instantiated from here
./base/logging.h:555:1: error: no match for 'operator==' in 'v1 == v2'
./base/logging.h:555:1: note: candidates are:
./base/logging.h:555:1: note: operator==(MessageLoop*, MessageLoop*)
<built-in>
./base/logging.h:555:1: note:   no known conversion for argument 1 from
'const scoped_refptr<base::MessageLoopProxy>' to 'MessageLoop*'
./base/logging.h:555:1: note: operator==(base::MessageLoopProxy*,
base::MessageLoopProxy*) <built-in>
./base/logging.h:555:1: note:   no known conversion for argument 2 from
'MessageLoop* const' to 'base::MessageLoopProxy*'
./base/memory/scoped_ptr.h:224:6: note: template<class C> bool
operator==(C*, const scoped_ptr<C>&)
./base/memory/scoped_ptr.h:336:6: note: template<class C> bool
operator==(C*, const scoped_array<C>&)
./base/memory/scoped_ptr.h:462:6: note: template<class C, class FP> bool
operator==(C*, const scoped_ptr_malloc<C, FP>&)
./base/logging.h:555:1: warning: control reaches end of non-void function
[-Wreturn-type]
gmake: *** [out/Debug/obj.target/media/media/audio/pulse/pulse_output.o]
Error 1
....

*** Error code 1

Stop in /usr/ports/www/chromium.
*** Error code 1

Stop in /usr/ports/www/chromium.

....

#uname -a
FreeBSD freehost 9.0-RELEASE FreeBSD 9.0-RELEASE #7: Sat Mar 17 11:56:42
SAMT 2012     root@freehost:/sys/amd64/compile/GENERIC  amd64

port options :

# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for chromium-18.0.1025.151
_OPTIONS_READ=chromium-18.0.1025.151
WITH_CODECS=true
WITH_GCONF=true
WITHOUT_PULSEAUDIO=true
WITHOUT_CLANG=true
WITH_GCC46=true
WITH_DEBUG=true


-- 
andrix v.vertunoff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKcYajURCYsxoRmom4395Te-s=OF6dF%2BYyPNcjiyTLUn2ue-0g>