[ 
https://issues.apache.org/jira/browse/MESOS-4638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15616900#comment-15616900
 ] 

Joris Van Remoortere commented on MESOS-4638:
---------------------------------------------

{{1.0.2}}:
{code}
commit 5668d4ff2655f120ca3d66c509efa40e24d5faf3
Author: Zhitao Li <zhitaoli...@gmail.com>
Date:   Wed Aug 17 09:34:27 2016 -0700

    Introduce MESOS_{MAJOR|MINOR|PATCH}_VERSION_NUM macros.
    
    This makes version based conditional compiling much easier for
    module writers.
    
    Review: https://reviews.apache.org/r/50992/
{code}

> versioning preprocessor macros
> ------------------------------
>
>                 Key: MESOS-4638
>                 URL: https://issues.apache.org/jira/browse/MESOS-4638
>             Project: Mesos
>          Issue Type: Bug
>          Components: c++ api
>            Reporter: James Peach
>            Assignee: Zhitao Li
>             Fix For: 1.0.2, 1.1.0
>
>
> The macros in {{version.hpp}} cannot be used for conditional build because 
> they are strings not integers. It would be helpful to have integer versions 
> of these for conditionally building code against different versions of the 
> Mesos API.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to