Rename the subject.

What is the suggested practice if you have a fairly big grammar which you split into many header files ?
 
To repeat my problem, I have fairly big grammar and the compiler throws me the following error (for debug build). Retail build is fine. Usig /bigobj does not fix the debug build.
 
> > "boost\spirit\core\non_terminal\impl\rule.ipp(173) : error C1128: number
> > of sections exceeded object file format limit : compile with /bigobj"

 

From: ht4n@hotmail.com
To: boost-users@lists.boost.org
Date: Thu, 5 Nov 2009 13:47:52 -0800
Subject: Re: [Boost-users] rule.ipp(173) : error C1128: number of sections exceeded object file format limit : compile with /bigobj

I did, and it still did not help for "debug" build. For retail build anyway I don't see problem.

What is the common practice if you have let's say more than 30 grammar modules and each grammar has around 5-10 lines of EBNF and you want to separate each grammar into 1 header file.
 
Thanks
 
HT
 
> To: boost-users@lists.boost.org
> From: TriumphSprint2000@hotmail.com
> Date: Thu, 5 Nov 2009 16:15:57 -0500
> Subject: Re: [Boost-users] rule.ipp(173) : error C1128: number of sections exceeded object file format limit : compile with /bigobj
>
> HT4N - wrote:
> > I have quite a big grammar now, and basically I have multiple grammars
> > separated into many files and at the root grammar I have many
> > alternations like the following:
> >
> > Root = GrammarA
> > | GrammarB
> > ...
> > | GrammarZ
> >
> > It looks like, the compiler complaining about the size of the inline code.
> >
> > Here is the error message from the compiler:
> >
> > "boost\spirit\core\non_terminal\impl\rule.ipp(173) : error C1128: number
> > of sections exceeded object file format limit : compile with /bigobj"
> >
> > What is the solution to this issue?
>
> Umm, did you try compiling with /bigobj?
>
> Jeff
>
> _______________________________________________
> Boost-users mailing list
> Boost-users@lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign up now.

Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign up now.