[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vect
From: |
Hans Åberg |
Subject: |
Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data |
Date: |
Thu, 19 Aug 2021 10:23:53 +0200 |
> On 19 Aug 2021, at 08:10, Akim Demaille <akim.demaille@gmail.com> wrote:
>
>> Le 17 août 2021 à 15:46, Hans Åberg <haberg-1@telia.com> a écrit :
>>
>>> On 17 Aug 2021, at 08:49, Akim Demaille <akim.demaille@gmail.com> wrote:
>>>
>>> You need to read my answer, and the page it pointed you to.
>>
>> I checked it out on the C++ Std-Discussion list, and there is normative
>> standard specifying std::vector::data before C++11. The absence in GCC 4.2
>> may have to do with the MacOS version, as an earlier GCC version has it.
>
> Yes, as shown in the logs it used GCC 4.0's headers.
>
> That being said, glr2.cc actually requires C++11, so I have reverted these
> changes, since none of the other C++ skeletons need vector::data, and this
> check was not enough for glr2.cc.
One situation where it might have of importance would have been LilyPond, which
did not compile with clang due to it differing from gcc on some template
interpretation, and further, they cross compiled the MacOS binaries using a
ported SDK which only had gcc 4.2. However, LilyPond now compiles with clang,
and the SDK license has changed so that it is no longer legal to cross compile
on other platforms.
- [PATCH 3/9] tests: remove obsolete checks, (continued)
- [PATCH 3/9] tests: remove obsolete checks, Akim Demaille, 2021/08/12
- [PATCH 4/9] build: check for C++ 20 and 2b, Akim Demaille, 2021/08/12
- [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Akim Demaille, 2021/08/12
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/12
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Akim Demaille, 2021/08/13
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/13
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Akim Demaille, 2021/08/17
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/17
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/17
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Akim Demaille, 2021/08/19
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data,
Hans Åberg <=
[PATCH 6/9] build: modernize to newer Autoconf releases, Akim Demaille, 2021/08/12
[PATCH 7/9] news: be clear that glr2.cc is C++11, Akim Demaille, 2021/08/12
[PATCH 8/9] gnulib: update, Akim Demaille, 2021/08/12
[PATCH 9/9] tests: fix incorrect test case, Akim Demaille, 2021/08/12