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

            Bug ID: 1359
           Summary: include/odp/api/init.h empty struct has size 0 in C,
                    size 1 in C++
           Product: OpenDataPlane
           Version: 1.0
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: ---
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

./bootstrap
./configure --enable-test-perf --enable-test-vald --enable-test-cpp
make clean
make CXX=clang++

Making all in miscellaneous
make[2]: Entering directory '/home/mike/git/odp/test/miscellaneous'
  CXX      odp_api_from_cpp-odp_api_from_cpp.o
In file included from odp_api_from_cpp.cpp:2:
In file included from ../../include/odp.h:35:
In file included from ../../platform/linux-generic/include/odp/init.h:28:
../../include/odp/api/init.h:121:9: warning: empty struct has size 0 in C, size
1 in C++ [-Wextern-c-compat]
typedef struct odp_platform_init_t {
        ^
1 warning generated.
  CXXLD    odp_api_from_cpp

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

Reply via email to