Changes between Initial Version and Version 1 of Ticket #70170, comment 13


Ignore:
Timestamp:
Oct 12, 2024, 9:13:02 PM (5 weeks ago)
Author:
suhailskhan (Suhail Khan)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #70170, comment 13

    initial v1  
    44For what it’s worth, ctpv is a pure C-based project, but `__VA_OPT__` happens to be a C++20 feature as well as a C23 one. This is why `compiler.cxx_standard 2020` is valid despite the source code not having any C++. It still achieves the desired end result of ensuring only compilers that support `__VA_OPT__` are used.
    55
    6 It appears that MacPorts currently does not recognize `compiler.c_standard 2023` yet because C23 is still very recent, so using that in the Portfile will make it fall back to `compiler.c_standard 2017` instead, if I am not mistaken.
     6It appears that MacPorts currently does not recognize `compiler.c_standard 2023` yet because C23 is still very recent, so using that in the Portfile will make it fall back to `compiler.c_standard 2017` instead, if I am not mistaken. Otherwise, we would ideally use that in the Portfile instead