bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] doc: Fix example for all Win32 compiler


From: Paul Eggert
Subject: Re: [PATCH] doc: Fix example for all Win32 compiler
Date: Wed, 29 Dec 2021 10:44:59 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

If <https://gcc.gnu.org/wiki/Visibility> is right, the symbol _WIN32 is really confusing since it doesn't mean one is building for 32-bit Microsoft Windows systems, which is the natural interpretation of that symbol for those who are not already expert in developing for Microsoft Windows.

Also, the GNU Coding Standards suggest avoiding using the word "win" as an abbreviation for Microsoft Windows <https://www.gnu.org/prep/standards/html_node/Trademarks.html>.

So as far as I'm concerned, the fewer occurrences of _WIN32 in Gnulib, the better. I'd remove them all if I knew it wouldn't break anything. Certainly we don't need to add occurrences if the existing code already works.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]