Skip to content

Compile errors on Win32 #2014

@justinclift

Description

@justinclift

Just checked our build server, as the nightlies haven't run for a few days. It ran out of disk space, so VMware Fusion suspended the VMs! 😦

Manually running the Win32 build after freeing up disk space resulted in a failed build. Looks like we've introduced some errors in the last ~week since the build worked:

5>  sqlitetypes.cpp
5>sqlite3_parser.hpp(992): warning C4065: switch statement contains 'default' but no 'case' labels
5>  sqlite3_parser.hpp(983): note: while compiling class template member function 'void sqlb::parser::parser::basic_symb
ol<sqlb::parser::parser::by_type>::clear(void)'
5>  sqlite3_parser.hpp(978): note: see reference to function template instantiation 'void sqlb::parser::parser::basic_sy
mbol<sqlb::parser::parser::by_type>::clear(void)' being compiled
5>  sqlite3_parser.hpp(1240): note: see reference to class template instantiation 'sqlb::parser::parser::basic_symbol<sq
lb::parser::parser::by_type>' being compiled

...

5>  SelectItemsPopup.cpp
5>  TableBrowser.cpp
5>c:\git_repos\sqlitebrowser\src\TableBrowser.h(178): error C2039: 'function': is not a member of 'std'
5>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\unordered_set(13): note: see declaration of 'std'
5>c:\git_repos\sqlitebrowser\src\TableBrowser.h(178): error C2061: syntax error: identifier 'function'
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(133): error C2660: 'TableBrowser::modifyColumnFormat': function does n
ot take 2 arguments
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(137): error C2660: 'TableBrowser::modifyColumnFormat': function does n
ot take 2 arguments
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(143): error C2660: 'TableBrowser::modifyColumnFormat': function does n
ot take 2 arguments
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(148): error C2660: 'TableBrowser::modifyColumnFormat': function does n
ot take 2 arguments
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(152): error C2660: 'TableBrowser::modifyColumnFormat': function does n
ot take 2 arguments
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(155): error C2660: 'TableBrowser::modifyColumnFormat': function does n
ot take 2 arguments
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(158): error C2660: 'TableBrowser::modifyColumnFormat': function does n
ot take 2 arguments
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(166): error C2660: 'TableBrowser::modifyColumnFormat': function does n
ot take 2 arguments
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(173): error C2660: 'TableBrowser::modifyColumnFormat': function does n
ot take 2 arguments
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(180): error C2660: 'TableBrowser::modifyColumnFormat': function does n
ot take 2 arguments
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(187): error C2660: 'TableBrowser::modifyColumnFormat': function does n
ot take 2 arguments
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(624): error C2511: 'void TableBrowser::modifyColumnFormat(std::unorder
ed_set<int,std::hash<int>,std::equal_to<_Kty>,std::allocator<_Ty>>,std::function<void (CondFormat &)>)': overloaded memb
er function not found in 'TableBrowser'
5>          with
5>          [
5>              _Kty=int,
5>              _Ty=int
5>          ]
5>  c:\git_repos\sqlitebrowser\src\TableBrowser.h(76): note: see declaration of 'TableBrowser'
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(626): error C2352: 'TableBrowser::currentlyBrowsedTableName': illegal
call of non-static member function
5>  C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(315): note: see declaration of 'TableBrowser::currentlyBrowsedTableN
ame'
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(626): error C2228: left of '.condFormats' must have class/struct/union

5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(626): error C2530: 'columnFormats': references must be initialized
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(633): error C2227: left of '->addCondFormat' must point to class/struc
t/union/generic type
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(639): error C2227: left of '->data' must point to class/struct/union/g
eneric type
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(639): error C2352: 'TableBrowser::currentIndex': illegal call of non-s
tatic member function
5>  C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(349): note: see declaration of 'TableBrowser::currentIndex'
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(639): error C2228: left of '.sibling' must have class/struct/union
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(639): error C2228: left of '.row' must have class/struct/union
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(640): error C2228: left of '.toInt' must have class/struct/union
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(642): error C2227: left of '->encoding' must point to class/struct/uni
on/generic type
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(648): error C2227: left of '->addCondFormat' must point to class/struc
t/union/generic type
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(649): error C2352: 'TableBrowser::currentlyBrowsedTableName': illegal
call of non-static member function
5>  C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(315): note: see declaration of 'TableBrowser::currentlyBrowsedTableN
ame'
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(649): error C2228: left of '.condFormats' must have class/struct/union

