|
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 fairly big grammar which you split into many header files ?<BR>
<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>
<BR>
<STRONG>> > "boost\spirit\core\non_terminal\impl\rule.ipp(173) : error C1128: number <BR>> > of sections exceeded object file format limit : compile with /bigobj"<BR></STRONG><BR>
<STRONG> <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 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> <BR>Thanks<BR> <BR>HT<BR> <BR>> To: boost-users_at_[hidden]<BR>> From: TriumphSprint2000_at_[hidden]<BR>> Date: Thu, 5 Nov 2009 16:15:57 -0500<BR>> Subject: Re: [Boost-users] rule.ipp(173) : error C1128: number of sections exceeded object file format limit : compile with /bigobj<BR>> <BR>> HT4N - wrote:<BR>> > I have quite a big grammar now, and basically I have multiple grammars <BR>> > separated into many files and at the root grammar I have many <BR>> > alternations like the following:<BR>> > <BR>> > Root = GrammarA<BR>> > | GrammarB<BR>> > ...<BR>> > | GrammarZ<BR>> > <BR>> > It looks like, the compiler complaining about the size of the inline code.<BR>> > <BR>> > Here is the error message from the compiler:<BR>> > <BR>> > "boost\spirit\core\non_terminal\impl\rule.ipp(173) : error C1128: number <BR>> > of sections exceeded object file format limit : compile with /bigobj"<BR>> > <BR>> > What is the solution to this issue? <BR>> <BR>> Umm, did you try compiling with /bigobj?<BR>> <BR>> Jeff<BR>> <BR>> _______________________________________________<BR>> Boost-users mailing list<BR>> Boost-users_at_[hidden]<BR>> 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