FirebirdSQL / firebird

Firebird server, client and tools
https://www.firebirdsql.org/
1.19k stars 205 forks source link

Firebird on Apple M1 #7041

Closed sembsa closed 1 year ago

sembsa commented 2 years ago

Hello, how can I build a project for the Apple M1 platform? it builds up to 59% for me and I still have a problem with 'engine12_common.dir'. I can build a project at home and make available only if I need help with compilation

[main] Building folder: firebird [build] Starting build [proc] Executing command: /opt/homebrew/bin/cmake --build /Users/sembsa/svn/build_firebird/firebird/build --config Debug --target all -j 10 -- [build] Consolidate compiler generated dependencies of target makeHeader [build] Consolidate compiler generated dependencies of target ib_util [build] Consolidate compiler generated dependencies of target cloop [build] Consolidate compiler generated dependencies of target btyacc [build] [ 0%] Linking CXX executable bin/makeHeader [build] [ 0%] Linking CXX shared library ../firebird/lib/libib_util.dylib [build] [ 0%] Linking C executable bin/btyacc [build] [ 0%] Linking CXX executable firebird/bin/cloop [build] ld: warning: directory not found for option '-L/opt/local/lib' [build] ld: warning: ld: warning: directory not found for option '-L/opt/local/lib' [build] ld: warning: directory not found for option '-L/usr/local/opt/icu4c/lib' [build] ld: warning: ld: warning: directory not found for option '-L/opt/local/lib'directory not found for option '-L/usr/local/opt/icu4c/lib'directory not found for option '-L/opt/local/lib' [build] ld: warning: directory not found for option '-L/usr/local/opt/icu4c/lib' [build] [build] [build] ld: warning: directory not found for option '-L/usr/local/opt/icu4c/lib' [build] Consolidate compiler generated dependencies of target libtommath [build] [ 0%] Built target makeHeader [build] [ 2%] Built target btyacc [build] [ 3%] Built target ib_util [build] [ 4%] Built target cloop [build] Consolidate compiler generated dependencies of target ib_udf [build] [ 22%] Built target libtommath [build] [ 22%] Generating parse.cpp, parse.h [build] [ 22%] Linking CXX shared library ../firebird/UDF/ib_udf.dylib [build] [ 22%] Updating cloop interfaces... [build] ld: warning: directory not found for option '-L/opt/local/lib' [build] ld: warning: directory not found for option '-L/usr/local/opt/icu4c/lib' [build] [ 22%] Built target ib_udf [build] [ 22%] Built target UpdateCloopInterfaces [build] Consolidate compiler generated dependencies of target cryptkeyholder_example [build] Consolidate compiler generated dependencies of target dbcrypt_example [build] [ 22%] Building CXX object examples/CMakeFiles/cryptkeyholder_example.dir/dbcrypt/CryptKeyHolder.cpp.o [build] [ 22%] Building CXX object examples/CMakeFiles/dbcrypt_example.dir/dbcrypt/DbCrypt.cpp.o [build] Consolidate compiler generated dependencies of target remote [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] Consolidate compiler generated dependencies of target gpre_common [build] [ 22%] Building CXX object src/remote/CMakeFiles/remote.dir/merge.cpp.o [build] [ 22%] Building CXX object src/remote/CMakeFiles/remote.dir/protocol.cpp.o [build] [ 22%] Building CXX object src/remote/CMakeFiles/remote.dir/remote.cpp.o [build] [ 22%] Building CXX object src/remote/CMakeFiles/remote.dir/parser.cpp.o [build] [ 23%] Building CXX object src/remote/CMakeFiles/remote.dir/inet.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 23%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/c_cxx.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] Consolidate compiler generated dependencies of target common [build] [ 24%] Building CXX object src/CMakeFiles/common.dir/common/Auth.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 24%] Linking CXX shared library ../firebird/plugins/libDbCrypt_example.dylib [build] ld: warning: directory not found for option '-L/opt/local/lib' [build] ld: warning: directory not found for option '-L/usr/local/opt/icu4c/lib' [build] ../bin/btyacc: 32 shift/reduce conflicts, 11 reduce/reduce conflicts. [build] [ 25%] Linking CXX shared library ../firebird/plugins/libCryptKeyHolder_example.dylib [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:177:10: warning: 33 enumeration values not handled in switch: 'ACT_any', 'ACT_at_end', 'ACT_b_declare'... [-Wswitch] [build] switch (action->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:177:10: note: add missing switch cases [build] switch (action->act_type) [build] ^ [build] [ 25%] Built target dbcrypt_example [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:661:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (reference = reference->ref_null) [build] ~~^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:661:18: note: place parentheses around the assignment to silence this warning [build] if (reference = reference->ref_null) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:661:18: note: use '==' to turn this assignment into an equality comparison [build] if (reference = reference->ref_null) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:690:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (reference = reference->ref_null) [build] ~~^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:690:16: note: place parentheses around the assignment to silence this warning [build] if (reference = reference->ref_null) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:690:16: note: use '==' to turn this assignment into an equality comparison [build] if (reference = reference->ref_null) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:1052:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ~~~~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:1052:22: note: place parentheses around the assignment to silence this warning [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:1052:22: note: use '==' to turn this assignment into an equality comparison [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:1588:7: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] strlen(db->dbb_filename), db->dbb_filename); [build] ^~~~~~~~ [build] [ 25%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/cmd.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:2834:11: warning: 10 enumeration values not handled in switch: 'REQ_for', 'REQ_store', 'REQ_store2'... [-Wswitch] [build] switch (request->req_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/c_cxx.cpp:2834:11: note: add missing switch cases [build] switch (request->req_type) [build] ^ [build] ld: warning: directory not found for option '-L/opt/local/lib' [build] ld: warning: directory not found for option '-L/usr/local/opt/icu4c/lib' [build] [ 25%] Building CXX object src/remote/CMakeFiles/remote.dir/__/auth/SecureRemotePassword/srp.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 25%] Built target cryptkeyholder_example [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 25%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/cme.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/remote/inet.cpp:2120:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] else if (port = select_accept(main_port)) [build] ~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/remote/inet.cpp:2120:18: note: place parentheses around the assignment to silence this warning [build] else if (port = select_accept(main_port)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/remote/inet.cpp:2120:18: note: use '==' to turn this assignment into an equality comparison [build] else if (port = select_accept(main_port)) [build] ^ [build] == [build] [ 26%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/cmp.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 6 warnings generated. [build] [ 26%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/exp.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 26%] Building CXX object src/CMakeFiles/common.dir/common/BigInteger.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:169:10: warning: 66 enumeration values not handled in switch: 'nod_nothing', 'nod_and', 'nod_or'... [-Wswitch] [build] switch (node->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:169:10: note: add missing switch cases [build] switch (node->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:461:10: warning: 78 enumeration values not handled in switch: 'nod_nothing', 'nod_field', 'nod_literal'... [-Wswitch] [build] switch (node->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:461:10: note: add missing switch cases [build] switch (node->nod_type) [build] ^ [build] [ 26%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/gpre.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1157:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] else if (procedure = context->ctx_procedure) [build] ~~^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1157:21: note: place parentheses around the assignment to silence this warning [build] else if (procedure = context->ctx_procedure) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1157:21: note: use '==' to turn this assignment into an equality comparison [build] else if (procedure = context->ctx_procedure) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1220:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] else if (sub_rse = selection->rse_aggregate) [build] ~~^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1220:19: note: place parentheses around the assignment to silence this warning [build] else if (sub_rse = selection->rse_aggregate) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1220:19: note: use '==' to turn this assignment into an equality comparison [build] else if (sub_rse = selection->rse_aggregate) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1289:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (temp = selection->rse_reduced) [build] ~^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1289:11: note: place parentheses around the assignment to silence this warning [build] if (temp = selection->rse_reduced) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1289:11: note: use '==' to turn this assignment into an equality comparison [build] if (temp = selection->rse_reduced) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1298:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (temp = selection->rse_plan) [build] ~^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1298:11: note: place parentheses around the assignment to silence this warning [build] if (temp = selection->rse_plan) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1298:11: note: use '==' to turn this assignment into an equality comparison [build] if (temp = selection->rse_plan) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1742:11: warning: 86 enumeration values not handled in switch: 'nod_nothing', 'nod_field', 'nod_literal'... [-Wswitch] [build] switch (arg->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:1742:11: note: add missing switch cases [build] switch (arg->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:2109:10: warning: 87 enumeration values not handled in switch: 'nod_nothing', 'nod_field', 'nod_literal'... [-Wswitch] [build] switch (node->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cme.cpp:2109:10: note: add missing switch cases [build] switch (node->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:171:10: warning: 9 enumeration values not handled in switch: 'REQ_for', 'REQ_store', 'REQ_store2'... [-Wswitch] [build] switch (request->req_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:171:10: note: add missing switch cases [build] switch (request->req_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:246:11: warning: 90 enumeration values not handled in switch: 'ACT_any', 'ACT_alter_database', 'ACT_alter_domain'... [-Wswitch] [build] switch (action->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:246:11: note: add missing switch cases [build] switch (action->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:901:11: warning: 96 enumeration values not handled in switch: 'ACT_any', 'ACT_alter_database', 'ACT_alter_domain'... [-Wswitch] [build] switch (action->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:901:11: note: add missing switch cases [build] switch (action->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:965:12: warning: 96 enumeration values not handled in switch: 'ACT_any', 'ACT_alter_database', 'ACT_alter_domain'... [-Wswitch] [build] switch (action->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:965:12: note: add missing switch cases [build] switch (action->act_type) [build] ^ [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 26%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/hsh.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:1392:10: warning: 8 enumeration values not handled in switch: 'lang_undef', 'lang_pascal', 'lang_cobol'... [-Wswitch] [build] switch (gpreGlob.sw_language) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:1392:10: note: add missing switch cases [build] switch (gpreGlob.sw_language) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:1757:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (reference = alignments[i]) [build] ~~^~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:1757:20: note: place parentheses around the assignment to silence this warning [build] while (reference = alignments[i]) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/cmp.cpp:1757:20: note: use '==' to turn this assignment into an equality comparison [build] while (reference = alignments[i]) [build] ^ [build] == [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/exp.cpp:351:10: warning: 376 enumeration values not handled in switch: 'KW_none', 'KW_start_actions', 'KW_ACTIVE'... [-Wswitch] [build] switch (gpreGlob.token_global.tok_keyword) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/exp.cpp:351:10: note: add missing switch cases [build] switch (gpreGlob.token_global.tok_keyword) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/exp.cpp:1130:12: warning: 8 enumeration values not handled in switch: 'lang_undef', 'lang_pascal', 'lang_fortran'... [-Wswitch] [build] switch (gpreGlob.sw_language) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/exp.cpp:1130:12: note: add missing switch cases [build] switch (gpreGlob.sw_language) [build] ^ [build] [ 26%] Building CXX object src/CMakeFiles/common.dir/common/CharSet.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/exp.cpp:1388:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (field2 = lookup_field(next)) [build] ~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/exp.cpp:1388:15: note: place parentheses around the assignment to silence this warning [build] if (field2 = lookup_field(next)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/exp.cpp:1388:15: note: use '==' to turn this assignment into an equality comparison [build] if (field2 = lookup_field(next)) [build] ^ [build] == [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 3 warnings generated. [build] 6 warnings generated. [build] 8 warnings generated. [build] [ 26%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/int_cxx.cpp.o [build] [ 26%] Building CXX object src/CMakeFiles/common.dir/common/DynamicStrings.cpp.o [build] [ 26%] Building CXX object src/CMakeFiles/common.dir/common/IntlParametersBlock.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:390:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] gpreGlob.sw_language = ext_tab->ext_language; ext_tab++) [build] ~~~~~^~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:390:25: note: place parentheses around the assignment to silence this warning [build] gpreGlob.sw_language = ext_tab->ext_language; ext_tab++) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:390:25: note: use '==' to turn this assignment into an equality comparison [build] gpreGlob.sw_language = ext_tab->ext_language; ext_tab++) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:402:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] gpreGlob.sw_language = ext_tab->ext_language; ext_tab++) [build] ~~~~~^~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:402:25: note: place parentheses around the assignment to silence this warning [build] gpreGlob.sw_language = ext_tab->ext_language; ext_tab++) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:402:25: note: use '==' to turn this assignment into an equality comparison [build] gpreGlob.sw_language = ext_tab->ext_language; ext_tab++) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:738:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] [build] else [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:802:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (renamed = file_rename(spare_out_file_name, out_src_ext_tab->in, out_src_ext_tab->out)) [build] ~~^~~~~~~~~~~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:802:16: note: place parentheses around the assignment to silence this warning [build] if (renamed = file_rename(spare_out_file_name, out_src_ext_tab->in, out_src_ext_tab->out)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:802:16: note: use '==' to turn this assignment into an equality comparison [build] if (renamed = file_rename(spare_out_file_name, out_src_ext_tab->in, out_src_ext_tab->out)) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:845:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (end_position = compile_module(end_position, filename_array[3])) [build] ~~~^~~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:845:23: note: place parentheses around the assignment to silence this warning [build] while (end_position = compile_module(end_position, filename_array[3])) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:845:23: note: use '==' to turn this assignment into an equality comparison [build] while (end_position = compile_module(end_position, filename_array[3])) [build] ^ [build] == [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1398:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (terminator++ = extension++) [build] ~~~~^~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1398:24: note: place parentheses around the assignment to silence this warning [build] while (terminator++ = extension++) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1398:24: note: use '==' to turn this assignment into an equality comparison [build] while (terminator++ = extension++) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1414:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (ext++ = new_extension++) [build] ~^~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1414:19: note: place parentheses around the assignment to silence this warning [build] while (ext++ = new_extension++) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1414:19: note: use '==' to turn this assignment into an equality comparison [build] while (ext++ = new_extension++) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1422:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (terminator++ = extension++) [build] ~~~~^~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1422:23: note: place parentheses around the assignment to silence this warning [build] while (terminator++ = extension++) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1422:23: note: use '==' to turn this assignment into an equality comparison [build] while (terminator++ = extension++) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1519:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (relation = MET_get_relation(db, based_on->bas_rel_name->str_string, "")) [build] ~~~^~~~~~~~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1519:18: note: place parentheses around the assignment to silence this warning [build] if (relation = MET_get_relation(db, based_on->bas_rel_name->str_string, "")) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1519:18: note: use '==' to turn this assignment into an equality comparison [build] if (relation = MET_get_relation(db, based_on->bas_rel_name->str_string, "")) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1647:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] q = in_sw_table_iterator->in_sw_name; [build] ^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1647:9: note: place parentheses around the assignment to silence this warning [build] q = in_sw_table_iterator->in_sw_name; [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:1647:9: note: use '==' to turn this assignment into an equality comparison [build] q = in_sw_table_iterator->in_sw_name; [build] ^ [build] == [build] [ 26%] Building CXX object src/CMakeFiles/common.dir/common/IntlUtil.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:2376:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (action = action->act_rest) [build] ~^~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:2376:17: note: place parentheses around the assignment to silence this warning [build] if (action = action->act_rest) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/gpre.cpp:2376:17: note: use '==' to turn this assignment into an equality comparison [build] if (action = action->act_rest) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/hsh.cpp:237:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (c = string++) [build] ^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/hsh.cpp:237:11: note: place parentheses around the assignment to silence this warning [build] while (c = string++) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/hsh.cpp:237:11: note: use '==' to turn this assignment into an equality comparison [build] while (c = string++) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/hsh.cpp:263:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (c1 = string1++) [build] ~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/hsh.cpp:263:12: note: place parentheses around the assignment to silence this warning [build] while (c1 = string1++) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/hsh.cpp:263:12: note: use '==' to turn this assignment into an equality comparison [build] while (c1 = string1++) [build] ^ [build] == [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 2 warnings generated. [build] [ 26%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/jrdmet.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/int_cxx.cpp:96:10: warning: 93 enumeration values not handled in switch: 'ACT_any', 'ACT_alter_database', 'ACT_alter_domain'... [-Wswitch] [build] switch (action->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/int_cxx.cpp:96:10: note: add missing switch cases [build] switch (action->act_type) [build] ^ [build] 1 warning generated. [build] [ 27%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/languages/ada.cpp.o [build] [ 28%] Building CXX object src/CMakeFiles/common.dir/common/MsgMetadata.cpp.o [build] [ 28%] Building CXX object src/CMakeFiles/common.dir/common/ScanDir.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 1 warning generated. [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 11 warnings generated. [build] [ 28%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/languages/cob.cpp.o [build] [ 28%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/languages/ftn.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 28%] Linking CXX static library libremote.a [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ada.cpp:572:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (reference = reference->ref_null) [build] ~~^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ada.cpp:572:16: note: place parentheses around the assignment to silence this warning [build] if (reference = reference->ref_null) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ada.cpp:572:16: note: use '==' to turn this assignment into an equality comparison [build] if (reference = reference->ref_null) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ada.cpp:890:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ~~~~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ada.cpp:890:22: note: place parentheses around the assignment to silence this warning [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ada.cpp:890:22: note: use '==' to turn this assignment into an equality comparison [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] == [build] [ 28%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/languages/pas.cpp.o [build] [ 28%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/languages/rmc.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:881:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (reference = reference->ref_null) [build] ~~^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:881:16: note: place parentheses around the assignment to silence this warning [build] if (reference = reference->ref_null) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:881:16: note: use '==' to turn this assignment into an equality comparison [build] if (reference = reference->ref_null) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1162:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ~~~~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1162:22: note: place parentheses around the assignment to silence this warning [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1162:22: note: use '==' to turn this assignment into an equality comparison [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1365:17: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] BY_VALUE, strlen(db->dbb_r_user) - 2, END_VALUE); [build] ^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1376:17: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] BY_VALUE, strlen(db->dbb_r_password) - 2, END_VALUE); [build] ^~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1389:17: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] BY_VALUE, strlen(db->dbb_r_sql_role) - 2, END_VALUE); [build] ^~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1401:17: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] BY_VALUE, strlen(db->dbb_r_lc_messages) - 2, [build] ^~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1413:17: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] BY_VALUE, strlen(db->dbb_r_lc_ctype) - 2, END_VALUE); [build] ^~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1442:14: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] BY_VALUE, strlen(db->dbb_filename), END_VALUE, [build] ^~~~~~~~ [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1594:38: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] names[isc_b_pos], db->dbb_id, strlen(db->dbb_runtime), db->dbb_runtime); [build] ^~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1599:38: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] names[isc_b_pos], db->dbb_id, strlen(db->dbb_filename), db->dbb_filename); [build] ^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1634:43: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] names[isc_b_pos], ready->rdy_id, strlen(fname), fname); [build] ^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1693:14: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] s1, strlen(s1) + 1, s1); [build] ^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1714:47: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] names[isc_b_pos], request->req_ident, strlen(sname), sname); [build] ^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1616:11: warning: 90 enumeration values not handled in switch: 'ACT_any', 'ACT_alter_database', 'ACT_alter_domain'... [-Wswitch] [build] switch (local_act->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:1616:11: note: add missing switch cases [build] switch (local_act->act_type) [build] ^ [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:3983:17: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] BY_VALUE, strlen(db->dbb_r_user) - 2, END_VALUE); [build] ^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:3994:17: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] BY_VALUE, strlen(db->dbb_r_password) - 2, END_VALUE); [build] ^~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:4007:17: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] BY_VALUE, strlen(db->dbb_r_sql_role) - 2, END_VALUE); [build] ^~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:4019:17: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] BY_VALUE, strlen(db->dbb_r_lc_messages) - 2, [build] ^~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/cob.cpp:4031:17: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] BY_VALUE, strlen(db->dbb_r_lc_ctype) - 2, END_VALUE); [build] ^~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:748:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (reference = reference->ref_null) [build] ~~^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:748:16: note: place parentheses around the assignment to silence this warning [build] if (reference = reference->ref_null) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:748:16: note: use '==' to turn this assignment into an equality comparison [build] if (reference = reference->ref_null) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:1027:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ~~~~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:1027:22: note: place parentheses around the assignment to silence this warning [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:1027:22: note: use '==' to turn this assignment into an equality comparison [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] == [build] [ 28%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/movg.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:1208:16: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] I2CONST_1, strlen(db->dbb_filename), I2CONST_2, [build] ^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:1215:16: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] I2CONST_1, strlen(db->dbb_filename), I2CONST_2, [build] ^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:1368:42: warning: data argument not used by format string [-Wformat-extra-args] [build] sprintf(output_buffer, INCLUDE_ISC_FTN, include_buffer.c_str()); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:1521:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (port = request->req_primary) [build] ~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:1521:12: note: place parentheses around the assignment to silence this warning [build] if (port = request->req_primary) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:1521:12: note: use '==' to turn this assignment into an equality comparison [build] if (port = request->req_primary) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/ftn.cpp:1605:10: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] I2_1, strlen(db->dbb_filename), I2_2, [build] ^~~~~~~~ [build] [ 28%] Built target remote [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 28%] Building CXX object src/CMakeFiles/common.dir/common/StatementMetadata.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:174:10: warning: 34 enumeration values not handled in switch: 'ACT_any', 'ACT_at_end', 'ACT_b_declare'... [-Wswitch] [build] switch (action->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:174:10: note: add missing switch cases [build] switch (action->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:629:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (reference = reference->ref_null) [build] ~~^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:629:16: note: place parentheses around the assignment to silence this warning [build] if (reference = reference->ref_null) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:629:16: note: use '==' to turn this assignment into an equality comparison [build] if (reference = reference->ref_null) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:911:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (reference = reference->ref_null) [build] ~~^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:911:16: note: place parentheses around the assignment to silence this warning [build] if (reference = reference->ref_null) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:911:16: note: use '==' to turn this assignment into an equality comparison [build] if (reference = reference->ref_null) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1104:73: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] fprintf(gpreGlob.out_file, "%sPIC X(%" SIZEFORMAT")", names[COLUMN], strlen(gpreGlob.sw_cob_dformat)); [build] ~~~ ^~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1112:73: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] fprintf(gpreGlob.out_file, "%sPIC X(%" SIZEFORMAT")", names[COLUMN], strlen(gpreGlob.sw_cob_dformat)); [build] ~~~ ^~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1292:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ~~~~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1292:22: note: place parentheses around the assignment to silence this warning [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1292:22: note: use '==' to turn this assignment into an equality comparison [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:887:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ~~~~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1561:4: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] strlen(db->dbb_filename), [build] ^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:887:22: note: place parentheses around the assignment to silence this warning [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:887:22: note: use '==' to turn this assignment into an equality comparison [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:1035:31: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] status_vector(action), strlen(db->dbb_filename), [build] ^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:1040:31: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] status_vector(action), strlen(db->dbb_filename), [build] ^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:1364:7: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] strlen(db->dbb_filename), db->dbb_filename); [build] ^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:1455:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (var_list = statement->dyn_using) [build] ~~~^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:1455:15: note: place parentheses around the assignment to silence this warning [build] if (var_list = statement->dyn_using) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:1455:15: note: use '==' to turn this assignment into an equality comparison [build] if (var_list = statement->dyn_using) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:2026:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (port = action->act_request->req_primary) [build] ~^~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:2026:11: note: place parentheses around the assignment to silence this warning [build] if (port = action->act_request->req_primary) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:2026:11: note: use '==' to turn this assignment into an equality comparison [build] if (port = action->act_request->req_primary) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1720:38: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] names[isc_b_pos], db->dbb_id, strlen(db->dbb_runtime), db->dbb_runtime); [build] ^~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1725:38: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] names[isc_b_pos], db->dbb_id, strlen(db->dbb_filename), db->dbb_filename); [build] ^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1760:43: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] names[isc_b_pos], ready->rdy_id, strlen(fname), fname); [build] ^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1812:13: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] [build] s1, strlen(s1) + 1, s1); [build] ^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1831:46: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] names[isc_b_pos], request->req_ident, strlen(sname), sname); [build] ^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1879:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (port = request->req_primary) [build] ~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1879:12: note: place parentheses around the assignment to silence this warning [build] if (port = request->req_primary) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/rmc.cpp:1879:12: note: use '==' to turn this assignment into an equality comparison [build] if (port = request->req_primary) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:3368:16: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] vector, strlen(db->dbb_filename), db->dbb_filename, [build] ^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/languages/pas.cpp:3466:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] [build] else [build] ^ [build] 2 warnings generated. [build] [ 28%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/msc.cpp.o [build] [ 29%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/obj_cxx.cpp.o [build] [ 29%] Building CXX object src/CMakeFiles/common.dir/common/StatusArg.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 7 warnings generated. [build] 19 warnings generated. [build] [ 29%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/par.cpp.o [build] [ 29%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/pat.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:189:10: warning: 33 enumeration values not handled in switch: 'ACT_any', 'ACT_at_end', 'ACT_b_declare'... [-Wswitch] [build] switch (action->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:189:10: note: add missing switch cases [build] switch (action->act_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/msc.cpp:267:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (stuff = space) [build] ~~^~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/msc.cpp:267:15: note: place parentheses around the assignment to silence this warning [build] while (stuff = space) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/msc.cpp:267:15: note: use '==' to turn this assignment into an equality comparison [build] while (stuff = space) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:673:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (reference = reference->ref_null) [build] ~~^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:673:18: note: place parentheses around the assignment to silence this warning [build] if (reference = reference->ref_null) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:673:18: note: use '==' to turn this assignment into an equality comparison [build] if (reference = reference->ref_null) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:702:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (reference = reference->ref_null) [build] ~~^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:702:16: note: place parentheses around the assignment to silence this warning [build] if (reference = reference->ref_null) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:702:16: note: use '==' to turn this assignment into an equality comparison [build] if (reference = reference->ref_null) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:1064:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ~~~~^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:1064:22: note: place parentheses around the assignment to silence this warning [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:1064:22: note: use '==' to turn this assignment into an equality comparison [build] if (args.pat_value1 = blob->blb_bpb_length) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/obj_cxx.cpp:1601:7: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] strlen(db->dbb_filename), db->dbb_filename); [build] ^~~~~~~~ [build] 10 warnings generated. [build] 1 warning generated. [build] 11 warnings generated. [build] [ 29%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/sqe.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/pat.cpp:186:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (c = pattern++) [build] ^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/pat.cpp:186:11: note: place parentheses around the assignment to silence this warning [build] while (c = pattern++) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/pat.cpp:186:11: note: use '==' to turn this assignment into an equality comparison [build] while (c = pattern++) [build] ^ [build] == [build] [ 29%] Building CXX object src/gpre/CMakeFiles/gpre_common.dir/sql.cpp.o [build] [ 29%] Building CXX object src/CMakeFiles/common.dir/common/StatusHolder.cpp.o [build] 1 warning generated. [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 29%] Building CXX object src/CMakeFiles/common.dir/common/TextType.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 29%] Building CXX object src/CMakeFiles/common.dir/common/ThreadData.cpp.o [build] [ 30%] Building CXX object src/CMakeFiles/common.dir/common/ThreadStart.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 30%] Building CXX object src/CMakeFiles/common.dir/common/Tokens.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 5 warnings generated. [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:207:10: warning: 349 enumeration values not handled in switch: 'KW_none', 'KW_start_actions', 'KW_ACTIVE'... [-Wswitch] [build] switch (keyword) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:207:10: note: add missing switch cases [build] switch (keyword) [build] ^ [build] [ 30%] Building CXX object src/CMakeFiles/common.dir/common/UtilSvc.cpp.o [build] [ 30%] Building CXX object src/CMakeFiles/common.dir/common/call_service.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:641:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (reference->ref_field = MET_context_field(context, gpreGlob.token_global.tok_string)) [build] ~~~~~^~~~~~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:641:28: note: place parentheses around the assignment to silence this warning [build] if (reference->ref_field = MET_context_field(context, gpreGlob.token_global.tok_string)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:641:28: note: use '==' to turn this assignment into an equality comparison [build] if (reference->ref_field = MET_context_field(context, gpreGlob.token_global.tok_string)) [build] ^ [build] == [build] [ 30%] Building CXX object src/CMakeFiles/common.dir/common/classes/BaseStream.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1047:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (field = resolve(node, selection->rse_context[i], &context, &slice_action)) [build] ~~^~~~~~~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1047:14: note: place parentheses around the assignment to silence this warning [build] if (field = resolve(node, selection->rse_context[i], &context, &slice_action)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1047:14: note: use '==' to turn this assignment into an equality comparison [build] if (field = resolve(node, selection->rse_context[i], &context, &slice_action)) [build] ^ [build] == [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1446:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (field = get_ref(ptr)) [build] ~~^~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1446:15: note: place parentheses around the assignment to silence this warning [build] if (field = get_ref(ptr)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1446:15: note: use '==' to turn this assignment into an equality comparison [build] if (field = get_ref(ptr)) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1454:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (field = get_ref(expr->nod_arg[1])) [build] ~~^~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1454:13: note: place parentheses around the assignment to silence this warning [build] if (field = get_ref(expr->nod_arg[1])) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1454:13: note: use '==' to turn this assignment into an equality comparison [build] if (field = get_ref(expr->nod_arg[1])) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1418:10: warning: 72 enumeration values not handled in switch: 'nod_nothing', 'nod_literal', 'nod_value'... [-Wswitch] [build] switch (expr->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1418:10: note: add missing switch cases [build] switch (expr->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1730:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (relation = par_base_table(request, context->ctx_relation, (const TEXT) arg)) [build] ~~~^~~~~~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1730:17: note: place parentheses around the assignment to silence this warning [build] if (relation = par_base_table(request, context->ctx_relation, (const TEXT) arg)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:1730:17: note: use '==' to turn this assignment into an equality comparison [build] if (relation = par_base_table(request, context->ctx_relation, (const TEXT) arg)) [build] ^ [build] == [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 30%] Building CXX object src/CMakeFiles/common.dir/common/classes/BlrWriter.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:2392:10: warning: 375 enumeration values not handled in switch: 'KW_none', 'KW_start_actions', 'KW_ACTIVE'... [-Wswitch] [build] switch (token.tok_keyword) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:2392:10: note: add missing switch cases [build] switch (token.tok_keyword) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:2876:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (context = par_joined_relation(request)) [build] ~~^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:2876:15: note: place parentheses around the assignment to silence this warning [build] if (context = par_joined_relation(request)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:2876:15: note: use '==' to turn this assignment into an equality comparison [build] if (context = par_joined_relation(request)) [build] ^ [build] == [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3021:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (select->rse_into = into_list) [build] ~~~^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3021:23: note: place parentheses around the assignment to silence this warning [build] if (select->rse_into = into_list) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3021:23: note: use '==' to turn this assignment into an equality comparison [build] if (select->rse_into = into_list) [build] ^ [build] == [build] [ 31%] Building CXX object src/CMakeFiles/common.dir/common/classes/ClumpletReader.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:2249:10: warning: 377 enumeration values not handled in switch: 'KW_none', 'KW_start_actions', 'KW_ACTIVE'... [-Wswitch] [build] switch (gpreGlob.token_global.tok_keyword) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:2249:10: note: add missing switch cases [build] switch (gpreGlob.token_global.tok_keyword) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3215:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] [build] else [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3504:10: warning: 69 enumeration values not handled in switch: 'nod_nothing', 'nod_literal', 'nod_value'... [-Wswitch] [build] switch (node->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3504:10: note: add missing switch cases [build] switch (node->nod_type) [build] ^ [build] YYTABLESIZE: 104606 [build] [ 31%] Building CXX object src/CMakeFiles/common.dir/common/classes/ClumpletWriter.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 31%] Building CXX object src/CMakeFiles/common.dir/common/classes/DbImplementation.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3687:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (field = resolve(node, rs_stream->rse_context[i], found_context, slice_action)) [build] ~~^~~~~~~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3687:14: note: place parentheses around the assignment to silence this warning [build] if (field = resolve(node, rs_stream->rse_context[i], found_context, slice_action)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3687:14: note: use '==' to turn this assignment into an equality comparison [build] if (field = resolve(node, rs_stream->rse_context[i], found_context, slice_action)) [build] ^ [build] == [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3749:11: warning: 18 enumeration values not handled in switch: 'SYM_keyword', 'SYM_database', 'SYM_field'... [-Wswitch] [build] switch (symbol->sym_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3749:11: note: add missing switch cases [build] switch (symbol->sym_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3820:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (context = resolve_asterisk(q_token, rs_stream)) [build] ~~^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3820:16: note: place parentheses around the assignment to silence this warning [build] if (context = resolve_asterisk(q_token, rs_stream)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3820:16: note: use '==' to turn this assignment into an equality comparison [build] if (context = resolve_asterisk(q_token, rs_stream)) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3858:10: warning: 73 enumeration values not handled in switch: 'nod_nothing', 'nod_field', 'nod_literal'... [-Wswitch] [build] switch (expr->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3858:10: note: add missing switch cases [build] switch (expr->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:3851:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] [build] else [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:3860:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] [build] else [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:3880:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] [build] else [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:4040:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (reference->ref_field = field) [build] ~~~~~^~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:4040:29: note: place parentheses around the assignment to silence this warning [build] if (reference->ref_field = field) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:4040:29: note: use '==' to turn this assignment into an equality comparison [build] if (reference->ref_field = field) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3957:10: warning: 83 enumeration values not handled in switch: 'nod_nothing', 'nod_field', 'nod_literal'... [-Wswitch] [build] switch (fields->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3957:10: note: add missing switch cases [build] switch (fields->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3982:11: warning: 67 enumeration values not handled in switch: 'nod_nothing', 'nod_literal', 'nod_value'... [-Wswitch] [build] switch ((ptr)->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sqe.cpp:3982:11: note: add missing switch cases [build] switch ((ptr)->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:5536:10: warning: 85 enumeration values not handled in switch: 'nod_nothing', 'nod_and', 'nod_or'... [-Wswitch] [build] switch (expr->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:5536:10: note: add missing switch cases [build] switch (expr->nod_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:5774:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (symbol = MSC_find_symbol(gpreGlob.token_global.tok_symbol, SYM_dyn_cursor)) [build] ~^~~~~~~~~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:5774:13: note: place parentheses around the assignment to silence this warning [build] if (symbol = MSC_find_symbol(gpreGlob.token_global.tok_symbol, SYM_dyn_cursor)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/gpre/sql.cpp:5774:13: note: use '==' to turn this assignment into an equality comparison [build] if (symbol = MSC_find_symbol(gpreGlob.token_global.tok_symbol, SYM_dyn_cursor)) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/ClumpletReader.cpp:211:10: warning: 8 enumeration values not handled in switch: 'EndOfList', 'UnTagged', 'SpbStart'... [-Wswitch] [build] switch (kind) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/ClumpletReader.cpp:211:10: note: add missing switch cases [build] switch (kind) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/ClumpletReader.cpp:283:10: warning: enumeration value 'EndOfList' not handled in switch [-Wswitch] [build] switch (kind) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/ClumpletReader.cpp:283:10: note: add missing switch cases [build] switch (kind) [build] ^ [build] [ 31%] Building CXX object src/CMakeFiles/common.dir/common/classes/ImplementHelper.cpp.o [build] [ 31%] Built target parse [build] [ 31%] Building CXX object src/CMakeFiles/common.dir/common/classes/InternalMessageBuffer.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 31%] Building CXX object src/CMakeFiles/common.dir/common/classes/MetaName.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 17 warnings generated. [build] [ 32%] Building CXX object src/CMakeFiles/common.dir/common/classes/MsgPrint.cpp.o [build] 2 warnings generated. [build] [ 32%] Building CXX object src/CMakeFiles/common.dir/common/classes/Switches.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] Consolidate compiler generated dependencies of target yvalve_common [build] [ 32%] Building CXX object src/CMakeFiles/yvalve_common.dir/yvalve/DistributedTransaction.cpp.o [build] [ 32%] Building CXX object src/CMakeFiles/common.dir/common/classes/SyncObject.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 8 warnings generated. [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/SyncObject.cpp:421:10: warning: enumeration value 'SYNC_INVALID' not handled in switch [-Wswitch] [build] switch (lockType) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/SyncObject.cpp:421:10: note: add missing switch cases [build] switch (lockType) [build] ^ [build] [ 32%] Building CXX object src/CMakeFiles/yvalve_common.dir/yvalve/MasterImplementation.cpp.o [build] [ 32%] Linking CXX static library libgpre_common.a [build] 1 warning generated. [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 32%] Building CXX object src/CMakeFiles/common.dir/common/classes/Synchronize.cpp.o [build] [ 32%] Building CXX object src/CMakeFiles/common.dir/common/classes/TempFile.cpp.o [build] [ 32%] Building CXX object src/CMakeFiles/yvalve_common.dir/yvalve/PluginManager.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 32%] Building CXX object src/CMakeFiles/common.dir/common/classes/alloc.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 33%] Building CXX object src/CMakeFiles/yvalve_common.dir/yvalve/alt.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 33%] Built target gpre_common [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 33%] Building CXX object src/CMakeFiles/yvalve_common.dir/yvalve/config/os/darwin/config_root.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:378:13: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] this, getSize(), fileName, lineNumber); [build] ^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:381:56: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] fprintf(file, "FREE %p: size=%" SIZEFORMAT, this, getSize()); [build] ~~~ ^~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:516:21: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] this, m, memory, spaceRemaining, length); [build] ^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:516:37: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] this, m, memory, spaceRemaining, length); [build] ^~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:588:21: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] this, m, memory, spaceRemaining, length); [build] ^~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:588:37: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] this, m, memory, spaceRemaining, length); [build] ^~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:619:17: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] [build] this, block, length); [build] ^~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:2047:12: warning: offset of on non-POD type 'Firebird::MemBlock' [-Winvalid-offsetof] [build] fb_assert(offsetof(MemBlock, body) == MEM_ALIGN(offsetof(MemBlock, body))); [build] ^ ~~~~ [build] /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/stddef.h:104:24: note: expanded from macro 'offsetof' [build] #define offsetof(t, d) builtin_offsetof(t, d) [build] ^ ~ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../common/gdsassert.h:54:14: note: expanded from macro 'fb_assert' [build] ((void) ( !(ex) && (fb_assert_impl(#ex, FILE, LINE, true), 1) )) [build] ^~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:2047:50: warning: offset of on non-POD type 'Firebird::MemBlock' [-Winvalid-offsetof] [build] fb_assert(offsetof(MemBlock, body) == MEM_ALIGN(offsetof(MemBlock, body))); [build] ^ ~~~~ [build] /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/stddef.h:104:24: note: expanded from macro 'offsetof' [build] #define offsetof(t, d) builtin_offsetof(t, d) [build] ^ ~ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../common/gdsassert.h:54:14: note: expanded from macro 'fb_assert' [build] ((void) ( !(ex) && (fb_assert_impl(#ex, FILE, LINE, true), 1) )) [build] ^~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:2261:46: warning: offset of on non-POD type 'Firebird::MemBlock' [-Winvalid-offsetof] [build] size_t hunkLength = MemBigHunk::hdrSize() + offsetof(MemBlock, body) + length; [build] ^ ~~~~ [build] /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/stddef.h:104:24: note: expanded from macro 'offsetof' [build] #define offsetof(t, d) builtin_offsetof(t, d) [build] ^ ~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:2292:63: warning: offset of on non-POD type 'Firebird::MemBlock' [-Winvalid-offsetof] [build] memset(&memory->body + size, GUARD_BYTE, memory->getSize() - offsetof(MemBlock,body) - size); [build] ^ ~~~~ [build] /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/stddef.h:104:24: note: expanded from macro 'offsetof' [build] #define offsetof(t, d) builtin_offsetof(t, d) [build] ^ ~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:2322:52: warning: offset of on non-POD type 'Firebird::MemBlock' [-Winvalid-offsetof] [build] MemBlock block = (MemBlock) ((UCHAR*) object - offsetof(MemBlock, body)); [build] ^ ~~~~ [build] /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/stddef.h:104:24: note: expanded from macro 'offsetof' [build] #define offsetof(t, d) builtin_offsetof(t, d) [build] ^ ~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/classes/alloc.cpp:2434:42: warning: offset of on non-POD type 'Firebird::MemBlock' [-Winvalid-offsetof] [build] memset(&block->body, DEL_BYTE, length - offsetof(MemBlock, body)); [build] ^ ~~~~ [build] /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include/stddef.h:104:24: note: expanded from macro 'offsetof' [build] #define offsetof(t, d) builtin_offsetof(t, d) [build] ^ ~ [build] [ 33%] Building CXX object src/CMakeFiles/common.dir/common/classes/fb_string.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/alt.cpp:73:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] [build] va_start(ptr, count); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/alt.cpp:55:19: note: parameter of type 'USHORT' (aka 'unsigned short') is declared here [build] USHORT count, ...) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/alt.cpp:111:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] [build] va_start(ptr, count); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/alt.cpp:55:19: note: parameter of type 'USHORT' (aka 'unsigned short') is declared here [build] USHORT count, ...) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/alt.cpp:268:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] [build] va_start(ptr, count); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/alt.cpp:240:22: note: parameter of type 'SSHORT' (aka 'short') is declared here [build] SSHORT count, ...) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/alt.cpp:594:9: warning: 'isc_ddl' is deprecated [-Wdeprecated-declarations] [build] return isc_ddl(status_vector, db_handle, tra_handle, ddl_length, ddl); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../common/../jrd/ibase.h:708:12: note: 'isc_ddl' has been explicitly marked deprecated here [build] ISC_STATUS FB_API_DEPRECATED ISC_EXPORT isc_ddl(ISC_STATUS*, [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../common/../jrd/ibase.h:62:42: note: expanded from macro 'FB_API_DEPRECATED' [build] #define FB_API_DEPRECATED attribute((deprecated)) [build] ^ [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 33%] Building CXX object src/CMakeFiles/yvalve_common.dir/yvalve/gds.cpp.o [build] [ 33%] Building CXX object src/CMakeFiles/common.dir/common/classes/init.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 33%] Building CXX object src/CMakeFiles/common.dir/common/classes/locks.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 13 warnings generated. [build] [ 33%] Building CXX object src/CMakeFiles/common.dir/common/classes/semaphore.cpp.o [build] [ 33%] Building CXX object src/CMakeFiles/common.dir/common/classes/timestamp.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 34%] Building CXX object src/CMakeFiles/common.dir/common/config/ConfigCache.cpp.o [build] Consolidate compiler generated dependencies of target engine12_common [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 34%] Building CXX object src/CMakeFiles/common.dir/common/config/config.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 34%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/AggNodes.cpp.o [build] [ 34%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/BlrDebugWriter.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 34%] Building CXX object src/CMakeFiles/common.dir/common/config/config_file.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/gds.cpp:2480:54: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] for (clean_t clean_ptr = &cleanup_handlers; clean = *clean_ptr; clean_ptr = &clean->clean_next) [build] ~~^~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/gds.cpp:2480:54: note: place parentheses around the assignment to silence this warning [build] for (clean_t* clean_ptr = &cleanup_handlers; clean = clean_ptr; clean_ptr = &clean->clean_next) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/gds.cpp:2480:54: note: use '==' to turn this assignment into an equality comparison [build] for (clean_t clean_ptr = &cleanup_handlers; clean = *clean_ptr; clean_ptr = &clean->clean_next) [build] ^ [build] == [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 34%] Building CXX object src/CMakeFiles/common.dir/common/config/dir_list.cpp.o [build] 4 warnings generated. [build] /Users/sembsa/svn/build_firebird/firebird/src/common/config/config.cpp:328:11: warning: enumeration values 'TYPE_BOOLEAN' and 'TYPE_INTEGER' not handled in switch [-Wswitch] [build] switch (entries[i].data_type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/config/config.cpp:328:11: note: add missing switch cases [build] switch (entries[i].data_type) [build] ^ [build] [ 35%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/BoolNodes.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 35%] Building CXX object src/CMakeFiles/yvalve_common.dir/yvalve/perf.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/common/config/dir_list.cpp:206:10: warning: enumeration values 'NotInitialized', 'Restrict', and 'SimpleList' not handled in switch [-Wswitch] [build] switch (mode) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/config/dir_list.cpp:206:10: note: add missing switch cases [build] switch (mode) [build] ^ [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/AggNodes.cpp:22: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/AggNodes.h:27: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/Nodes.h:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/BlrDebugWriter.cpp:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] 1 warning generated. [build] [ 35%] Building CXX object src/CMakeFiles/common.dir/common/cvt.cpp.o [build] 1 warning generated. [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/BoolNodes.cpp:23: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/BoolNodes.h:27: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/Nodes.h:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] [ 35%] Building CXX object src/CMakeFiles/common.dir/common/dsc.cpp.o [build] [ 35%] Building CXX object src/CMakeFiles/common.dir/common/db_alias.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 1 warning generated. [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 35%] Building CXX object src/CMakeFiles/yvalve_common.dir/yvalve/preparse.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 35%] Building CXX object src/CMakeFiles/common.dir/common/enc.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 35%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/DSqlDataTypeUtil.cpp.o [build] [ 35%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/DsqlCompilerScratch.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 35%] Building CXX object src/CMakeFiles/yvalve_common.dir/yvalve/user_dsql.cpp.o [build] [ 35%] Building CXX object src/CMakeFiles/common.dir/common/fb_exception.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 36%] Building CXX object src/CMakeFiles/yvalve_common.dir/yvalve/utl.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 36%] Building CXX object src/CMakeFiles/yvalve_common.dir/yvalve/why.cpp.o [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/DSqlDataTypeUtil.cpp:27: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/DsqlCompilerScratch.h:25: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] [ 36%] Building CXX object src/CMakeFiles/yvalve_common.dir/auth/SecureRemotePassword/client/SrpClient.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/DsqlCompilerScratch.cpp:22: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/DsqlCompilerScratch.h:25: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:667:46: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] for (dsql_stmt stmt_ptr = &statements; p = *stmt_ptr; stmt_ptr = &p->stmt_next) [build] ^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:667:46: note: place parentheses around the assignment to silence this warning [build] for (dsql_stmt* stmt_ptr = &statements; p = stmt_ptr; stmt_ptr = &p->stmt_next) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:667:46: note: use '==' to turn this assignment into an equality comparison [build] for (dsql_stmt stmt_ptr = &statements; p = stmt_ptr; stmt_ptr = &p->stmt_next) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:1005:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (p = stmt_ptr) [build] ^~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:1005:11: note: place parentheses around the assignment to silence this warning [build] while (p = stmt_ptr) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:1005:11: note: use '==' to turn this assignment into an equality comparison [build] while (p = stmt_ptr) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:1026:44: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] for (dsql_dbb dbb_ptr = &databases; dbb = *dbb_ptr; dbb_ptr = &dbb->dbb_next) [build] ~~^~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:1026:44: note: place parentheses around the assignment to silence this warning [build] for (dsql_dbb* dbb_ptr = &databases; dbb = dbb_ptr; dbb_ptr = &dbb->dbb_next) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:1026:44: note: use '==' to turn this assignment into an equality comparison [build] for (dsql_dbb dbb_ptr = &databases; dbb = dbb_ptr; dbb_ptr = &dbb->dbb_next) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:1174:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (name->name_next = list_ptr) [build] ~~~~^~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:1174:22: note: place parentheses around the assignment to silence this warning [build] if (name->name_next = list_ptr) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/user_dsql.cpp:1174:22: note: use '==' to turn this assignment into an equality comparison [build] if (name->name_next = list_ptr) [build] ^ [build] == [build] 4 warnings generated. [build] [ 36%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/DsqlCursor.cpp.o [build] [ 36%] Building CXX object src/CMakeFiles/common.dir/common/isc.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:1209:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (type = va_arg(args, int)) [build] ~^~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:1209:14: note: place parentheses around the assignment to silence this warning [build] while (type = va_arg(args, int)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:1209:14: note: use '==' to turn this assignment into an equality comparison [build] while (type = va_arg(args, int)) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:1280:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (type = va_arg(args, int)) [build] ~^~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:1280:14: note: place parentheses around the assignment to silence this warning [build] while (type = va_arg(args, int)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:1280:14: note: use '==' to turn this assignment into an equality comparison [build] while (type = va_arg(args, int)) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:1508:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] [build] va_start(ptr, count); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:1485:88: note: parameter of type 'USHORT' (aka 'unsigned short') is declared here [build] SLONG API_ROUTINE gdsevent_block(UCHAR event_buffer, UCHAR result_buffer, USHORT count, ...) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:1547:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] [build] va_start(ptr, count); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:1485:88: note: parameter of type 'USHORT' (aka 'unsigned short') is declared here [build] SLONG API_ROUTINE gdsevent_block(UCHAR event_buffer, UCHAR result_buffer, USHORT count, ...) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:2744:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (type = va_arg(args, int)) [build] ~^~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:2744:14: note: place parentheses around the assignment to silence this warning [build] while (type = va_arg(args, int)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:2744:14: note: use '==' to turn this assignment into an equality comparison [build] while (type = va_arg(args, int)) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:2813:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] while (type = va_arg(args, int)) [build] ~^~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:2813:14: note: place parentheses around the assignment to silence this warning [build] while (type = va_arg(args, int)) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/utl.cpp:2813:14: note: use '==' to turn this assignment into an equality comparison [build] while (type = va_arg(args, int)) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/why.cpp:3497:17: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] [build] va_start(ptr, count); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/why.cpp:3488:35: note: parameter of type 'SSHORT' (aka 'short') is declared here [build] FB_API_HANDLE* traHandle, SSHORT count, ...) [build] ^ [build] 2 warnings generated. [build] 2 warnings generated. [build] [ 36%] Building CXX object src/CMakeFiles/common.dir/common/isc_file.cpp.o [build] [ 36%] Building CXX object src/CMakeFiles/common.dir/common/isc_sync.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/DsqlCursor.cpp:24: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/tra_proto.h:27: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/tra.h:38: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/exe.h:36: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/Relation.h:25: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] [ 36%] Building CXX object src/CMakeFiles/common.dir/common/os/darwin/mod_loader.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 36%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/ExprNodes.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 36%] Building CXX object src/CMakeFiles/common.dir/common/sdl.cpp.o [build] [ 36%] Building CXX object src/CMakeFiles/common.dir/common/security.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 2 warnings generated. [build] [ 36%] Building CXX object src/CMakeFiles/yvalve_common.dir/auth/SecurityDatabase/LegacyClient.cpp.o [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/ExprNodes.cpp:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/ExprNodes.h:27: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/Nodes.h:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] 6 warnings generated. [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 36%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/Parser.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 36%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/StmtNodes.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 36%] Building CXX object src/CMakeFiles/common.dir/common/sha.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 36%] Building CXX object src/CMakeFiles/yvalve_common.dir/plugins/crypt/arc4/Arc4.cpp.o [build] [ 36%] Building CXX object src/CMakeFiles/common.dir/common/sha2/sha2.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/Parser.cpp:25: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/Parser.h:27: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/DdlNodes.h:31: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/Nodes.h:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/BoolNodes.h:27: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/Nodes.h:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] 2 warnings generated. [build] 2 warnings generated. [build] [ 37%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/WinNodes.cpp.o [build] [ 37%] Building CXX object src/CMakeFiles/yvalve_common.dir/remote/client/BlrFromMessage.cpp.o [build] [ 38%] Building CXX object src/CMakeFiles/yvalve_common.dir/remote/client/interface.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 39%] Building CXX object src/CMakeFiles/common.dir/common/unicode_util.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/WinNodes.cpp:24: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/WinNodes.h:27: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/Nodes.h:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] [ 39%] Building CXX object src/CMakeFiles/common.dir/common/utils.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/ExprNodes.cpp:7221:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (fieldNode = drvField->value->as()) [build] ~~^~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/ExprNodes.cpp:7221:17: note: place parentheses around the assignment to silence this warning [build] if (fieldNode = drvField->value->as()) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/ExprNodes.cpp:7221:17: note: use '==' to turn this assignment into an equality comparison [build] if (fieldNode = drvField->value->as()) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/ExprNodes.cpp:7224:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (dbKeyNode = drvField->value->as()) [build] ~~^~~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/ExprNodes.cpp:7224:17: note: place parentheses around the assignment to silence this warning [build] if (dbKeyNode = drvField->value->as()) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/ExprNodes.cpp:7224:17: note: use '==' to turn this assignment into an equality comparison [build] if (dbKeyNode = drvField->value->as()) [build] ^ [build] == [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 39%] Building CXX object src/CMakeFiles/common.dir/common/xdr.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 2 warnings generated. [build] [ 39%] Building CXX object src/CMakeFiles/common.dir/common/os/posix/SyncSignals.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 39%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/ddl.cpp.o [build] [ 39%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/dsql.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8449:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] if (eraseNode = input->as()) [build] ~~^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8449:16: note: place parentheses around the assignment to silence this warning [build] if (eraseNode = input->as()) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8449:16: note: use '==' to turn this assignment into an equality comparison [build] if (eraseNode = input->as()) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8451:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] else if (modifyNode = input->as()) [build] ~~~^~~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8451:22: note: place parentheses around the assignment to silence this warning [build] else if (modifyNode = input->as()) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8451:22: note: use '==' to turn this assignment into an equality comparison [build] else if (modifyNode = input->as()) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8453:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] else if (storeNode = input->as()) [build] ~~^~~~~~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8453:21: note: place parentheses around the assignment to silence this warning [build] else if (storeNode = input->as()) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8453:21: note: use '==' to turn this assignment into an equality comparison [build] else if (storeNode = input->as()) [build] ^ [build] == [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8714:10: warning: 44 enumeration values not handled in switch: 'TYPE_AGGREGATE', 'TYPE_ALIAS', 'TYPE_ARITHMETIC'... [-Wswitch] [build] switch (expr->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8714:10: note: add missing switch cases [build] switch (expr->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8944:10: warning: 46 enumeration values not handled in switch: 'TYPE_AGGREGATE', 'TYPE_ALIAS', 'TYPE_ARRAY'... [-Wswitch] [build] switch (exprNode->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/StmtNodes.cpp:8944:10: note: add missing switch cases [build] switch (exprNode->type) [build] ^ [build] [ 39%] Building CXX object src/CMakeFiles/common.dir/common/os/posix/divorce.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/ddl.cpp:75: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/SysFunction.h:36: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../dsql/Nodes.h:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/dsql.cpp:44: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] [ 40%] Building CXX object src/CMakeFiles/common.dir/common/os/posix/guid.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 40%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/errd.cpp.o [build] 2 warnings generated. [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 40%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/gen.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 40%] Building CXX object src/CMakeFiles/common.dir/common/os/posix/isc_ipc.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/dsql.cpp:97:10: warning: 17 enumeration values not handled in switch: 'TYPE_INSERT', 'TYPE_DELETE', 'TYPE_UPDATE'... [-Wswitch] [build] switch (type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/dsql.cpp:97:10: note: add missing switch cases [build] switch (type) [build] ^ [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 2 warnings generated. [build] [ 40%] Building CXX object src/CMakeFiles/common.dir/common/os/posix/mod_loader.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/errd.cpp:39: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/os/posix/isc_ipc.cpp:284:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] for (ptr = &signals; sig = ptr;) { [build] ~~^~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/common/os/posix/isc_ipc.cpp:284:27: note: place parentheses around the assignment to silence this warning [build] for (ptr = &signals; sig = ptr;) { [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/common/os/posix/isc_ipc.cpp:284:27: note: use '==' to turn this assignment into an equality comparison [build] for (ptr = &signals; sig = *ptr;) { [build] ^ [build] == [build] 1 warning generated. [build] [ 40%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/make.cpp.o [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/gen.cpp:40: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/DdlNodes.h:31: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/Nodes.h:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/dsql.cpp:789:10: warning: 18 enumeration values not handled in switch: 'TYPE_SELECT', 'TYPE_SELECT_UPD', 'TYPE_INSERT'... [-Wswitch] [build] switch (statement->getType()) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/dsql.cpp:789:10: note: add missing switch cases [build] switch (statement->getType()) [build] ^ [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/dsql.cpp:1768:12: warning: 15 enumeration values not handled in switch: 'TYPE_INSERT', 'TYPE_DELETE', 'TYPE_UPDATE'... [-Wswitch] [build] switch (statement->getType()) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/dsql.cpp:1768:12: note: add missing switch cases [build] switch (statement->getType()) [build] ^ [build] [ 40%] Building CXX object src/CMakeFiles/common.dir/common/os/posix/os_utils.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 2 warnings generated. [build] [ 40%] Building CXX object src/CMakeFiles/common.dir/common/os/posix/path_utils.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/make.cpp:40: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/Nodes.h:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] 2 warnings generated. [build] [ 40%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/movd.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 41%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/pass1.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 41%] Linking CXX static library libcommon.a [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/gen.cpp:602:11: warning: enumeration value 'NULLS_DEFAULT' not handled in switch [-Wswitch] [build] switch (orderNode->nullsPlacement) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/gen.cpp:602:11: note: add missing switch cases [build] switch (orderNode->nullsPlacement) [build] ^ [build] 1 warning generated. [build] [ 41%] Building CXX object src/CMakeFiles/engine12_common.dir/dsql/utld.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/pass1.cpp:146: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../dsql/Nodes.h:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] [ 44%] Built target common [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/make.cpp:168:12: warning: enumeration values 'CONSTANT_DOUBLE' and 'CONSTANT_BOOLEAN' not handled in switch [-Wswitch] [build] switch (numeric_flag) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/dsql/make.cpp:168:12: note: add missing switch cases [build] switch (numeric_flag) [build] ^ [build] [ 44%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/Attachment.cpp.o [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/movd.cpp:27: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 44%] Built target yvalve_common [build] Consolidate compiler generated dependencies of target gpre_boot [build] [ 44%] Building CXX object src/CMakeFiles/gpre_boot.dir/gpre/boot/gpre_meta_boot.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 3 warnings generated. [build] [ 44%] Building CXX object src/CMakeFiles/gpre_boot.dir/yvalve/gds.cpp.o [build] [ 44%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/Collation.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/Attachment.cpp:27: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/Database.h:61: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] 3 warnings generated. [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:96: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] [ 44%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/DataTypeUtil.cpp.o [build] [ 44%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/CryptoManager.cpp.o [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/gds.cpp:2480:54: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] [build] for (clean_t clean_ptr = &cleanup_handlers; clean = *clean_ptr; clean_ptr = &clean->clean_next) [build] ~~^~~~ [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/gds.cpp:2480:54: note: place parentheses around the assignment to silence this warning [build] for (clean_t* clean_ptr = &cleanup_handlers; clean = clean_ptr; clean_ptr = &clean->clean_next) [build] ^ [build] ( ) [build] /Users/sembsa/svn/build_firebird/firebird/src/yvalve/gds.cpp:2480:54: note: use '==' to turn this assignment into an equality comparison [build] for (clean_t clean_ptr = &cleanup_handlers; clean = clean_ptr; clean_ptr = &clean->clean_next) [build] ^ [build] == [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 2 warnings generated. [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] [ 45%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/Database.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/DataTypeUtil.cpp:29: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SysFunction.h:36: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../dsql/Nodes.h:26: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../dsql/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] 1 warning generated. [build] [ 45%] Linking CXX executable bin/gpre_boot [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/CryptoManager.cpp:35: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/Database.h:61: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:98: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:324:14: warning: enumeration value 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:201:37: note: in instantiation of member function 'Firebird::LikeEvaluator::LikeEvaluator' requested here [build] Firebird::LikeEvaluator evaluator(pool, [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:771:24: note: in instantiation of member function '(anonymous namespace)::LikeMatcher::evaluate' requested here [build] return pLikeMatcher::evaluate(pool, this, s, sl, p, pl, escape, escapeLen, [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:736:2: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::like' requested here [build] CollationImpl(TTYPE_ID a_type, texttype a_tt, CharSet a_cs) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:843:28: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::CollationImpl' requested here [build] return FB_NEW_POOL(pool) DirectImpl(id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:862:11: note: in instantiation of function template specialization '(anonymous namespace)::newCollation' requested here [build] return newCollation(pool, id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:324:14: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:351:12: warning: enumeration values 'piDirectMatch' and 'piSkipMore' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:351:12: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:368:12: warning: enumeration value 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:368:12: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:387:11: warning: enumeration value 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:387:11: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:413:11: warning: enumeration values 'piNone', 'piSkipFixed', and 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (itemL->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:413:11: note: add missing switch cases [build] switch (itemL->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:498:12: warning: enumeration values 'piNone', 'piEscapedString', and 'piSkipMore' not handled in switch [-Wswitch] [build] switch (current_pattern->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:206:13: note: in instantiation of member function 'Firebird::LikeEvaluator::processNextChunk' requested here [build] evaluator.processNextChunk(reinterpret_cast<const CharType>(s), sl / sizeof(CharType)); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:771:24: note: in instantiation of member function '(anonymous namespace)::LikeMatcher::evaluate' requested here [build] return pLikeMatcher::evaluate(pool, this, s, sl, p, pl, escape, escapeLen, [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:736:2: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::like' requested here [build] CollationImpl(TTYPE_ID a_type, texttype a_tt, CharSet a_cs) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:843:28: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::CollationImpl' requested here [build] return FB_NEW_POOL(pool) DirectImpl(id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:862:11: note: in instantiation of function template specialization '(anonymous namespace)::newCollation' requested here [build] return newCollation(pool, id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:498:12: note: add missing switch cases [build] switch (current_pattern->type) [build] ^ [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/Database.cpp:33: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/Database.h:61: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:105: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:1665:11: warning: enumeration value 'msReturningMask' not handled in switch [-Wswitch] [build] switch (state) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:561:3: note: in instantiation of member function 'Firebird::SimilarToMatcher::Evaluator::match' requested here [build] match(); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:462:20: note: in instantiation of member function 'Firebird::SimilarToMatcher::Evaluator::getResult' requested here [build] return evaluator.getResult(); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:787:29: note: in instantiation of member function 'Firebird::SimilarToMatcher::evaluate' requested here [build] return pSimilarToMatcher::evaluate(pool, this, s, sl, p, pl, escape, escapeLen); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:736:2: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::similarTo' requested here [build] CollationImpl(TTYPE_ID a_type, texttype a_tt, CharSet a_cs) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:843:28: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::CollationImpl' requested here [build] return FB_NEW_POOL(pool) DirectImpl(id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:862:11: note: in instantiation of function template specialization '(anonymous namespace)::newCollation' requested here [build] return newCollation(pool, id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:1665:11: note: add missing switch cases [build] switch (state) [build] ^ [build] ld: warning: directory not found for option '-L/opt/local/lib' [build] ld: warning: directory not found for option '-L/usr/local/opt/icu4c/lib' [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:98: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:324:14: warning: enumeration value 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:201:37: note: in instantiation of member function 'Firebird::LikeEvaluator::LikeEvaluator' requested here [build] Firebird::LikeEvaluator evaluator(pool, [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:771:24: note: in instantiation of member function '(anonymous namespace)::LikeMatcher::evaluate' requested here [build] return pLikeMatcher::evaluate(pool, this, s, sl, p, pl, escape, escapeLen, [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:736:2: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::like' requested here [build] CollationImpl(TTYPE_ID a_type, texttype a_tt, CharSet a_cs) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:843:28: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::CollationImpl' requested here [build] return FB_NEW_POOL(pool) DirectImpl(id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:865:11: note: in instantiation of function template specialization '(anonymous namespace)::newCollation' requested here [build] return newCollation(pool, id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:324:14: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:351:12: warning: enumeration values 'piDirectMatch' and 'piSkipMore' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:351:12: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:368:12: warning: enumeration value 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:368:12: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:387:11: warning: enumeration value 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:387:11: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:413:11: warning: enumeration values 'piNone', 'piSkipFixed', and 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (itemL->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:413:11: note: add missing switch cases [build] switch (itemL->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:498:12: warning: enumeration values 'piNone', 'piEscapedString', and 'piSkipMore' not handled in switch [-Wswitch] [build] switch (current_pattern->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:206:13: note: in instantiation of member function 'Firebird::LikeEvaluator::processNextChunk' requested here [build] evaluator.processNextChunk(reinterpret_cast<const CharType>(s), sl / sizeof(CharType)); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:771:24: note: in instantiation of member function '(anonymous namespace)::LikeMatcher::evaluate' requested here [build] return pLikeMatcher::evaluate(pool, this, s, sl, p, pl, escape, escapeLen, [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:736:2: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::like' requested here [build] CollationImpl(TTYPE_ID a_type, texttype a_tt, CharSet a_cs) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:843:28: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::CollationImpl' requested here [build] return FB_NEW_POOL(pool) DirectImpl(id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:865:11: note: in instantiation of function template specialization '(anonymous namespace)::newCollation' requested here [build] return newCollation(pool, id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:498:12: note: add missing switch cases [build] switch (current_pattern->type) [build] ^ [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:105: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:1665:11: warning: enumeration value 'msReturningMask' not handled in switch [-Wswitch] [build] switch (state) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:561:3: note: in instantiation of member function 'Firebird::SimilarToMatcher::Evaluator::match' requested here [build] match(); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:462:20: note: in instantiation of member function 'Firebird::SimilarToMatcher::Evaluator::getResult' requested here [build] return evaluator.getResult(); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:787:29: note: in instantiation of member function 'Firebird::SimilarToMatcher::evaluate' requested here [build] return pSimilarToMatcher::evaluate(pool, this, s, sl, p, pl, escape, escapeLen); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:736:2: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::similarTo' requested here [build] CollationImpl(TTYPE_ID a_type, texttype a_tt, CharSet a_cs) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:843:28: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::CollationImpl' requested here [build] return FB_NEW_POOL(pool) DirectImpl(id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:865:11: note: in instantiation of function template specialization '(anonymous namespace)::newCollation' requested here [build] return newCollation(pool, id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:1665:11: note: add missing switch cases [build] switch (state) [build] ^ [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:98: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:324:14: warning: enumeration value 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:201:37: note: in instantiation of member function 'Firebird::LikeEvaluator::LikeEvaluator' requested here [build] Firebird::LikeEvaluator evaluator(pool, [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:771:24: note: in instantiation of member function '(anonymous namespace)::LikeMatcher::evaluate' requested here [build] return pLikeMatcher::evaluate(pool, this, s, sl, p, pl, escape, escapeLen, [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:736:2: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::like' requested here [build] CollationImpl(TTYPE_ID a_type, texttype a_tt, CharSet a_cs) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:843:28: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::CollationImpl' requested here [build] return FB_NEW_POOL(pool) DirectImpl(id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:868:11: note: in instantiation of function template specialization '(anonymous namespace)::newCollation' requested here [build] return newCollation(pool, id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:324:14: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:351:12: warning: enumeration values 'piDirectMatch' and 'piSkipMore' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:351:12: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:368:12: warning: enumeration value 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:368:12: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:387:11: warning: enumeration value 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:387:11: note: add missing switch cases [build] switch (item->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:413:11: warning: enumeration values 'piNone', 'piSkipFixed', and 'piDirectMatch' not handled in switch [-Wswitch] [build] switch (itemL->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:413:11: note: add missing switch cases [build] switch (itemL->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:498:12: warning: enumeration values 'piNone', 'piEscapedString', and 'piSkipMore' not handled in switch [-Wswitch] [build] switch (current_pattern->type) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:206:13: note: in instantiation of member function 'Firebird::LikeEvaluator::processNextChunk' requested here [build] evaluator.processNextChunk(reinterpret_cast<const CharType>(s), sl / sizeof(CharType)); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:771:24: note: in instantiation of member function '(anonymous namespace)::LikeMatcher::evaluate' requested here [build] return pLikeMatcher::evaluate(pool, this, s, sl, p, pl, escape, escapeLen, [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:736:2: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::like' requested here [build] CollationImpl(TTYPE_ID a_type, texttype a_tt, CharSet a_cs) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:843:28: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::CollationImpl' requested here [build] return FB_NEW_POOL(pool) DirectImpl(id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:868:11: note: in instantiation of function template specialization '(anonymous namespace)::newCollation' requested here [build] return newCollation(pool, id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/evl_string.h:498:12: note: add missing switch cases [build] switch (current_pattern->type) [build] ^ [build] Undefined symbols for architecture arm64: [build] "_getTemporaryFolder", referenced from: [build] InitPrefix::init() in gds.cpp.o [build] Firebird::TempFile::getTempPath() in libcommon.a(TempFile.cpp.o) [build] "_isSandboxed", referenced from: [build] _gdslog in gds.cpp.o [build] "_osLog", referenced from: [build] _gdslog in gds.cpp.o [build] ld: symbol(s) not found for architecture arm64 [build] clang: error: linker command failed with exit code 1 (use -v to see invocation) [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:105: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:1665:11: warning: enumeration value 'msReturningMask' not handled in switch [-Wswitch] [build] switch (state) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:561:3: note: in instantiation of member function 'Firebird::SimilarToMatcher::Evaluator::match' requested here [build] match(); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:462:20: note: in instantiation of member function 'Firebird::SimilarToMatcher::Evaluator::getResult' requested here [build] return evaluator.getResult(); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:787:29: note: in instantiation of member function 'Firebird::SimilarToMatcher::evaluate' requested here [build] return pSimilarToMatcher::evaluate(pool, this, s, sl, p, pl, escape, escapeLen); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:736:2: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::similarTo' requested here [build] CollationImpl(TTYPE_ID a_type, texttype a_tt, CharSet a_cs) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:843:28: note: in instantiation of member function '(anonymous namespace)::CollationImpl<(anonymous namespace)::StartsMatcher<unsigned char, Jrd::NullStrConverter>, (anonymous namespace)::ContainsMatcher<unsigned char, Jrd::UpcaseConverter<> >, (anonymous namespace)::LikeMatcher, Firebird::SimilarToMatcher, Firebird::SubstringSimilarMatcher, (anonymous namespace)::MatchesMatcher, (anonymous namespace)::SleuthMatcher >::CollationImpl' requested here [build] return FB_NEW_POOL(pool) DirectImpl(id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/Collation.cpp:868:11: note: in instantiation of function template specialization '(anonymous namespace)::newCollation' requested here [build] return newCollation(pool, id, tt, cs); [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/SimilarToMatcher.h:1665:11: note: add missing switch cases [build] switch (state) [build] ^ [build] gmake[2]: [src/CMakeFiles/gpre_boot.dir/build.make:116: src/bin/gpre_boot] Error 1 [build] gmake[1]: [CMakeFiles/Makefile2:827: src/CMakeFiles/gpre_boot.dir/all] Error 2 [build] gmake[1]: * Waiting for unfinished jobs.... [build] [ 45%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/DbCreators.cpp.o [build] 5 warnings generated. [build] [ 45%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/DebugInterface.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/DbCreators.cpp:47: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/DbCreators.h:34: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/recsrc/RecordSource.h:29: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/RecordSourceNodes.h:29: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/DebugInterface.cpp:25: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/DebugInterface.h:27: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] 2 warnings generated. [build] [ 45%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/ExtEngineManager.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 4 warnings generated. [build] [ 45%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/GarbageCollector.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 2 warnings generated. [build] [ 45%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/GlobalRWLock.cpp.o [build] 2 warnings generated. [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/ExtEngineManager.cpp:31: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/GarbageCollector.cpp:24: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/GarbageCollector.h:30: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] [ 45%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/IntlManager.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 2 warnings generated. [build] [ 46%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/JrdStatement.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/GlobalRWLock.cpp:32: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/GlobalRWLock.h:34: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] 23 warnings generated. [build] [ 46%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/Mapping.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/JrdStatement.cpp:22: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/JrdStatement.h:25: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/exe.h:36: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/Relation.h:25: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/ExtEngineManager.cpp:372:12: warning: enumeration values 'req_return', 'req_receive', and 'req_send' not handled in switch [-Wswitch] [build] switch (request->req_operation) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/ExtEngineManager.cpp:372:12: note: add missing switch cases [build] switch (request->req_operation) [build] ^ [build] 2 warnings generated. [build] 2 warnings generated. [build] [ 46%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/Monitoring.cpp.o [build] [ 46%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/Optimizer.cpp.o [build] [ 46%] Building CXX object src/CMakeFiles/engine12_common.dir/jrd/PreparedStatement.cpp.o [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/Mapping.cpp:48: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/Mapping.h:35: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/recsrc/RecordSource.h:29: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/RecordSourceNodes.h:29: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] clang: warning: argument unused during compilation: '-msse4' [-Wunused-command-line-argument] [build] 2 warnings generated. [build] 2 warnings generated. [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/Monitoring.cpp:31: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases ................................................... [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../dsql/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../dsql/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/jrd/os/posix/unix.cpp:61: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/jrd.h:56: [build] In file included from /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../jrd/sbm.h:32: [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: warning: enumeration values 'locEqual', 'locGreatEqual', and 'locLessEqual' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:289:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: warning: enumeration values 'locLess' and 'locGreat' not handled in switch [-Wswitch] [build] switch (lt) [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/include/../jrd/../common/classes/sparse_bitmap.h:313:12: note: add missing switch cases [build] switch (lt) [build] ^ [build] 1 warning generated. [build] 2 warnings generated. [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/os/posix/unix.cpp:519:8: error: unknown type name 'Raw' [build] error: Raw device support for your OS is missing. Fix it or turn off raw device support. [build] ^ [build] /Users/sembsa/svn/build_firebird/firebird/src/jrd/os/posix/unix.cpp:519:18: error: expected ';' at end of declaration [build] error: Raw device support for your OS is missing. Fix it or turn off raw device support. [build] ^ [build] ; [build] 2 warnings and 2 errors generated. [build] gmake[2]: * [src/CMakeFiles/engine12_common.dir/build.make:1826: src/CMakeFiles/engine12_common.dir/jrd/os/posix/unix.cpp.o] Error 1 [build] gmake[2]: Waiting for unfinished jobs.... [build] 2 warnings generated. [build] 2 warnings generated. [build] 2 warnings generated. [build] 2 warnings generated. [build] /Users/sembsa/svn/build_firebird/firebird/build/src/dsql/parse.cpp:25540:27: warning: self-comparison always evaluates to false [-Wtautological-compare] [build] if (yyps->errflag != yyps->errflag) goto yyerrlab; [build] ^ [build] 3 warnings generated. [build] gmake[1]: [CMakeFiles/Makefile2:884: src/CMakeFiles/engine12_common.dir/all] Error 2 [build] gmake: *** [Makefile:91: all] Error 2 [build] Build finished with exit code 2

AlexPeshkoff commented 2 years ago

Except new M1 CPU port you've made one more interesting experiment - build on MAC OS using cmake, which was never tested before. cmake blindly turns on raw devices support, which is not supported on Mac in the code. Please use configure (or autogen.sh when getting src from github) and plain gmake - I suppose you will be able to build successfully.

e787 commented 2 years ago

Hello @AlexPeshkoff, I've tried building Firebird on a M1 machine (using ./autogen.sh command) and it returns the following error: configure: error: unsupported platform aarch64-apple-darwin21.1.0, with the source code downloaded from https://firebirdsql.org/en/server-packages/. I've tried both 3.0.8 and 4.0.0 with same results.

Is there any method to successfully build Firebird on a M1 Mac?

sembsa commented 2 years ago

@e787 i have this same problem

AlexPeshkoff commented 2 years ago

On 11/29/21 19:52, e787 wrote:

Hello @AlexPeshkoff https://github.com/AlexPeshkoff, I've tried building Firebird on a M1 machine (using ./autogen.sh command) and it returns the following error: |configure: error: unsupported platform aarch64-apple-darwin21.1.0|, with the source code downloaded from https://firebirdsql.org/en/server-packages/. I've tried both 3.0.8 and 4.0.0 with same results.

Is there any method to successfully build Firebird on a M1 Mac?

New port is needed. As a starting point one should add builds/posix/prefix.${ARCHNAME} file and a gew lines in configure.ac.

e787 commented 2 years ago

On 11/29/21 19:52, e787 wrote: Hello @AlexPeshkoff https://github.com/AlexPeshkoff, I've tried building Firebird on a M1 machine (using ./autogen.sh command) and it returns the following error: |configure: error: unsupported platform aarch64-apple-darwin21.1.0|, with the source code downloaded from https://firebirdsql.org/en/server-packages/. I've tried both 3.0.8 and 4.0.0 with same results. Is there any method to successfully build Firebird on a M1 Mac? New port is needed. As a starting point one should add builds/posix/prefix.${ARCHNAME} file and a gew lines in configure.ac.

Thanks for your feedback. I've tried following your advice the best I could and created a file in posix folder (based on prefix.darwin_x86_64 with few changes) and I've added and entry to configure.ac to mach aarch64 architecture.

With those changes I'm able to execute ./autogen.sh, but I'm still unable to build, make command returning the following error: #error Define FB_CPU for your platform.

I'm suspecting that this error comes from an incorrect configure.ac entry, but because my low knowledge on C language, I'm at a loss. I've tried different CPU_TYPE options to no avail.

I'm attaching the modded files in case it helps. fb_3.0.8_darwin_aarch64.zip

sembsa commented 2 years ago

On 11/29/21 19:52, e787 wrote: Hello @AlexPeshkoff https://github.com/AlexPeshkoff, I've tried building Firebird on a M1 machine (using ./autogen.sh command) and it returns the following error: |configure: error: unsupported platform aarch64-apple-darwin21.1.0|, with the source code downloaded from https://firebirdsql.org/en/server-packages/. I've tried both 3.0.8 and 4.0.0 with same results. Is there any method to successfully build Firebird on a M1 Mac? New port is needed. As a starting point one should add builds/posix/prefix.${ARCHNAME} file and a gew lines in configure.ac.

Thanks for your feedback. I've tried following your advice the best I could and created a file in posix folder (based on prefix.darwin_x86_64 with few changes) and I've added and entry to configure.ac to mach aarch64 architecture.

With those changes I'm able to execute ./autogen.sh, but I'm still unable to build, make command returning the following error: #error Define FB_CPU for your platform.

I'm suspecting that this error comes from an incorrect configure.ac entry, but because my low knowledge on C language, I'm at a loss. I've tried different CPU_TYPE options to no avail.

I'm attaching the modded files in case it helps. fb_3.0.8_darwin_aarch64.zip

Im try tomorrow build this and debug this

AlexPeshkoff commented 2 years ago

On 12/2/21 22:19, e787 wrote:

On 11/29/21 19:52, e787 wrote: Hello @AlexPeshkoff
<https://github.com/AlexPeshkoff> https://github.com/AlexPeshkoff,
I've tried building Firebird on a M1 machine (using ./autogen.sh
command) and it returns the following error: |configure: error:
unsupported platform aarch64-apple-darwin21.1.0|, with the source
code downloaded from https://firebirdsql.org/en/server-packages/.
I've tried both 3.0.8 and 4.0.0 with same results. Is there any
method to successfully build Firebird on a M1 Mac?
New port is needed. As a starting point one should add
builds/posix/prefix.${ARCHNAME} file and a gew lines in configure.ac.

Thanks for your feedback. I've tried following your advice the best I could and created a file in posix folder (based on prefix.darwin_x86_64 with few changes) and I've added and entry to configure.ac to mach aarch64 architecture.

With those changes I'm able to execute ./autogen.sh, but I'm still unable to build, make command returning the following error: |#error Define FB_CPU for your platform|.

I'm suspecting that this error comes from an incorrect configure.ac entry, but because my low knowledge on C language, I'm at a loss. I've tried different |CPU_TYPE| options to no avail.

I'm attaching the modded files in case it helps. fb_3.0.8_darwin_aarch64.zip https://github.com/FirebirdSQL/firebird/files/7644557/fb_3.0.8_darwin_aarch64.zip

In prefix.darwin_aarch64 insert -DARM64

into lines PROD_FLAGS=-DDARWIN -pipe -O2 -MMD -fPIC -fno-common -mmacosx-version-min=12.0 DEV_FLAGS=-ggdb -DDARWIN -pipe -MMD -fPIC -fno-omit-frame-pointer -fno-common -Wall -fno-optimize-sibling-calls -mmacosx-version-min=10.9 -Wno-non-virtual-dtor

after -DDARWIN, i.e. PROD_FLAGS=-DDARWIN -DARM64 -pipe -O2 -MMD -fPIC -fno-common -mmacosx-version-min=12.0 DEV_FLAGS=-ggdb -DDARWIN -DARM64 -pipe -MMD -fPIC -fno-omit-frame-pointer -fno-common -Wall -fno-optimize-sibling-calls -mmacosx-version-min=10.9 -Wno-non-virtual-dtor

(Am I right thinking that M1 is actually arm64?)

e787 commented 2 years ago

Although it is indeed an ARM64, it turns out that the flag that works is -DARM, perhaps because there is only one version of ARM for Apple.

Anyway, after adding those flags as you suggested, I'm able to progress to the following error: src/isql/InputDevices.cpp:29:10: fatal error: 'io.h' file not found

It looks like those headers are hardware dependent, and one specific to the Apple arm architecture will be needed?

AlexPeshkoff commented 2 years ago

On 12/3/21 22:33, e787 wrote:

Although it is indeed an ARM64, it turns out that the flag that works is |-DARM|, perhaps because there is only one version of ARM for Apple.

What a problem wih -DARM64?

Till your port FB sources have never known about darwin on any arm, therefore it should not make big difference what flag to use now but longterm -DARM64 is the only correct one.

Anyway, after adding those flags as you suggested, I'm able to progress to the following error: |src/isql/InputDevices.cpp:29:10: fatal error: 'io.h' file not found|

It looks like those headers are hardware dependent, and one specific to the Apple arm architecture will be needed?

Yes. A set of #ifdef's refkects difference between ppc and intel based macs, looks like ppc case makes no interest now, suppose you should find where is io.h located for m1. And subst it instead plain #include .

e787 commented 2 years ago

What a problem wih -DARM64?

When using -DARM64, the project would configure, but would fail showing the following error: /common/common.h:563:2: error: Define FB_CPU for your platform. Using -DARM also fails when building, but on a later stage, with the error src/isql/InputDevices.cpp:29:10: fatal error: 'io.h' file not found, so I wrongly assumed that -DARM was the correct flag for the platform.

Till your port FB sources have never known about darwin on any arm, therefore it should not make big difference what flag to use now but longterm -DARM64 is the only correct one.

Following your feedback, I've changed back to -DARM64, and I've been trying to fix the code the best I could.

Right now, I've changed the following files: configure.ac (adding a new entry for de aarch64 architecture, setting CPU_TYPE as ARM64), common.h (adding a new entry for ARM64), InputDevices.cpp (adding a new case for io.h under aarch64) and license.h (adding a new case for ARM variant that defines FB_PLATFORM).

With all those changes, the process continues until the following error:

can't format message 17:3 -- message file Firebird-3.0.8.33535-0/gen/Release/firebird/firebird.msg not found
can't format message 17:0 -- message file Firebird-3.0.8.33535-0/gen/Release/firebird/firebird.msg not found
Could not find acceptable ICU library
make[3]: *** [msg.timestamp] Error 1
make[2]: *** [master_process] Error 2
make[1]: *** [firebird] Error 2
make: *** [firebird] Error 2

I have ICU version 69.1, installed via homebrew.

Like before, I'm attaching the modded files in case it helps. fb_3.0.8_darwin_aarch64.zip

AlexPeshkoff commented 2 years ago

On 12/6/21 00:50, e787 wrote:

What a problem wih -DARM64?

When using |-DARM64|, the project would configure, but would fail showing the following error: |/common/common.h:563:2: error: Define FB_CPU for your platform|. Using -DARM also fails when building, but on a later stage, with the error |src/isql/InputDevices.cpp:29:10: fatal error: 'io.h' file not found|, so I wrongly assumed that -DARM was the correct flag for the platform.

Till your port FB sources have never known about darwin on any
arm, therefore it should not make big difference what flag to use
now but longterm -DARM64 is the only correct one.

Following your feedback, I've changed back to -DARM64, and I've been trying to fix the code the best I could.

Right now, I've changed the following files: configure.ac (adding a new entry for de aarch64 architecture, setting CPU_TYPE as ARM64), common.h (adding a new entry for ARM64),

OK - that's correct

InputDevices.cpp (adding a new case for io.h under aarch64) and license.h (adding a new case for ARM variant that defines FB_PLATFORM).

With all those changes, the process continues until the following error:

|can't format message 17:3 -- message file Firebird-3.0.8.33535-0/gen/Release/firebird/firebird.msg not found can't format message 17:0 -- message file Firebird-3.0.8.33535-0/gen/Release/firebird/firebird.msg not found Could not find acceptable ICU library make[3]: [msg.timestamp] Error 1 make[2]: [master_process] Error 2 make[1]: [firebird] Error 2 make: [firebird] Error 2 |

I have ICU version 69.1, installed via homebrew.

Is not there something in firebird.log file?

If not - in common/unicode_util.cpp find lines:

elif defined(DARWIN)

const char const inTemplate = "lib/libicui18n.%s.dylib"; const char const ucTemplate = "lib/libicuuc.%s.dylib";

and remove lib/ from them.

e787 commented 2 years ago

Is not there something in firebird.log file?

I can't find the log file, is there a flag to enable it?

If not - in common/unicode_util.cpp find lines: ... and remove lib/ from them.

I've tried this method with the same results: Could not find acceptable ICU library make[3]: *** [msg.timestamp]. Maybe there is something wrong with my environment configuration?

Right now I have icu installed through homebrew, and to configure the project I use the following export commands, as recommended by the brew installation message:

export LDFLAGS="-L/opt/homebrew/opt/icu4c/lib"
export CPPFLAGS="-I/opt/homebrew/opt/icu4c/include"

In prefix.darwin_aarch64 there is var called DYLD_LIBRARY_PATH which seem to reference a local ICU on prefix.darwin_x86_64. I've changed that to /opt/homebrew/opt/icu4c/lib.

Also, I see that there is a postfix.darwin file with the following vars:

ICU_VERS = icu54
ICU_LOC ?= $(HOME)/$(ICU_VERS)/icu/source/lib/

but neither this version nor this path exists on my computer, should I change it?

Is there anywhere else I should look/consider?

asfernandes commented 2 years ago

Take a look at file .github/workflows/main.yml and search for MacOS.

This is how it's build in github actions in MacOS (Intel).

e787 commented 2 years ago

I still can't successfully compile even after following the steps included in the GitHub actions file.

I have reverted the changes in _common/unicodeutil.cpp to the original state, because it seemed they were no longer needed.

With all this, the make process still doesn't compile. I keep getting a message about firebird.msg not found, and the libfbclient.dylib library that is failing to load does exists in gen/Release/firebird/lib/libfbclient.dylib.

The excerpt of the error is as follows:

can't format message 17:10 -- message file ../../gen/Release/firebird/firebird.msg not found
Server version:
Firebird/Darwin/ARM64 (access method), version "UA-V3.0.8.33535 Firebird 3.0"
on disk structure version 12.2
../../gen/Release/firebird/bin/gpre_current -m -z -n ../../gen/examples/empbuild.e ../../gen/examples/empbuild.c
gpre version UA-V3.0.8.33535 Firebird 3.0
    Version(s) for database "empbuild.fdb"
    Firebird/Darwin/ARM64 (access method), version "UA-V3.0.8.33535 Firebird 3.0"
    on disk structure version 12.2
gcc -I../../src/include/gen -I../../src/include  -DDARWIN -DARM64 -pipe -O2 -MMD -fPIC -fno-common -mmacosx-version-min=12.0 -I../../extern/libtommath -D_THREAD_SAFE   -I/include  -c ../../gen/examples/empbuild.c -o ../../gen/examples/empbuild.o
g++   -fvisibility-inlines-hidden -fvisibility=hidden -stdlib=libc++  ../../gen/examples/empbuild.o ../../temp/Release/common.a -o ../../gen/examples/empbuild -L../../gen/Release/firebird/lib -L../../gen/Release/firebird/lib -lfbclient -ltommath -liconv -lm  -framework CoreFoundation  -lcurses -liconv -lobjc -framework Foundation -framework Security
rm -f ../../gen/examples/employee.fdb
./empbuild ../../gen/examples/employee.fdb
dyld[13179]: Library not loaded: @rpath/lib/libfbclient.dylib
  Referenced from: /Users/e787/Downloads/DB/Firebird/Firebird-3.0.8.33535-0/gen/examples/empbuild
  Reason: tried: 'CU_INSTALL_PATH/lib/libfbclient.dylib' (no such file), '/usr/local/lib/libfbclient.dylib' (no such file), '/usr/lib/libfbclient.dylib' (no such file)
make[4]: *** [../../gen/examples/employee.fdb] Abort trap: 6
make[3]: *** [examples] Error 2
make[2]: *** [master_process] Error 2
make[1]: *** [firebird] Error 2
make: *** [firebird] Error 2

I can attach the complete output generated by make if necessary.

asfernandes commented 2 years ago

This seems obviously wrong: Reason: tried: 'CU_INSTALL_PATH

How did you tried to use ICU_INSTALL_PATH and used CU_INSTALL_PATH?

haanerg commented 2 years ago

This seems obviously wrong: Reason: tried: 'CU_INSTALL_PATH

How did you tried to use ICU_INSTALL_PATH and used CU_INSTALL_PATH?

Could it be that the output is cut off at exactly 150 characters?

aafemt commented 2 years ago

A mistype has bigger probability.

e787 commented 2 years ago

This seems obviously wrong: Reason: tried: 'CU_INSTALL_PATH

How did you tried to use ICU_INSTALL_PATH and used CU_INSTALL_PATH?

A typo on my part makes the most sense, but I'm not able to see where it is. A search for the string CU_INSTALL_PATH throughout the project yielded no results (apart from the obvious ICU_INSTALL_PATH).

Except for the ARM64 modifications, I've tried following the same steps and scripts on an Intel Mac, and I've been able to compile the project.

Right now I don't know where else I could look into.

I'm attaching all files I've edited or created, in case they can be of help. fb_3.0.8_darwin_aarch64.zip

aafemt commented 2 years ago

In prefix.darwin_aarch64 it should be "DYLD_LIBRARY_PATH=$(ICU_INSTALL_PATH)/lib" AFAIU.

e787 commented 2 years ago

In prefix.darwin_aarch64 it should be "DYLD_LIBRARY_PATH=$(ICU_INSTALL_PATH)/lib" AFAIU.

With that change, the output is a bit different: Now there is no reference to CU_INSTALL_PATH, but for some reason still looks for libfbclient.dylib in the wrong places: the actual path should be /Users/e787/Downloads/DB/Firebird/Firebird-3.0.8.33535-0/gen/Release/firebird/lib/libfbclient.dylib

Also, is the lack of firebird.msg relevant? looks like a file that should exists.

can't format message 17:10 -- message file ../../gen/Release/firebird/firebird.msg not found
Server version:
Firebird/Darwin/ARM64 (access method), version "UA-V3.0.8.33535 Firebird 3.0"
on disk structure version 12.2
../../gen/Release/firebird/bin/gpre_current -m -z -n ../../gen/examples/empbuild.e ../../gen/examples/empbuild.c
gpre version UA-V3.0.8.33535 Firebird 3.0
    Version(s) for database "empbuild.fdb"
    Firebird/Darwin/ARM64 (access method), version "UA-V3.0.8.33535 Firebird 3.0"
    on disk structure version 12.2
gcc -I../../src/include/gen -I../../src/include  -DDARWIN -DARM64 -pipe -O2 -MMD -fPIC -fno-common -mmacosx-version-min=12.0 -I../../extern/libtommath -D_THREAD_SAFE   -I/include  -c ../../gen/examples/empbuild.c -o ../../gen/examples/empbuild.o
g++   -fvisibility-inlines-hidden -fvisibility=hidden -stdlib=libc++  ../../gen/examples/empbuild.o ../../temp/Release/common.a -o ../../gen/examples/empbuild -L../../gen/Release/firebird/lib -L../../gen/Release/firebird/lib -lfbclient -ltommath -liconv -lm  -framework CoreFoundation  -lcurses -liconv -lobjc -framework Foundation -framework Security
rm -f ../../gen/examples/employee.fdb
./empbuild ../../gen/examples/employee.fdb
dyld[55626]: Library not loaded: @rpath/lib/libfbclient.dylib
  Referenced from: /Users/e787/Downloads/DB/Firebird/Firebird-3.0.8.33535-0/gen/examples/empbuild
  Reason: tried: '/lib/libfbclient.dylib' (no such file), '/usr/local/lib/libfbclient.dylib' (no such file), '/usr/lib/libfbclient.dylib' (no such file)
make[4]: *** [../../gen/examples/employee.fdb] Abort trap: 6
make[3]: *** [examples] Error 2
make[2]: *** [master_process] Error 2
make[1]: *** [firebird] Error 2
make: *** [firebird] Error 2
AlexPeshkoff commented 2 years ago

On 12/10/21 02:14, e787 wrote:

In prefix.darwin_aarch64 it should be
"DYLD_LIBRARY_PATH=$(ICU_INSTALL_PATH)/lib" AFAIU.

With that change, the output is a bit different: Now there is no reference to |CU_INSTALL_PATH|, but for some reason still looks for |libfbclient.dylib| in the wrong places: the actual path should be |/Users/e787/Downloads/DB/Firebird/Firebird-3.0.8.33535-0/gen/Release/firebird/lib/libfbclient.dylib|

Also, is the lack of |firebird.msg| relevant? looks like a file that should exists.

|can't format message 17:10 -- message file ../../gen/Release/firebird/firebird.msg not found Server version: Firebird/Darwin/ARM64 (access method), version "UA-V3.0.8.33535 Firebird 3.0" on disk structure version 12.2 ../../gen/Release/firebird/bin/gpre_current -m -z -n ../../gen/examples/empbuild.e ../../gen/examples/empbuild.c gpre version UA-V3.0.8.33535 Firebird 3.0 Version(s) for database "empbuild.fdb" Firebird/Darwin/ARM64 (access method), version "UA-V3.0.8.33535 Firebird 3.0" on disk structure version 12.2 gcc -I../../src/include/gen -I../../src/include -DDARWIN -DARM64 -pipe -O2 -MMD -fPIC -fno-common -mmacosx-version-min=12.0 -I../../extern/libtommath -D_THREAD_SAFE -I/include -c ../../gen/examples/empbuild.c -o ../../gen/examples/empbuild.o g++ -fvisibility-inlines-hidden -fvisibility=hidden -stdlib=libc++ ../../gen/examples/empbuild.o ../../temp/Release/common.a -o ../../gen/examples/empbuild -L../../gen/Release/firebird/lib -L../../gen/Release/firebird/lib -lfbclient -ltommath -liconv -lm -framework CoreFoundation -lcurses -liconv -lobjc -framework Foundation -framework Security rm -f ../../gen/examples/employee.fdb ./empbuild ../../gen/examples/employee.fdb dyld[55626]: Library not loaded: @rpath/lib/libfbclient.dylib Referenced from: /Users/e787/Downloads/DB/Firebird/Firebird-3.0.8.33535-0/gen/examples/empbuild Reason: tried: '/lib/libfbclient.dylib' (no such file), '/usr/local/lib/libfbclient.dylib' (no such file), '/usr/lib/libfbclient.dylib' (no such file)|

Please see this https://blog.krzyzanowskim.com/2018/12/05/rpath-what/

asfernandes commented 2 years ago

In prefix.darwin_aarch64 there is var called DYLD_LIBRARY_PATH which seem to reference a local ICU on prefix.darwin_x86_64. I've changed that to /opt/homebrew/opt/icu4c/lib.

I would comment that DYLD_LIBRARY_PATH lines instead.

asfernandes commented 2 years ago

I can attach the complete output generated by make if necessary.

Yes, please. Just use make (not make -j4).

e787 commented 2 years ago

Please see this https://blog.krzyzanowskim.com/2018/12/05/rpath-what/

@AlexPeshkoff Thanks for the link. At first look, it seems quite more advanced than my skills in this subject, but I will thoroughly read the post and see what I can learn from it.

I would comment that DYLD_LIBRARY_PATH lines instead.

Yes, please. Just use make (not make -j4).

@asfernandes I've attached two files with the output generated by autogen.sh and by make, with commented DYLD_LIBRARY_PATH lines on _prefix.darwinaarch64. I hope this is helpful. autogen_output.txt make_output.txt

asfernandes commented 2 years ago

Are your MacOS in developer mode (i.e., with some security features disabled)?

asfernandes commented 2 years ago

The empbuild project is not using -Wl,-rpath,@loader_path/... It's also put in another path (gen/examples, not gen/Release/firebird/bin).

That may be the problem. But interesting, it's working in the github actions build. Maybe because the makefile sets LD_LIBRARY_PATH? I remember MacOS not in developers mode has problem with this.

e787 commented 2 years ago

Are your MacOS in developer mode (i.e., with some security features disabled)?

I haven't enabled developer mode, I don't remember ever enabling developer mode on my Intel Mac either, and was able to compile Firebird following the instructions in GitHub Actions.

The empbuild project is not using -Wl,-rpath,@loader_path/... It's also put in another path (gen/examples, not gen/Release/firebird/bin).

That may be the problem. But interesting, it's working in the github actions build. Maybe because the makefile sets LD_LIBRARY_PATH? I remember MacOS not in developers mode has problem with this.

I'll try enabling developer mode (running DevToolsSecurity -enable is enough?) and see if it makes any difference.

e787 commented 2 years ago

This is the output of make with developer mode enabled. There doesn't seem to be any difference make_output_devmode_enabled.txt

asfernandes commented 2 years ago

@e787 please try applying this patch https://github.com/asfernandes/firebird/commit/478492533d6c0dfc8f1b357444562f8c593a7183

Also, base your new prefix file on them (without DYLD_LIBRARY_PATH and not redefining EXE_LINK_OPTIONS).

e787 commented 2 years ago

@asfernandes Good news first: with this patches applied I am able to compile. Unfortunately, make install fails (make[2]: Nothing to be done for 'install'), and following the steps on GitHub Actions (cd gen; make -B -f make.platform.postfix ICU_LOC="$ICU_INSTALL_PATH/lib/") returns the following message:

rm -f -rf ../gen/Release/frameworks/Firebird3.framework
mkdir -p ../gen/Release/frameworks/Firebird3.framework/Versions/A/Libraries
cp /lib/*.dylib ../gen/Release/firebird/lib/
cp: /lib/*.dylib: No such file or directory
make: *** [framework] Error 1

As usual, here's the output of make, in case it needs to be checked. make_patch_output.txt

asfernandes commented 2 years ago

Good news first: with this patches applied I am able to compile.

Great!

(cd gen; make -B -f make.platform.postfix ICU_LOC="$ICU_INSTALL_PATH/lib/")

Are you sure in this moment you have $ICU_INSTALL_PATH variable defined?

e787 commented 2 years ago

Are you sure in this moment you have $ICU_INSTALL_PATH variable defined?

Sorry, it seems I had not set ICU_INSTALL_PATH when running this part of the script.

Once fixed this problem, the process has finished correctly, generating the installer in pkg format (attached at the end of this comment).

I have just installed it on my computer and everything seems to work as expected. Firebird-3.0.8-33535-ARM64.pkg.tar.gz

asfernandes commented 2 years ago

@e787 I have added my changes to https://github.com/FirebirdSQL/firebird/tree/B3_0_Release.

Would you please create a pull request with your changes for the M1 port?

sembsa commented 2 years ago

Hey, I downloaded. Congratulations on a successful job! The server itself works, but I have a problem with "gbak" while creating a database copy I get the message "invalid number"

e787 commented 2 years ago

Would you please create a pull request with your changes for the M1 port?

@asfernandes I've created the following pull request: https://github.com/FirebirdSQL/firebird/pull/7073

asfernandes commented 2 years ago

Hey, I downloaded. Congratulations on a successful job! The server itself works, but I have a problem with "gbak" while creating a database copy I get the message "invalid number"

Do you mean when using gbak -B?

e787 commented 2 years ago

Hi @sembsa, I haven't had a chance until recently to test gbak on my M1 computer. On two small databases I have on hand there has been no problem creating an fbk file and restoring from it.

I have another one that is giving me problems, but I'm still trying to figure out if the problem is due to the port, the 3.0.8 version (I have no problems on my Intel development machine with 3.0.7) or this database itself.

Have you tried the same process with 3.0.8 via rosetta (or a native Intel Mac)? I could try to replicate your steps on my mac, but I would need you to give me more details about the database and commands executed, even better if you could attach a demo database.

@asfernandes and @AlexPeshkoff: Would it be useful if I compile a version of Firebird with --enable-debug? The current version doesn't have it. Is there an automated process I can run to test and validate the current M1 port proposal?

haanerg commented 2 years ago

Hi @e787 @sembsa There might be an issue with creating uniques on MacOS (both Intel and M1). Does gbak fail when activating indices? I've started working on a small test to demonstrate the error (attached). Opened a new issue: #7084

power(2, 17) works, power(2, 18) doesn't

unique_test.sql.zip

asfernandes commented 2 years ago

@e787 @sembsa please try your changes on top of B3_0_Release branch or apply this commit af18e50b6e511e50c8402b71c4229323261a4e00.

The fix probably affects many things other than unique indices.

e787 commented 2 years ago

@asfernandes Indeed, with the latest fixes most of the problems have disappeared, but not all. Now on an Intel Mac I can use, backup and restore the problematic database, but on ARM, when backing up (gbak -b), it returns the following error

gbak: ERROR:message length error (encountered 4294935388, expected 33628)
gbak: ERROR:gds_$receive failed

Attached are compiled versions of the latest code in ARM and x86_64 flavours for others to try. Firebird-3.0.9-33547-ARM64.pkg.zip Firebird-3.0.9-33547-x86_64.pkg.zip

asfernandes commented 2 years ago

If you can share a reproducible database, maybe I can reproduce the problem on a raspberry pi 4 hardware.

@asfernandes Indeed, with the latest fixes most of the problems have disappeared, but not all. Now on an Intel Mac I can use, backup and restore the problematic database, but on ARM, when backing up (gbak -b), it returns the following error

gbak: ERROR:message length error (encountered 4294935388, expected 33628)
gbak: ERROR:gds_$receive failed

Attached are compiled versions of the latest code in ARM and x86_64 flavours for others to try. Firebird-3.0.9-33547-ARM64.pkg.zip Firebird-3.0.9-33547-x86_64.pkg.zip

If you can share a reproducible database, maybe I can reproduce the problem on a raspberry pi 4 hardware.

e787 commented 2 years ago

If you can share a reproducible database, maybe I can reproduce the problem on a raspberry pi 4 hardware.

In this example, the output of gbak -b is as before: message length error.

gbak: ERROR:message length error (encountered 4294935556, expected 33796)
gbak: ERROR:gds_$receive failed
gbak:Exiting before completion due to errors

On an Intel Mac the fbk file is generated.

If I change the varchar size to lower values (like 1024 for example), then it works.

test.sql.zip

asfernandes commented 2 years ago

Is the count of records necessary for the fail? If not, reduce it to the minimum necessary on the following test.

Also, avoid use of rand().

Tell me the new script content.

Then apply this patch and after rebuild, please run gbak -V -B database.fdb database.fbk and attach the output.

e787 commented 2 years ago

Is the count of records necessary for the fail? If not, reduce it to the minimum necessary on the following test.

An empty table gives the same error in the backup, so it seems that data is not needed at all to reproduce this problem. The number of records was an attempt to reproduce the state of my database as best as possible.

I have compiled a new version of firebird using the latest source code in the b3_0_release branch and applying your patch. The results are in the attached file. test with output.zip

asfernandes commented 2 years ago

We inherited from Interbase API functions using signed shorts in public prototypes and unsigned in implementation.

Looks like by undefined behavior that was working in others archs. And in M1 it does not.

API prototypes was fixed in v4. I doubt that is going to be backported to v3.

Can't you focus this port on v4?

asfernandes commented 2 years ago

The test in Raspberry Pi worked.

This may explain the problem in M1: "The caller of a function is responsible for signing or zero-extending any argument with fewer than 32 bits. The standard ABI expects the callee to sign or zero-extend those arguments."

https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms

e787 commented 2 years ago

Can't you focus this port on v4?

My production server is running version 3.0, hence my interest in making this port work with 3.0. I'm going to try version 4.0.1 and report back.

Is there any reason why there is no official version 4.0 for Mac on the Firebird site?

We inherited from Interbase API functions using signed shorts in public prototypes and unsigned in implementation.

Looks like by undefined behavior that was working in others archs. And in M1 it does not.

API prototypes was fixed in v4. I doubt that is going to be backported to v3.

If that is the case, what should be done with the 3.0 port to M1? Should it be considered finished, documenting this gbak bug as a known issue? Surely there is someone who would benefit from having this version.

I have a problem with "gbak" while creating a database copy I get the message "invalid number"

@sembsa Is your problem with fbak related to the bug mentioned by @asfernandes? Was it solved by the compiled version in https://github.com/FirebirdSQL/firebird/issues/7041#issuecomment-1000909018?

e787 commented 2 years ago

I have tested with version 4.0.1 and gbak works as expected, being able to backup and restore the database that was giving problems under 3.0.9.

However, I have a strange behaviour when using isql to set the sysdba password, as I understand that with firebird 4 it is mandatory to set a SYSDBA password to connect to a database. If I run the isql command as a non-root user, I get the following error when trying to connect to a database (such as employee or security):

Statement failed, SQLSTATE = HY000
operating system directive access failed
-Permission denied
-/tmp/firebird/

If run under sudo, then it works and I can set a password for SYSDBA, but after some time it stops working, with the following message in firebird.log:

Authentication error
connection shutdown

Although a restart of the service temporarily solves the problem.

My guess is that I'm doing something wrong with my Firebird 4.0 configuration.

asfernandes commented 2 years ago

Statement failed, SQLSTATE = HY000 operating system directive access failed -Permission denied -/tmp/firebird/

Did you had this directory already created by Firebird running as service?

If yes, this is a thing that happens in Linux too.

If the service created that directory, your ordinary user must have access to it in embedded too. In Linux, usually this happens adding the user to firebird group.

I don't know with what user (firebird, root) the MacOS installer uses to run the service.

Authentication error connection shutdown

More details would be good to understand that.

e787 commented 2 years ago

Did you had this directory already created by Firebird running as service?

I did not. The directory was created by firebird itself.

If the service created that directory, your ordinary user must have access to it in embedded too. In Linux, usually this happens adding the user to firebird group.

I tried adding the user to the firebird group, but it did not solve the problem.

I don't know with what user (firebird, root) the MacOS installer uses to run the service.

I don't know either, it may help to know that the fbguard process is launched by the root user (see attached screenshot). I think it is the root user, since the root password is required during installation.

More details would be good to understand that

After installing the firebird 4.0.1 package on a Mac (Intel or Arm, it makes no difference), using isql to set the sysdba password (with sudo), firebird connections stop working after some time, returning an error message Authentication error, connection shutdown in firebird.log. It is important to note that before the authentication failure, I was successfully connected to a database.

One thing I have noticed is that the contents of /tmp/firebird differ significantly before/after the authentication error:

After starting the service (with authentication running)

-rw-rw----   1 firebird  firebird    65536  8 Jan 19:24 fb13_trace
-rw-rw----   1 firebird  firebird        0  8 Jan 15:47 fb_init
-rw-rw----   1 firebird  firebird  1048576  8 Jan 19:24 fb_lock_09000001474d930000000000
-rw-rw----   1 firebird  firebird  1048576  8 Jan 19:24 fb_monitor_09000001474d930000000000
-rw-------   1 root      firebird        0  8 Jan 15:47 fb_rename_guard
-rw-rw----   1 firebird  firebird    65536  8 Jan 19:24 fb_snap_09000001474d930000000000
-rw-rw----   1 firebird  firebird      136  8 Jan 19:24 fb_tpc_09000001474d930000000000
-rw-rw----   1 firebird  firebird  4194304  8 Jan 19:24 fb_tpc_09000001474d930000000000_0

After the authentication failure messages:

-rw-rw----  1 firebird  firebird  0  8 Jan 15:47 fb_init
-rw-------  1 root      firebird  0  8 Jan 15:47 fb_rename_guard

Could it be that fbguard (or whoever is responsible for maintaining the firebird service running on MacOS) is not working as expected?

Attached are two screenshots from Activity Monitor that refer to the fbguard and firebird processes, and Intel and ARM packages of 4.0.1.

activity monitor firebird activity monitor fbguard

I don't know what further information I could provide to successfully diagnose this problem, as I am not familiar with this kind of debugging (I am a front-end developer).

As a final note, I am currently testing under an Intel MacOS, to make sure that this problem is not directly related to the ARM port. Firebird-4.0.1-2704-ARM64.pkg.zip Firebird-4.0.1-2704-x86_64.pkg.zip