Danny Backx wrote: > > I understand. Shouldn't this work ? > #if defined(__CEGCC__) || defined(__MINGW32CE__) > #include <cegcc.h> > #endif > > #if defined(__CEGCC__) > #if (__CEGCC_MAJOR__ > 0 || __CEGCC_MINOR__ > 50) > ... >
I agree that versioning is a good feature to have. However, I'm not sure a global version number is the best. We're distributing a set of components that work togheter, but each has its own version number. Take a look at: src/w32api/include/w32api.h #define __MINGW32_VERSION 3.11 #define __MINGW32_MAJOR_VERSION 3 #define __MINGW32_MINOR_VERSION 11 and: src/mingw/include/_mingw.h #define __W32API_VERSION 3.8 #define __W32API_MAJOR_VERSION 3 #define __W32API_MINOR_VERSION 8 Those are already used frequently on the Desktop camp. What's missing are CE specific version numbers adding to the desktop ones - since we build on top of those. Looks like we're missing a cegcc.h header for the cegcc.dll runtime versioning indeed. But that should represent the runtime version alone. -- Pedro Alves ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel