Re: Linking error while separating parser into _def and .cpp files

Larry Evans <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 11/08/2016 03:22 PM, Larry Evans wrote:
> On 11/08/2016 01:13 PM, Exagon wrote:
>> I am currently trying to separate my parser inteo different files using
>> BOOST_SPIRIT_DEFIND/DECLAR/INSTATIATE, but I keep getting a linker error.
[snip]
> Exagon, FWIW, I'm getting a similar error about parse_rule being
> undefined; however, mine is with the code which Peter Gerell
> uploaded here:
>
>
> https://github.com/pgerell/boost_1_61_problem
>
> I'm trying to figure out why.  However, Peter indicates he
> had to problem with 1.60.0 but only with 1.61.1.
       ^^^^^^^^^^ should be "no problem".

In contrast, your link problem occurs with 1.60.0, if I'm
reading your wandbox/permlink correctly.
>
[snip]



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.