https://bugs.linaro.org/show_bug.cgi?id=1259

            Bug ID: 1259
           Summary: C++ compile and link to odp lib generates new warnings
           Product: OpenDataPlane
           Version: 0.11
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: ---
         Component: General ODP API or linux-generic implimentation
          Assignee: [email protected]
          Reporter: [email protected]

Is the patch http://patches.opendataplane.org/patch/632/ is applied to link ODP
to a Cpp file the following warnings are seen.

The cpp  link does not yet have warnings as errors but that should be done once
this is fixed.


make[2]: Entering directory '/home/mike/git/odp/test/miscellaneous'
  CXX      odp_api_from_cpp.o
In file included from ../../platform/linux-generic/include/odp/pool.h:29:0,
                 from ../../include/odp.h:40,
                 from odp_api_from_cpp.cpp:2:
../../include/odp/api/pool.h:158:16: warning: ‘odp_pool_info_t’ has a field
‘odp_pool_info_t::shm’ whose type uses the anonymous namespace
 typedef struct odp_pool_info_t {
                ^
In file included from ../../platform/linux-generic/include/odp/crypto.h:35:0,
                 from ../../include/odp.h:50,
                 from odp_api_from_cpp.cpp:2:
../../include/odp/api/crypto.h:119:16: warning: ‘odp_crypto_session_params’ 
has
a field ‘odp_crypto_session_params::compl_queue’ whose type uses the 
anonymous
namespace
 typedef struct odp_crypto_session_params {
                ^
../../include/odp/api/crypto.h:119:16: warning: ‘odp_crypto_session_params’ 
has
a field ‘odp_crypto_session_params::output_pool’ whose type uses the 
anonymous
namespace
../../include/odp/api/crypto.h:159:16: warning: ‘odp_crypto_op_params’ has a
field ‘odp_crypto_op_params::pkt’ whose type uses the anonymous namespace
 typedef struct odp_crypto_op_params {
                ^
../../include/odp/api/crypto.h:159:16: warning: ‘odp_crypto_op_params’ has a
field ‘odp_crypto_op_params::out_pkt’ whose type uses the anonymous 
namespace
../../include/odp/api/crypto.h:253:16: warning: ‘odp_crypto_op_result’ has a
field ‘odp_crypto_op_result::pkt’ whose type uses the anonymous namespace
 typedef struct odp_crypto_op_result {
                ^
  CXXLD    odp_api_from_cpp
make[2]: Leaving directory '/home/mike/git/odp/test/miscellaneous'

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to