Ian Wrote,

>
> Anybody (Albrecht?) using a "recent" mingw with fltk?
>
> I am not (I still use some antique mingw...) but one of the guys here
> has been, and he's encountering some weird errors.
>
> In particular, he has some code that uses fltk with some STL stuff in it
> (mainly <vector> I think, and some sorting stuff...) and his code will
> not compile, throwing errors in cpp_type_traits.h, at lines 147 and 154
> where there is a collision between two of the (many) different templates
> for __is_integer<thing> are defined.
>
> In this case, it is seeing __is_integer<bool> and __is_integer<char> as
> being The Same (it looks like it thinks bool == char at this point...)
>
> Now, I can't imagine no one else has hit this, if it is truly a
> "feature" in gcc-4.6.1/mingw, so I assume it has to be some interaction
> either with our own code or with fltk.
>
> Any ideas?
>
> -- 
> Ian
>

Ian
I've just been compiling the same code at home and find that it compiles
without error !!
Now, the only difference between my installation at home, and at work is the
drive I've installed MinGW on !!

I have made loads of other changes (including compiler options too I
suppose),
so I guess I'll have to unbodge the cpp_type_traits.h at work and try again
tomorrow.
Mmm, just tried again using the build I had last night.
This compiles OK here too.
I'll zip up the MinGW installation to see what's different as well.

Brian

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

Reply via email to