Re: endless loop - crashing application
Larry Evans <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On 08/21/2016 03:11 PM, Jens Kallup wrote:
> Hello,
>
> sorry for the misadvantages.
> The code has changed, but don't run, yet.
>
> Here:
> https://github.com/paule32/dBase4Linux
>
> you can find the Qt5 Project under new ReproName.
>
> https://github.com/paule32/dBase4Linux/blob/master/source/parser/dbase/yymain.cc
> is the location of file of interesst.
>
> I get these Error's:
>
> https://paste.fedoraproject.org/412112/71805678/
>
> I only would like "compile", and "interpret" the string: "value = 2"
> As next step: "value = 2 + 1 * 4"
>
> The #include file in first line of yymain.cc is a "pre compiled header"
> which you can
> use with g++ to minimize the compile time.
> It is binary code, and consume over 600 MegaByte's of disk space.
>
> The file in Line 3 is a Qt5 custom header (for my GUI Project).
> Each of them can be removed and/or commented in source.
Yes, that helped; however, I'm still getting errors for, I guess,
Qt5 symbols:
/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:495:20: error: unknown type name 'QString'
bool InitParseText(QString text)
^
yymain.cc:499:9: error: use of undeclared identifier 'QMessageBox'
QMessageBox::information(0,"Error","No Data for parser.\nABORT.");
^
Please provide the compiler command line showing the -I flags.
-regards,
Larry
------------------------------------------------------------------------------