mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joris Van Remoortere (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-4638) versioning preprocessor macros
Date Mon, 07 Nov 2016 19:41:59 GMT

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

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

{{0.28.3}}
{code}
commit 6408c54e0327ab864d4e193814ee69bcd24985df
Author: Zhitao Li <zhitaoli.cs@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: 0.28.3, 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)

Mime
View raw message