5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(649): error C2228: left of '.push_back' must have class/struct/union
5>C:\git_repos\sqlitebrowser\src\TableBrowser.cpp(652): error C2352: 'TableBrowser::projectModified': illegal call of no
n-static member function
5>  c:\git_repos\sqlitebrowser\src\TableBrowser.h(112): note: see declaration of 'TableBrowser::projectModified'
5>  ParserDriver.cpp
5>sqlite3_parser.hpp(992): warning C4065: switch statement contains 'default' but no 'case' labels
5>  sqlite3_parser.hpp(983): note: while compiling class template member function 'void sqlb::parser::parser::basic_symb
ol<sqlb::parser::parser::by_type>::clear(void)'
5>  sqlite3_parser.hpp(978): note: see reference to function template instantiation 'void sqlb::parser::parser::basic_sy
mbol<sqlb::parser::parser::by_type>::clear(void)' being compiled
5>  sqlite3_parser.hpp(1240): note: see reference to class template instantiation 'sqlb::parser::parser::basic_symbol<sq
lb::parser::parser::by_type>' being compiled
5>  sqlite3_lexer.cpp
5>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\stdint.h(48): warning C4005: 'INT8_MIN': macro redefini
tion
5>  sqlite3_lexer.cpp(83): note: see previous definition of 'INT8_MIN'
5>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\stdint.h(49): warning C4005: 'INT16_MIN': macro redefin
ition
5>  sqlite3_lexer.cpp(86): note: see previous definition of 'INT16_MIN'
5>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\stdint.h(50): warning C4005: 'INT32_MIN': macro redefin
ition
5>  sqlite3_lexer.cpp(89): note: see previous definition of 'INT32_MIN'
5>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\stdint.h(52): warning C4005: 'INT8_MAX': macro redefini
tion
5>  sqlite3_lexer.cpp(92): note: see previous definition of 'INT8_MAX'
5>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\stdint.h(53): warning C4005: 'INT16_MAX': macro redefin
ition
5>  sqlite3_lexer.cpp(95): note: see previous definition of 'INT16_MAX'
5>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\stdint.h(54): warning C4005: 'INT32_MAX': macro redefin
ition
5>  sqlite3_lexer.cpp(98): note: see previous definition of 'INT32_MAX'
5>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\stdint.h(56): warning C4005: 'UINT8_MAX': macro redefin
ition
5>  sqlite3_lexer.cpp(101): note: see previous definition of 'UINT8_MAX'
5>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\stdint.h(57): warning C4005: 'UINT16_MAX': macro redefi
nition
5>  sqlite3_lexer.cpp(104): note: see previous definition of 'UINT16_MAX'
5>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\stdint.h(58): warning C4005: 'UINT32_MAX': macro redefi
nition
5>  sqlite3_lexer.cpp(107): note: see previous definition of 'UINT32_MAX'
5>sqlite3_parser.hpp(992): warning C4065: switch statement contains 'default' but no 'case' labels
5>  sqlite3_parser.hpp(983): note: while compiling class template member function 'void sqlb::parser::parser::basic_symb
ol<sqlb::parser::parser::by_type>::clear(void)'
5>  sqlite3_parser.hpp(978): note: see reference to function template instantiation 'void sqlb::parser::parser::basic_sy
mbol<sqlb::parser::parser::by_type>::clear(void)' being compiled
5>  sqlite3_parser.hpp(1240): note: see reference to class template instantiation 'sqlb::parser::parser::basic_symbol<sq
lb::parser::parser::by_type>' being compiled
5>  sqlite3_parser.cpp
5>sqlite3_parser.hpp(992): warning C4065: switch statement contains 'default' but no 'case' labels
5>  sqlite3_parser.hpp(983): note: while compiling class template member function 'void sqlb::parser::parser::basic_symb
ol<sqlb::parser::parser::by_type>::clear(void)'
5>  sqlite3_parser.cpp(3139): note: see reference to function template instantiation 'void sqlb::parser::parser::basic_s
ymbol<sqlb::parser::parser::by_type>::clear(void)' being compiled
5>  sqlite3_parser.hpp(1240): note: see reference to class template instantiation 'sqlb::parser::parser::basic_symbol<sq
lb::parser::parser::by_type>' being compiled
5>  qrc_icons.cpp
5>  qrc_flags.cpp
5>  qrc_translations.cpp
5>  qrc_CaCerts.cpp
5>  Generating Code...
5>c:\git_repos\sqlitebrowser\src\condformat.cpp(150): warning C4715: 'CondFormat::alignmentFlag': not all control paths
return a value
5>c:\git_repos\sqlitebrowser\src\condformat.cpp(15): warning C4715: 'CondFormat::fromCombinedAlignment': not all control
 paths return a value
5>  Compiling...
5>  qrc_style.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed bugs or reports that are very likely to be bugs.osxwindows

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions