[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesos-issues
Subject:    [jira] [Assigned] (MESOS-8508) Missing map header when compiling against unbundled protobuf
From:       "Till Toenshoff (JIRA)" <jira () apache ! org>
Date:       2018-01-31 1:29:00
Message-ID: JIRA.13134758.1517320679000.81236.1517362140166 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/MESOS-8508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Till Toenshoff reassigned MESOS-8508:
-------------------------------------

    Assignee: Benno Evers

> Missing map header when compiling against unbundled protobuf
> ------------------------------------------------------------
> 
> Key: MESOS-8508
> URL: https://issues.apache.org/jira/browse/MESOS-8508
> Project: Mesos
> Issue Type: Bug
> Reporter: Benno Evers
> Assignee: Benno Evers
> Priority: Major
> 
> When compiling mesos against the system-default version of protobuf on Ubuntu \
> 17.04, the build fails due to a missing include. 
> Explanation for the error by [~kaysoky]:
> Note that the reason why this doesn't compile in protobuf 3.0.x is due to how the \
> c++ files are generated.  In protobuf 3.0.x (and 3.1.x and 3.2.x) generated code \
> only includes the protobuf map headers if there is a map present in the .proto \
> file:[https://github.com/google/protobuf/blob/3.0.x/src/google/protobuf/compiler/cpp/cpp_file.cc#L817-L827]
>  From 3.3.x onwards, all generated files include \
> {{google/protobuf/generated_message_table_driven.h}}, which in turn includes the \
> map headers:[https://github.com/google/protobuf/blob/3.3.x/src/google/protobuf/compiler/cpp/cpp_file.cc#L1006]
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic