[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: member with constructor not allowed in union
From: |
Akim Demaille |
Subject: |
Re: member with constructor not allowed in union |
Date: |
14 Mar 2002 18:53:27 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
| Hi,
| On 14 Mar 2002, Akim Demaille wrote:
| > First, I would like to see what problem you really have. Only people
| > using yylloc can have actual problems. The other don't have new
| > problems.
| >
| > Nevertheless, I would like to invite people working with C++ to try
| > the current CVS version of Bison, which does output C++.
|
| Okay, I just gave the current CVS sources a try and it does not seem to
| help. The section
| /* A type that is properly aligned for any stack member. */
| union yyalloc
| {
| short yyss;
| YYSTYPE yyvs;
| # if YYLSP_NEEDED
| YYLTYPE yyls;
| # endif
| };
| is still generated in my file input_parser.cc and later I get the error
| y.tab.c:154: member `class GiNaC::ex GiNaC::yyalloc::yyvs' with constructor
not allowed in union
You are not using the C++ output! Run bison -S bison.c++.
- member with constructor not allowed in union, Richard B. Kreckel, 2002/03/13
- Re: member with constructor not allowed in union, Anthony DeRobertis, 2002/03/13
- Re: member with constructor not allowed in union, Akim Demaille, 2002/03/14
- Re: member with constructor not allowed in union, Richard B. Kreckel, 2002/03/14
- Re: member with constructor not allowed in union,
Akim Demaille <=
- Re: member with constructor not allowed in union, Richard B. Kreckel, 2002/03/14
- Re: member with constructor not allowed in union, Akim Demaille, 2002/03/15
- Re: member with constructor not allowed in union, Richard B. Kreckel, 2002/03/15
- Re: member with constructor not allowed in union, Christian Bauer, 2002/03/15
- Re: member with constructor not allowed in union, Akim Demaille, 2002/03/18
- Re: member with constructor not allowed in union, Hans Aberg, 2002/03/18
- Re: member with constructor not allowed in union, Akim Demaille, 2002/03/18
- Re: member with constructor not allowed in union, Hans Aberg, 2002/03/18
- Re: member with constructor not allowed in union, Richard B. Kreckel, 2002/03/18
- Re: member with constructor not allowed in union, Akim Demaille, 2002/03/18