On 5/22/07, Sanel Zukan <[EMAIL PROTECTED]> wrote:
> I'm not sure how this can't be compiled since 'using namespace fltk' is
> placed at the top, and Rectangle is in it.
>
> I don't know is it too late, but probably the good idea would be to in
> the .cxx files instead 'using namespace ...' wrap whole code _in_ that
> namespace. This would remove above errors (not first time reported) and
> probably made code compileable on older compilers without #ifdef hacks.
>
> But, would Bill follow this convention :) ?
>
> Btw. I would ask (with Big please) to keep code on the repository compileable
> (a good develompent practice) or we could adopt kernel development way,
> take some distributed revision tool so everyone could have their own
> playground (http://www.youtube.com/watch?v=4XpnKHJAok8).
>
> --
> Sanel

I have no clue what happened either, but it refused to compile on using
Visual Studio 2005, and i think there was a similair error with mingw last
time i checked... anyways the exact error i was aiming to fix on visual studio
2005 was error number, C2872 when it was talking about the ambiguuous nature of
Rectangle.

On 5/22/07, "MacArthur, Ian \(SELEX\) \(UK\)"
<[EMAIL PROTECTED]> wrote:
> Maybe it is necessary to explicitly disambiguate Rectangle because it
> could clash with other Rectangle types in the OSX context?

Visual studio 2005 has a similair problem, as i stated earlier in this message.

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to