Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anonymous namespace warnings #3

Open
rpavlik opened this issue Jan 17, 2011 · 0 comments
Open

anonymous namespace warnings #3

rpavlik opened this issue Jan 17, 2011 · 0 comments

Comments

@rpavlik
Copy link

rpavlik commented Jan 17, 2011

I'm getting the following warnings when compiling Luabind on GCC 4.1.2:
luabind/src/class.cpp:62: warning: 'luabind::detail::class_registration' has a field 'luabind::detail::class_registration::m_casts' whose type uses the anonymous namespace
luabind/src/inheritance.cpp:109: warning: 'luabind::detail::cast_graph::impl' has a field 'luabind::detail::cast_graph::impl::m_vertices' whose type uses the anonymous namespace
luabind/src/inheritance.cpp:109: warning: 'luabind::detail::cast_graph::impl' has a field 'luabind::detail::cast_graph::impl::m_cache' whose type uses the anonymous namespace

Are these warnings something to be worried about? Can they be silenced/fixed somehow?

fhoefling pushed a commit to halmd-org/luaponte that referenced this issue Feb 10, 2014
Commit 7d3db69 (Use type name demangling with
GCC and Clang) added a dependency on std::string in typeid.hpp but did not
include the corresponding <string> header. Fixed.

Thanks to alex85k for reporting this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant