https://bugs.linaro.org/show_bug.cgi?id=1259
Bill Fischofer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Bill Fischofer <[email protected]> ---
Some googling suggests that this is because the ODP API files do not have a
named namespace and as a result default to the namespace 'anonymous'. However,
anonymous is limited to a single translation unit.
My guess is the 'proper' C++ fix for this would be to extend the ODP headers
from:
#ifdef __cplusplus
extern "C"{
#endif
...ODP defnitions
#ifdef __cplusplus
}
#endif
to:
#ifdef __cplusplus
extern "C" {
namespace ODP {
#endif
...ODP definitions
#ifdef __cplusplus
}
}
#endif
However, I'm not a C++ expert and this may not be correct or correctly ordered.
Perhaps someone with more C++ knowledge can comment.
--
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