On 28.09.2010, at 10:52, Yuri wrote: >> On 24.09.2010, at 14:32, Yuri wrote: >> >>> we can remove all #if's for win32 code and left ONLY ONE macro in >>> fl_ask.H >>> ------------ >>> # if __GNUC__< 3 >>> # define __deprecated__ >>> # endif // __GNUC__< 3 >>> ------------ >> >> If I understand you correctly, you mean that we should keep >> this macro? This would only be used for gcc 2.x, but if we drop >> gcc 2.x support (i.e. we require at least 3.x), then we don't >> need this any more. Note that there is "# ifdef __GNUC__" two >> lines above this. Could you explain, why we should keep it? >> >> Albrecht > > I want to say that this macro is used localy for fl_ask declaration. > But all others used for win32 (cygwin or mingw) wich don't have gcc-2 now.
Okay, I see what you mean; but this is not a problem, since it is used within the macro __fl_attr(x) which is defined as "empty" for all compilers except gcc (__GNUC__). > if we drop gcc-2 support may be it's time to review c++ restrictions for > fltk-1.3.x ? Well, maybe, but that would be a different discussion... Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
