Hello,

  Would some one with C++ knowledge help me out?  I've run into an
error compiling wesnoth version 1.6.5 using Sun Studio 11.  The
relevant compiler error message:

"marked-up_text.cpp", line 222: Error: Ambiguous "?:" expression,
second operand of type "surface" and third operand of type "int" can
be converted to one another.

the relevant part of marked-up_text.cpp (line 222) contains:

        return draw_text(gui != NULL ? gui->getSurface() : NULL, area,
size, colour, txt, x, y, use_tooltips, style);


Is there some syntax I can add/modify to this statement that will
clear up the ambiguity the compiler is complaining about?

Thanks, Jake
_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Reply via email to