Re: g++ version 6.2.0 can't compile 4.8 code
llonesmiz <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
Jens Kallup wrote > Hello Mike, > > thank You for the last posting to me. > Today, I have the following Problem: > (No Makefile changes of my project): > Yesterday, I download, compile, and install the g++ Version 6.2.0. > also I update from 4.8. to 6.2. > Under 4.8, I had no problems, but nowadays, with version 6.2, > I get error messages: > > https://paste.fedoraproject.org/490630/60554148/ > > with this code: > > https://paste.fedoraproject.org/490632/60630148/ > > I know, You want a minimal testcase, but I think, the thing is the > structure of boost qi? > > Can you have a look? > > Thank You very much > Jens Your problem is not caused by "the structure of boost qi" and is also unrelated to your upgrade to g++ version 6.2.0 since your code fails to compile with the exact same error: "error_invalid_expression". The error message points to this section of the code https://github.com/boostorg/spirit/blob/develop/include/boost/spirit/home/qi/nonterminal/rule.hpp#L177 that explains the problem further. Sadly the error does not point where in your code is the problem, but I can tell you that it is located in your "symbol_def_expr" rule (that reduces the lines you need to inspect to "just" 32). -- View this message in context: http://boost.2283326.n4.nabble.com/g-version-6-2-0-can-t-compile-4-8-code-tp4690118p4690124.html Sent from the spirit-general mailing list archive at Nabble.com. ------------------------------------------------------------------------------