[csw-maintainers] Error: Ambiguous "?:" expression

Philip Brown phil at bolthole.com
Tue Mar 9 18:34:47 CET 2010


On Tue, Mar 9, 2010 at 9:28 AM, Jake Goerzen <jgoerzen at opencsw.org> wrote:
>
> "./gui/widgets/generator_private.hpp", line 173: Error:
> "gui2::policy::placement::thorizontal_list::calculate_best_size()
> const" is expected to return a value.
>
>
> Approximately line 173 generator_private.hpp:
>
>        tpoint calculate_best_size() const
>                { ERROR_LOG(false); }
>


that's.... a wierd definition.
methinks its using gnuism of defaulting to "return null" or something,
and you will need to do the return explicitly?


More information about the maintainers mailing list