Hi all, For fun, I tried building freetype (current git) with the newly release clang 1.1: <http://clang.llvm.org/>
It built, but gave these warnings: ----- In file included from /freetype2/src/sfnt/sfnt.c:23: /freetype2/src/sfnt/ttload.c:543:9: warning: using extended field designator is an extension [-pedantic] FT_FRAME_LONG ( Created[0] ), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /freetype2/src/sfnt/sfnt.c:23: In file included from /freetype2/src/sfnt/ttload.c:22: /freetype2/include/freetype/internal/ftstream.h:120:34: note: instantiated from: #define FT_FRAME_LONG( f ) FT_FRAME_FIELD( ft_frame_long_be, f ) ^ /freetype2/include/freetype/internal/ftstream.h:112:13: note: instantiated from: FT_FIELD_OFFSET( field ) \ ^ /freetype2/include/freetype/internal/ftstream.h:106:24: note: instantiated from: (FT_UShort)( offsetof( FT_STRUCTURE, f ) ) ^ In file included from /freetype2/src/sfnt/sfnt.c:22: In file included from /freetype2/src/sfnt/sfntpic.c:20: In file included from /freetype2/include/freetype/freetype.h:34: In file included from ./builds/unix/ftconfig.h:43: In file included from /freetype2/include/freetype/config/ftstdlib.h:36: /usr/local/clang+llvm-2.7-x86_64-apple-darwin10/lib/clang/1.1/include/ stddef.h:41:24: note: instantiated from: #define offsetof(t, d) __builtin_offsetof(t, d) ^ ----- It's a bit hard to follow with all the macros, but I think it's saying that something is being passed to offsetof() that should not be. -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel