You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Chuck Rolke (JIRA)" <ji...@apache.org> on 2015/02/16 22:48:11 UTC

[jira] [Created] (PROTON-820) Windows build error for perlPERL_wrap.c

Chuck Rolke created PROTON-820:
----------------------------------

             Summary: Windows build error for perlPERL_wrap.c
                 Key: PROTON-820
                 URL: https://issues.apache.org/jira/browse/PROTON-820
             Project: Qpid Proton
          Issue Type: Bug
          Components: perl-binding
    Affects Versions: 0.9
         Environment: Windows Server 2008 32-bit, Visual Studio 2008, swig 2.0.10, perl v5.10.1 MSWin32-x86-multi-thread, cmake 2.8.11.2
            Reporter: Chuck Rolke


File include/proton/delivery.h has a 'static inline' code construct.

When delivery is included by codec.c (project qpid-proton) it's fine.
When delivery is included by perlPERL_wrap.c (project cproton_perl) it fails. It expects __inline and not just inline.

Note that project qpid-proton.vcproj uses CompileAs=C++ while project cproton_perl uses CompileAs=C.





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