I ran into this before and seems same even with updated cmake patches.
Not sure if its a gcc 6 issue, some other scope issue, or something I
did to cmake build, or env.

I am removing some tokens, maybe btyacc issue. Here I strip out TOK_

for f in yvalve/keywords dsql/Parser; do
        sed -i -e "s|TOK_||g" "src/${f}.cpp" \
                || die "Failed to correct ${f}cpp"
 done


FAILED: src/CMakeFiles/yvalve_common.dir/yvalve/keywords.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DDEV_BUILD
-I/tmp/portage/dev-db/firebird-4.0.0_alpha1/work/firebird-T4_0_0_Alpha1/extern/decNumber
-I/tmp/portage/dev-db/firebird-4.0.0_alpha1/work/firebird-T4_0_0_Alpha1/extern/icu/include
-I/tmp/portage/dev-db/firebird-4.0.0_alpha1/work/firebird-T4_0_0_Alpha1/extern/zlib
-I/tmp/portage/dev-db/firebird-4.0.0_alpha1/work/firebird-T4_0_0_Alpha1/src/include
-I/tmp/portage/dev-db/firebird-4.0.0_alpha1/work/firebird-T4_0_0_Alpha1/src/include/gen
-Isrc/include -Isrc/include/gen  -DNDEBUG -O2 -pipe -march=amdfam10
-mcx16 -msahf -mabm -mlzcnt -fpermissive -msse4 -std=c++11 -fPIC -msse4
-std=c++11 -MD -MT
src/CMakeFiles/yvalve_common.dir/yvalve/keywords.cpp.o -MF
src/CMakeFiles/yvalve_common.dir/yvalve/keywords.cpp.o.d -o
src/CMakeFiles/yvalve_common.dir/yvalve/keywords.cpp.o
-c 
/tmp/portage/dev-db/firebird-4.0.0_alpha1/work/firebird-T4_0_0_Alpha1/src/yvalve/keywords.cpp
/tmp/portage/dev-db/firebird-4.0.0_alpha1/work/firebird-T4_0_0_Alpha1/src/yvalve/keywords.cpp:44:3:
error: ‘NOT_LSS’ was not declared in this scope
{NOT_LSS, "!<", false},
  ^~~~~~~
/tmp/portage/dev-db/firebird-4.0.0_alpha1/work/firebird-T4_0_0_Alpha1/src/yvalve/keywords.cpp:45:3:
error: ‘NEQ’ was not declared in this scope
{NEQ, "!=", false},
  ^~~~~~~

And it repeats for several lines, many things not declared.

-- 
William L. Thomson Jr.

Attachment: pgpQh2WpqSGNx.pgp
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to