On Sun, 1 Apr 2012 00:50:57 +0000 (UTC)
Rene Ladan <r...@freebsd.org> wrote:

 [ .. ]

>   Log:
>   Update to 18.0.1025.142
>   
>   Note that clang is now the default compiler (GCC 4.6 is
> optionable), base GCC became too old.


Compiling iwth CLANG, on a system where everything else is compiled
with GCC:

  CXX(target) out/Release/obj.target/media/media/audio/simple_sources.o
In file included from media/audio/pulse/pulse_output.cc:5:
In file included from ./media/audio/pulse/pulse_output.h:25:
In file included from ./base/memory/weak_ptr.h:63:
./base/logging.h:555:26: error: invalid operands to binary expression ('const 
scoped_refptr<base::MessageLoopProxy>' and 'MessageLoop *')
DEFINE_CHECK_OP_IMPL(EQ, ==)
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
./base/logging.h:548:12: note: expanded from:
    if (v1 op v2) return NULL; \
        ~~ ^  ~~
media/audio/pulse/pulse_output.cc:129:3: note: in instantiation of function 
template specialization 
'logging::CheckEQImpl<scoped_refptr<base::MessageLoopProxy>, MessageLoop
      *>' requested here
  DCHECK_EQ(stream->manager_->GetMessageLoop(), MessageLoop::current());
  ^
./base/logging.h:744:31: note: expanded from:
#define DCHECK_EQ(val1, val2) DCHECK_OP(EQ, ==, val1, val2)
                              ^
./base/logging.h:719:9: note: expanded from:
        logging::Check##name##Impl((val1), (val2),              \
        ^
./base/memory/scoped_ptr.h:224:6: note: candidate template ignored: failed 
template argument deduction
bool operator==(C* p1, const scoped_ptr<C>& p2) {
     ^
./base/memory/scoped_ptr.h:336:6: note: candidate template ignored: failed 
template argument deduction
bool operator==(C* p1, const scoped_array<C>& p2) {
     ^
./base/memory/scoped_ptr.h:462:6: note: candidate template ignored: failed 
template argument deduction
bool operator==(C* p, const scoped_ptr_malloc<C, FP>& b) {
     ^
1 error generated.
gmake: *** [out/Release/obj.target/media/media/audio/pulse/pulse_output.o] 
Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 1


-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> ite...@freebsd.org, PGP Key ID 057E9F8B493A297B

Attachment: signature.asc
Description: PGP signature

Reply via email to