Björn Steinbrink <B.Steinbrink@gmx.de> writes:Do you mean the "FLEX_ARRAY" thing? You can ask for FLEX_ARRAY from the command line of your "make" process. There is this thing in git-compat-util.h #ifndef FLEX_ARRAY #if defined(__GNUC__) && (__GNUC__ < 3) #define FLEX_ARRAY 0 #else #define FLEX_ARRAY /* empty */ #endif #endif The sources are written this way: struct foo { ... other members ... char last_member_that_is_flexible[FLEX_ARRAY]; }; For older gcc, because we know about its lack of support, the above turns into: struct foo { ... other members ... char last_member_that_is_flexible[0]; } But for recent enough compilers that grok the "flexible array members", the above expands to: struct foo { ... other members ... char last_member_that_is_flexible[]; } Maybe your compiler needs -DFLEX_ARRAY=0 in CFLAGS? - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Jeremy Allison | Re: [RFC] Heads up on sys_fallocate() |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Joerg Roedel | [PATCH 03/34] AMD IOMMU: add defines and structures for ACPI scanning code |
| Eric W. Biederman | [PATCH] powerpc pseries eeh: Convert to kthread API |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Natalie Protasevich | [BUG] New Kernel Bugs |
git: | |
