Re: [PATCH v4 0/3] add diagnostics macros to make code portable

2024-12-30 Thread Stephen Hemminger
On Mon, 30 Dec 2024 07:59:27 -0800 Andre Muezerie wrote: > From: Andre Muezerie > To: andre...@linux.microsoft.com > Cc: dev@dpdk.org, step...@networkplumber.org > Subject: [PATCH v4 0/3] add diagnostics macros to make code portable > Date: Mon, 30 Dec 2024 07:59:27 -0800 >

[PATCH v4 0/3] add diagnostics macros to make code portable

2024-12-30 Thread Andre Muezerie
It was a common pattern to have "GCC diagnostic ignored" pragmas sprinkled over the code and only activate these pragmas for certain compilers (gcc and clang). Clang supports GCC's pragma for compatibility with existing source code, so #pragma GCC diagnostic and #pragma clang diagnostic are synonym