thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jano Svitok (Jira)" <j...@apache.org>
Subject [jira] [Created] (THRIFT-5135) Thrift compiler can't be compiled by CMAKE on OSX
Date Sat, 07 Mar 2020 21:54:00 GMT
Jano Svitok created THRIFT-5135:
-----------------------------------

             Summary: Thrift compiler can't be compiled by CMAKE on OSX
                 Key: THRIFT-5135
                 URL: https://issues.apache.org/jira/browse/THRIFT-5135
             Project: Thrift
          Issue Type: Bug
          Components: Compiler (General)
    Affects Versions: 0.14.0
            Reporter: Jano Svitok


h1. Log

cd /.../thrift/compiler/cpp
 /.../thrift/compiler/cpp/src/thrift/generate/t_d_generator.cc:754:31: error: non-aggregate
type 'vector<std::__1::string>' (aka 'vector<basic_string<char, char_traits<char>,
 allocator<char> > >') cannot be initialized with an initializer list
 vector<string> t_d_generator::d_reserved_words = {
 ^ ~
 1 error generated.
 * 
 ** BUILD FAILED **

[Stackoverflow|https://stackoverflow.com/questions/39022787/error-non-aggregate-type-vectorint-cannot-be-initialized-with-an-initialize]
[ |https://stackoverflow.com/questions/39022787/error-non-aggregate-type-vectorint-cannot-be-initialized-with-an-initialize]suggest
to enable C++11.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message