You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joris Van Remoortere (JIRA)" <ji...@apache.org> on 2016/11/07 19:41:59 UTC

[jira] [Commented] (MESOS-4638) versioning preprocessor macros

    [ 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 <zh...@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)