Re: [PATCH v2] compat/bswap.h: simplify MSVC endianness detection

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

 



Hello,

On 10/11/2020 16:04, Johannes Schindelin wrote:
> Point in reference:
> you can build Linux applications in Visual Studio like _right now_ [*1*].
>
> Ciao,
> Dscho
>
> Footnote *1*: It currently uses GCC, but who says it always will?
> https://docs.microsoft.com/en-us/cpp/linux/cmake-linux-project

When it comes to building C++ code MSVC uses Microsoft's C++ Standard Library, and one of its stated non-goals[1] is being ported to other systems. I assume the same applies for their C library. Therefore to me a scenario where a future version of MSVC would build non-Windows code, let alone for a big-endian architecture, seems extremely unlikely.

That said, I understand your overall point of view perfectly, and I'm fine with either one of my patches being applied since the end result today is the same.

- Daniel

[1] https://github.com/microsoft/STL#non-goals





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux