Boost logo

Boost Users :

Subject: [Boost-users] [Spirit] Problem with fairly big grammar
From: HT4N - (ht4n_at_[hidden])
Date: 2009-11-06 11:58:57


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_at_[hidden]
To: boost-users_at_[hidden]
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_at_[hidden]
> From: TriumphSprint2000_at_[hidden]
> 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_at_[hidden]
> 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.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/

--_ee794ca4-8772-420b-ae60-98215adf3560_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<BR>Rename the subject.<BR><BR>
What is the suggested practice if you have a&nbsp;fairly big grammar which you split into many header files ?<BR>
&nbsp;<BR>
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.<BR>
&nbsp;<BR>
<STRONG>&gt; &gt; "boost\spirit\core\non_terminal\impl\rule.ipp(173) : error C1128: number <BR>&gt; &gt; of sections exceeded object file format limit : compile with /bigobj"<BR></STRONG><BR>
<STRONG>&nbsp;<BR></STRONG>
<HR id=stopSpelling>
From: ht4n_at_[hidden]<BR>To: boost-users_at_[hidden]<BR>Date: Thu, 5 Nov 2009 13:47:52 -0800<BR>Subject: Re: [Boost-users] rule.ipp(173) : error C1128: number of sections exceeded object file format limit : compile with /bigobj<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
I did, and it still did not help for "debug" build. For retail build anyway I don't see problem.<BR><BR>What is the common practice if you have let's say more than&nbsp;30 grammar modules and each grammar has around 5-10 lines of EBNF and you want to separate each grammar into 1 header file.<BR>&nbsp;<BR>Thanks<BR>&nbsp;<BR>HT<BR>&nbsp;<BR>&gt; To: boost-users_at_[hidden]<BR>&gt; From: TriumphSprint2000_at_[hidden]<BR>&gt; Date: Thu, 5 Nov 2009 16:15:57 -0500<BR>&gt; Subject: Re: [Boost-users] rule.ipp(173) : error C1128: number of sections exceeded object file format limit : compile with /bigobj<BR>&gt; <BR>&gt; HT4N - wrote:<BR>&gt; &gt; I have quite a big grammar now, and basically I have multiple grammars <BR>&gt; &gt; separated into many files and at the root grammar I have many <BR>&gt; &gt; alternations like the following:<BR>&gt; &gt; <BR>&gt; &gt; Root = GrammarA<BR>&gt; &gt; | GrammarB<BR>&gt; &gt; ...<BR>&gt; &gt; | GrammarZ<BR>&gt; &gt; <BR>&gt; &gt; It looks like, the compiler complaining about the size of the inline code.<BR>&gt; &gt; <BR>&gt; &gt; Here is the error message from the compiler:<BR>&gt; &gt; <BR>&gt; &gt; "boost\spirit\core\non_terminal\impl\rule.ipp(173) : error C1128: number <BR>&gt; &gt; of sections exceeded object file format limit : compile with /bigobj"<BR>&gt; &gt; <BR>&gt; &gt; What is the solution to this issue? <BR>&gt; <BR>&gt; Umm, did you try compiling with /bigobj?<BR>&gt; <BR>&gt; Jeff<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Boost-users mailing list<BR>&gt; Boost-users_at_[hidden]<BR>&gt; http://lists.boost.org/mailman/listinfo.cgi/boost-users><BR>
<HR>
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
Sign up now. <br /><hr />Hotmail: Trusted email with Microsoft's powerful SPAM protection. <a href='http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/
' target='_new'>Sign up now.</a></body>
</html>
--_ee794ca4-8772-420b-ae60-98215adf3560_--


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net