[pcre-dev] [Bug 1918] #define ⇒ enum?

Αρχική Σελίδα
Delete this message
Συντάκτης: admin
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] [Bug 1918] #define ⇒ enum?
https://bugs.exim.org/show_bug.cgi?id=1918

--- Comment #7 from Markus Elfring <elfring@???> ---
(In reply to Philip Hazel from comment #6)
> Old habits die hard!


How much does the use of enumerations belong to good development practices when
they are directly supported also by the C programming language for a while?


> It is indeed too late


I hope that more occasions will appear to improve the corresponding software
situation a bit more.


> Without changing pcre2_config() etc. there is no point in changing
> the #defines to an enum.


I have got an other view about this implementation detail.
Does anybody insist to use the affected symbols still as preprocessor macros?


> I am going to close this issue "wontfix",


Would an other tag be more appropriate?


> but I have noted the issue on the long-term wish-list so that it
> won't be entirely forgotten if there ever is another API/ABI break.


I am curious on how this application programming interface will evolve further.

--
You are receiving this mail because:
You are on the CC list for the bug.