Hi Conrad, 2016-05-27 7:31 GMT+02:00 Conrad E. Meyer <c...@freebsd.org>: > libmd: Work around C++'s inability to understand C
So C++ doesn't support using 'static' within array types, right? What I personally dislike about this specific change: - Including <sys/md5.h> directly still doesn't work. - If <sys/md5.h> is ever going to include a 'static inline' function, the static keyword would also be stripped off. Would it make sense to come up with a macro in <sys/cdefs.h> to deal with this? #if defined(__cplusplus) || defined(ancient compiler) #define __minimum_size(n) n #else #define __minimum_size(n) static (n) #endif That way we can annotate this everwhere we'd want, without needing to care about compiler versions, languages, etc. -- Ed Schouten <e...@nuxi.nl> Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"