qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-552) Examples fail to build on windows
Date Fri, 04 Apr 2014 14:38:20 GMT

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

Andrew Stitcher commented on PROTON-552:
----------------------------------------

The Visual Studio C compiler before VS2013 didn't support any C99, supporting only C89.

This caused 2 problems here:
1. The type bool (and true/false) aren't defined and they are used in the headers files, so
we need a safe way to define them for C89 in the headers even if we actually compile the library
as C++ under VS.

2. The send.c/recv.c examples actually use C99 to declare variables in the middle of a code
block, so they need to be changed to be "pure" C89.

> Examples fail to build on windows
> ---------------------------------
>
>                 Key: PROTON-552
>                 URL: https://issues.apache.org/jira/browse/PROTON-552
>             Project: Qpid Proton
>          Issue Type: Bug
>            Reporter: Rafael H. Schloming
>            Assignee: Andrew Stitcher
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message