Tangential question to Alan D - a historical throwback
Alan DeKok
aland at deployingradius.com
Wed Nov 15 14:16:18 CET 2017
On Nov 15, 2017, at 8:03 AM, Stefan Paetow <Stefan.Paetow at jisc.ac.uk> wrote:
> The question is about this declaration:
>
> extern const DICT_ATTR const *nr_dict_attr_names[];
>
> In C++ this is ok, but in C (when pedantic mode is on), this generates the duplicate-decl-declaration warning (and subsequent error). So my question is this: How do we make that go away? :-)
Hmm... not sure about that one. It should be fine.
Alan DeKok.
More information about the Freeradius-Users
mailing list