Re: Error compiling webkitmm



Woops forgot the github link.

https://github.com/shammancer/webkitmm2

-----Original Message-----

From: Kjell Ahlstedt
Sent: 11 Mar 2013 09:41:14 GMT
To: Dannick Pomerleau
Cc: Gtkmm
Subject: Re: Error compiling webkitmm

2013-03-11 05:57, Dannick Pomerleau skrev:
The error is comming from this function.

  inline T_return operator()(arg1_type_ _A_a1) const
    {
      if (!empty() && !blocked())
        return (reinterpret_cast<call_type>(slot_base::rep_->call_))(slot_base::rep_, _A_a1);
      return T_return();
    }


/home/dannick/Documents/programming/webkitmm/mainline/webkit/webkitmm/webinspector.cc:249:1:   required from here
/usr/include/sigc++-2.0/sigc++/functors/slot.h:516:23: error: value-initialization of reference type 'WebKit::WebView&'

Compilation error messages from libsigc++'s many C++ template functions and template classes can be very difficult to interpret.
The compiler says the error is in slot.h, but don't take that for granted. It can be somewhere else. To start with, it's interesting to know what's in webinspector.cc, around line 249.

Kjell


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]