Re: endless loop - crashing application
Larry Evans <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On 08/21/2016 01:32 PM, Larry Evans wrote:
> On 08/21/2016 01:04 PM, Joel de Guzman wrote:
>> On 19/08/2016 11:14 PM, Jens Kallup wrote:
>>> Hello,
>>>
>>> I have a Problem with boost spirit:
>>>
>>> https://github.com/paule32/dBase/blob/master/source/parser/dbase/yymain.cc
>>>
>>> the application produce infinite loop and crash after few steps in line 102.
>>> I have no idea, where I can look for.
>>> Please have look onto the Link above these Post.
>>>
>>> I would like parse: "varident = 2" or "varident = 2 + 1 + 3" ...
>>
>> I'm getting a 404. Did you move the repository?
>>
> I'm guessing yes, to here:
>
> https://github.com/paule32/dBase4Linux/blob/master/source/parser/dbase/yymain.cc
>
However, even after cloning that, compilation failed:
--{--cute here--
install -d `dirname
/tmp/build/clangxx3_8_pkg/boost/github/paul32/dBase4Linux/source/parser/dbase/yymain.o`
/home/evansl/dwnlds/llvm/3.8/prebuilt/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang++
-c -O0 -stdlib=libc++ -std=c++14 -ftemplate-backtrace-limit=0
-fdiagnostics-show-template-tree -fno-elide-type
-fmacro-backtrace-limit=0
-I/home/evansl/prog_dev/boost/releases/ro/boost_1_59_0
-ftemplate-depth=100 yymain.cc -MMD -o
/tmp/build/clangxx3_8_pkg/boost/github/paul32/dBase4Linux/source/parser/dbase/yymain.o
yymain.cc:1:10: fatal error: '../../../prech.h' file not found
#include "../../../prech.h"
^
1 error generated.
/home/evansl/prog_dev/root.imk:180: recipe for target
'/tmp/build/clangxx3_8_pkg/boost/github/paul32/dBase4Linux/source/parser/dbase/yymain.o'
failed
make: ***
[/tmp/build/clangxx3_8_pkg/boost/github/paul32/dBase4Linux/source/parser/dbase/yymain.o]
Error 1
make: Target 'o' not remade because of errors.
Compilation exited abnormally with code 2 at Sun Aug 21 14:13:21
--}--cute here--
Jens, could you upload the missing files to make it compilable?
Also, you mentioned the application producing an infinite loop.
However, yymain.cc has no main function; hence, it's not runable,
AFAICT. Could you also supply the main function?
-regards,
Larry
------------------------------------------------------------------------------