On Tue, Jul 18, 2017 at 5:59 PM, Pavel Roskin <plroskin@xxxxxxxxx> wrote: > The option argument is parsed into major, minor and patchlevel versions, > which are defined as __GNUC__, __GNUC_MINOR__, and __GNUC_PATCHLEVEL__ in > the preprocessor. > > One possible use is running sparse compiled with the lastest gcc compiler > on a Linux kernel that doesn't support that compiler. I am curious, can you just invoke sparse with -D__GNUC__=1 -D__GNUC_MINOR__=2 to do the same thing? The current __GNUC__ was a weak define it is suitable for overriding if you wants to. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html