Handling of namespace is not much robust

Issue #17 invalid
Jan Blechta created an issue

This

code="""
#include <boost/lexical_cast.hpp>
"""

from dolfin import *
compile_extension_module(code)

with /usr/local/pkg/boost/1.53.0/gnu-ompi/include/boost/mpl/void_fwd.hpp:24:1: error: '::mpl_' has not been declared

while

code="""
#include <boost/lexical_cast.hpp>
namespace dolfin {
}
"""

from dolfin import *
compile_extension_module(code)

passes.

Comments (1)

  1. Log in to comment