Re: Linking error when changing > to >>
Exagon <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
Besids the linking errors when switch from > to >> in this example, I am
getting a lot of linker errors, when I try to use boost::optional as a
member of an attribute
for example when I change
auto const var_dec_def = x3::lexeme["var "]
> +x3::alnum
> ":"
> type
> ";";
to
auto const var_dec_def = x3::lexeme["var "]
> +x3::alnum
> ":"
> -type //type is now optional
> ";";
and dont change something in the ast, it compiles fine, but when I change
struct VariableDec {
std::string _name;
Type _type;
};
to
struct VariableDec {
std::string _name;
boost::optional<Type> _type;
};
I am getting a linking error again.
Is this a bug or am I doing soemthing stupid?
If this is a totaly different topic, I will invest some time and create
another repo with a more minimal example to show my problem with this.
Greetings Exagon
--
View this message in context: http://boost.2283326.n4.nabble.com/Linking-error-when-changing-to-tp4689820p4690020.html
Sent from the spirit-general mailing list archive at Nabble.com.
------------------------------------------------------------------------------