Compiling rxvt-unicode-9.06 with Sun Studio 12
Maciej BliziĆski
maciej.blizinski at gmail.com
Mon Mar 16 10:40:51 CET 2009
Did anyone compile rxvt-unicode-9.06 using Sun Studio 12[1] compiler?
It doesn't like line 303 of rxvttoolkit.C:
"rxvttoolkit.C", line 303: Error: Unexpected type name "rxvt_display"
encountered.
"rxvttoolkit.C", line 303: Error: The operation
"void(rxvt_display::*)(ev::io&,int)> rxvt_display*" is illegal.
"rxvttoolkit.C", line 304: Error: Unexpected type name "rxvt_display"
encountered.
"rxvttoolkit.C", line 304: Error: The operation
"void(rxvt_display::*)(ev::prepare&,int)> rxvt_display*" is illegal.
The bit of code in question is a constructor of rxvt_display struct,
the first line inside the function:
rxvt_display::rxvt_display (const char *id)
: refcounted (id)
, selection_owner (0)
{
x_ev .set<rxvt_display, &rxvt_display::x_cb > (this);
flush_ev.set<rxvt_display, &rxvt_display::flush_cb> (this);
}
I verified that it does include rxvttoolkit.h, so it must know about
rxvt_display type.
x_ev is a member of rxvt_display struct, its type is ev::io. 'set' is
a method of this function, inherited from base:watcher, defined in
line 447 of libev/ev++.h.
I'm stuck there. Any ideas?
Maciej
[1] http://developers.sun.com/sunstudio/
More information about the rxvt-unicode
mailing list