You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2021/11/01 14:17:00 UTC

[jira] [Resolved] (DISPATCH-2269) warning: 'PN_VERSON_MINOR' is not defined, evaluates to 0 [-Wundef]

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

Jiri Daněk resolved DISPATCH-2269.
----------------------------------
    Resolution: Fixed

> warning: 'PN_VERSON_MINOR' is not defined, evaluates to 0 [-Wundef]
> -------------------------------------------------------------------
>
>                 Key: DISPATCH-2269
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2269
>             Project: Qpid Dispatch
>          Issue Type: Bug
>    Affects Versions: 1.17.0
>            Reporter: Jiri Daněk
>            Assignee: Jiri Daněk
>            Priority: Major
>             Fix For: 1.18.0
>
>
> {noformat}
> C:\Users\Vitorio\CLionProjects\qpid-dispatch\include\qpid/dispatch/container.h(251,34): warning: 'PN_VERSON_MINOR' is not defined, evaluates to 0 [-Wundef]
> #if ((PN_VERSION_MAJOR == 0) && (PN_VERSON_MINOR <= 30))
> {noformat}
> This is a typo in the macro variable name. I am strongly surprised that this compiler warning has not been seen sooner.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org