Re: Horrible compiletimes and memory usage while compiling a parser with X3

Joel de Guzman <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 06/11/2016 5:25 AM, Joel de Guzman wrote:
> On 26/10/2016 5:52 AM, Exagon wrote:
>> I am sorry I wasn't able to minimize the code more than my example.
>> The approach of creating an custom parser with a parse function which calls
>> a non template parse function works well for me in this example.
>
> Can you at least have the code in one cpp file that I can easily grab
> and compile?

OK, I managed to try the code here:

    <http://melpon.org/wandbox/permlink/8J3DNGd8xDy2v6Eo>

Again, 2015 Macbook pro i7 16GB. BTW, I am using Clang, if it's not obvious.
Like my first try above with the SO code, I can get it to compile in under a
few seconds. Nothing unusual there.

This somehow leads me to believe this is a compiler problem (gcc?).

Unless I am missing something? Can you post a single cpp file just to be
sure I am building the right code?

Regards,
-- 
Joel de Guzman
http://www.ciere.com
http://boost-spirit.com
http://www.cycfi.com/


------------------------------------------------------------------------------
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.