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

Justin Ross commented on QPID-8078:
-----------------------------------

[~d.gavrila], what OS and version were you building on?

> error by compiling
> ------------------
>
>                 Key: QPID-8078
>                 URL: https://issues.apache.org/jira/browse/QPID-8078
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Build
>    Affects Versions: qpid-cpp-1.37.0
>         Environment: linearstore option is enabled
> gcc 4.8.5 with c++11 flag enabled
>  
> The problem is  0  :
> should be nullptr or static_cast<u_int32_t>(0)
>  
>            Reporter: Daniel Gavrila
>            Priority: Minor
>         Attachments: error-qpid
>
>
> [ 73%] Building CXX object 
> src/CMakeFiles/linearstore.dir/qpid/linearstore/MessageStoreImpl.cpp.o
> /usr/local/projects/gema4_dds/pkg/qpid-cpp-1.37.0/src/qpid/linearstore/MessageStoreImpl.cpp:
>  In member function ‘void 
> qpid::linearstore::MessageStoreImpl::init(bool)’:
> /usr/local/projects/gema4_dds/pkg/qpid-cpp-1.37.0/src/qpid/linearstore/MessageStoreImpl.cpp:230:36:
>  error: call of overloaded ‘DbEnv(int)’ is ambiguous
>              dbenv.reset(new DbEnv(0));
>                                     ^
> /usr/local/projects/gema4_dds/pkg/qpid-cpp-1.37.0/src/qpid/linearstore/MessageStoreImpl.cpp:230:36:
>  note: candidates are:
> In file included from 
> /usr/local/projects/gema4_dds/pkg/qpid-cpp-1.37.0/objdir/src/db-inc.h:1:0,
>                  from 
> /usr/local/projects/gema4_dds/pkg/qpid-cpp-1.37.0/src/qpid/linearstore/BindingDbt.h:25,
>                  from 
> /usr/local/projects/gema4_dds/pkg/qpid-cpp-1.37.0/src/qpid/linearstore/MessageStoreImpl.cpp:27:
> /usr/local/projects/gema4_dds/pkg/DBBerkley/include/db_cxx.h:916:2: note: 
> DbEnv::DbEnv(const DbEnv&)
>   DbEnv(const DbEnv &);
>   ^
> /usr/local/projects/gema4_dds/pkg/DBBerkley/include/db_cxx.h:518:2: note: 
> DbEnv::DbEnv(DB_ENV*)
>   DbEnv(DB_ENV *dbenv);
>   ^
> /usr/local/projects/gema4_dds/pkg/DBBerkley/include/db_cxx.h:516:2: note: 
> DbEnv::DbEnv(u_int32_t)
>   DbEnv(u_int32_t flags);
>   ^
> make[2]: *** 
> [src/CMakeFiles/linearstore.dir/qpid/linearstore/MessageStoreImpl.cpp.o] 
> Error 1
> make[1]: *** [src/CMakeFiles/linearstore.dir/all] Error 2
> make: *** [all] Error 2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to