bison-patches
[Top][All Lists]
Advanced

[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, 12 Aug 2021 10:40:05 +0200

> On 12 Aug 2021, at 10:18, Akim Demaille <akim.demaille@gmail.com> wrote:
> 
> GCC 4.2 on macOS claims to support C++98, but does not feature it.
> 
> input.cc: In member function 'void state_stack::yycompressStack()':
> input.cc:1774: error: 'class std::vector<glr_stack_item, 
> std::allocator<glr_stack_item> >' has no member named 'data'

The member 'data' was introduced in C++11.

https://en.cppreference.com/w/cpp/container/vector/data





reply via email to

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