Title: Compile errors with MSVC 2017 · Issue #1592 · sqlitebrowser/sqlitebrowser · GitHub
Open Graph Title: Compile errors with MSVC 2017 · Issue #1592 · sqlitebrowser/sqlitebrowser
X Title: Compile errors with MSVC 2017 · Issue #1592 · sqlitebrowser/sqlitebrowser
Description: Trying to build master at the moment, using MSVC 2017. One (so far) error is occurring. This is when compiling using MSVC from the command line: > devenv /Build Release sqlitebrowser.sln /project "PACKAGE" The error: ... UniConversion.cp...
Open Graph Description: Trying to build master at the moment, using MSVC 2017. One (so far) error is occurring. This is when compiling using MSVC from the command line: > devenv /Build Release sqlitebrowser.sln /project "...
X Description: Trying to build master at the moment, using MSVC 2017. One (so far) error is occurring. This is when compiling using MSVC from the command line: > devenv /Build Release sqlitebrowser.sln /projec...
Opengraph URL: https://github.com/sqlitebrowser/sqlitebrowser/issues/1592
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compile errors with MSVC 2017","articleBody":"Trying to build `master` at the moment, using MSVC 2017.\r\n\r\nOne (so far) error is occurring. This is when compiling using MSVC from the command line:\r\n\r\n > devenv /Build Release sqlitebrowser.sln /project \"PACKAGE\"\r\n\r\nThe error:\r\n\r\n```\r\n...\r\nUniConversion.cpp\r\nViewStyle.cpp\r\nXPM.cpp\r\nmocs_compilation.cpp\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(70): error C2059: syntax error: 'constant'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2325): error C2143: syntax error: missing ';' before '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2325): error C2238: unexpected token(s) preceding ';'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2329): error C2059: syntax error: 'constant'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2334): error C2143: syntax error: missing ';' before '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2334): error C2059: syntax error: '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2338): error C2059: syntax error: 'constant'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2341): error C2143: syntax error: missing ';' before '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2341): error C2059: syntax error: '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2345): error C2059: syntax error: 'constant'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2348): error C2143: syntax error: missing ';' before '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2348): error C2059: syntax error: '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2352): error C2059: syntax error: 'constant'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2357): error C2143: syntax error: missing ';' before '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2357): error C2059: syntax error: '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2361): error C2059: syntax error: 'constant'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2365): error C2143: syntax error: missing ';' before '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2365): error C2059: syntax error: '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2369): error C2059: syntax error: 'constant'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2371): error C2143: syntax error: missing ';' before '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2371): error C2059: syntax error: '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2375): error C2059: syntax error: 'constant'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2377): error C2143: syntax error: missing ';' before '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2377): error C2059: syntax error: '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2381): error C2059: syntax error: 'constant'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2383): error C2143: syntax error: missing ';' before '}'\r\nc:\\git_repos\\sqlitebrowser\\libs\\qscintilla\\qt4qt5\\qsci\\qsciscintillabase.h(2383): error C2059: syntax error: '}'\r\n...\r\n```\r\n\r\nThis note is also displayed, which seems like it might be important:\r\n\r\n```\r\n...\r\nsqlitetablemodel.cpp(967): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobjectdefs_impl.h(297): warning C4267: 'argument': conversion from 'size_t' to 'const unsigned int', possible loss of data\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobjectdefs_impl.h(316): note: see reference to class template instantiation 'QtPrivate::AreArgumentsCompatible\u003cunsigned __int64,unsigned int>' being compiled\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobjectdefs_impl.h(317): note: see reference to class template instantiation 'QtPrivate::CheckCompatibleArguments\u003cQtPrivate::List\u003csize_t,size_t>,QtPrivate::List\u003cunsigned int,unsigned int>>' being compiled\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobject.h(241): note: see reference to class template instantiation 'QtPrivate::CheckCompatibleArguments\u003cQtPrivate::List\u003cint,size_t,size_t>,QtPrivate::List\u003cint,unsigned int,unsigned int>>' being compiled\r\nsqlitetablemodel.cpp(35): note: see reference to function template instantiation 'QMetaObject::Connection QObject::connect\u003cvoid(__cdecl RowLoader::* )(int,size_t,size_t),void(__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)>(const RowLoader *,Func1,const SqliteTableModel *,Func2,Qt::ConnectionType)' being compiled\r\n with\r\n [\r\n Func1=void (__cdecl RowLoader::* )(int,size_t,size_t),\r\n Func2=void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)\r\n ]\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobjectdefs_impl.h(134): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobjectdefs_impl.h(133): note: while compiling class template member function 'void QtPrivate::FunctorCall\u003cQtPrivate::IndexesList\u003c0,1,2>,SignalArgs,R,void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)>::call(SlotRet (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int),Obj *,void **)'\r\n with\r\n [\r\n SignalArgs=QtPrivate::List\u003cint,size_t,size_t>,\r\n R=void,\r\n SlotRet=void,\r\n Obj=SqliteTableModel\r\n ]\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobjectdefs_impl.h(167): note: see reference to function template instantiation 'void QtPrivate::FunctorCall\u003cQtPrivate::IndexesList\u003c0,1,2>,SignalArgs,R,void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)>::call(SlotRet (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int),Obj *,void **)' being compiled\r\n with\r\n [\r\n SignalArgs=QtPrivate::List\u003cint,size_t,size_t>,\r\n R=void,\r\n SlotRet=void,\r\n Obj=SqliteTableModel\r\n ]\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobjectdefs_impl.h(167): note: see reference to class template instantiation 'QtPrivate::FunctorCall\u003cQtPrivate::IndexesList\u003c0,1,2>,SignalArgs,R,void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)>' being compiled\r\n with\r\n [\r\n SignalArgs=QtPrivate::List\u003cint,size_t,size_t>,\r\n R=void\r\n ]\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobjectdefs_impl.h(396): note: see reference to function template instantiation 'void QtPrivate::FunctionPointer\u003cvoid (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)>::call\u003cArgs,R>(void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int),Obj *,void **)' being compiled\r\n with\r\n [\r\n Args=QtPrivate::List\u003cint,size_t,size_t>,\r\n R=void,\r\n Obj=SqliteTableModel\r\n ]\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobjectdefs_impl.h(396): note: see reference to function template instantiation 'void QtPrivate::FunctionPointer\u003cvoid (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)>::call\u003cArgs,R>(void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int),Obj *,void **)' being compiled\r\n with\r\n [\r\n Args=QtPrivate::List\u003cint,size_t,size_t>,\r\n R=void,\r\n Obj=SqliteTableModel\r\n ]\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobjectdefs_impl.h(390): note: while compiling class template member function 'void QtPrivate::QSlotObject\u003cFunc2,QtPrivate::List\u003cint,size_t,size_t>,void>::impl(int,QtPrivate::QSlotObjectBase *,QObject *,void **,bool *)'\r\n with\r\n [\r\n Func2=void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)\r\n ]\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobjectdefs_impl.h(405): note: see reference to function template instantiation 'void QtPrivate::QSlotObject\u003cFunc2,QtPrivate::List\u003cint,size_t,size_t>,void>::impl(int,QtPrivate::QSlotObjectBase *,QObject *,void **,bool *)' being compiled\r\n with\r\n [\r\n Func2=void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)\r\n ]\r\nC:\\dev\\Qt\\5.11.2\\msvc2017_64\\include\\QtCore/qobject.h(253): note: see reference to class template instantiation 'QtPrivate::QSlotObject\u003cFunc2,QtPrivate::List\u003cint,size_t,size_t>,void>' being compiled\r\n with\r\n [\r\n Func2=void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)\r\n ]\r\nsqlitetablemodel.cpp(35): note: see reference to function template instantiation 'QMetaObject::Connection QObject::connect\u003cvoid(__cdecl RowLoader::* )(int,size_t,size_t),void(__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)>(const RowLoader *,Func1,const SqliteTableModel *,Func2,Qt::ConnectionType)' being compiled\r\n with\r\n [\r\n Func1=void (__cdecl RowLoader::* )(int,size_t,size_t),\r\n Func2=void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)\r\n ]\r\nRowLoader.cpp\r\n...\r\n```\r\n\r\nAnyone have ideas? :smile:","author":{"url":"https://github.com/justinclift","@type":"Person","name":"justinclift"},"datePublished":"2018-10-27T08:04:46Z","url":"https://github.com/sqlitebrowser/sqlitebrowser/issues/1592"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a7786210-7f9c-2d93-a979-eb0fd9066e10 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A4C:1555F8:9325F5:CB0B32:6AFD3412 |
| html-safe-nonce | 3038638878f88ca3a84e73cfcfa955c38b99e04fc6a2929fb60e2a0b4f12b562 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTRDOjE1NTVGODo5MzI1RjU6Q0IwQjMyOjZBRkQzNDEyIiwidmlzaXRvcl9pZCI6IjY0Nzc4MjU4NTU1MTc5NjMyODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 777380a1f583db69e34e40ce5cad5970163e4bca0c8674b89c7bfee7ebf5bce1 |
| hovercard-subject-tag | issue:374619643 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sqlitebrowser/sqlitebrowser/1592/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9cc804bc8818c73fc403f36c74ef0f9bf1b66780a6e899ad0a9cded03e54a059/sqlitebrowser/sqlitebrowser/issues/1592 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9cc804bc8818c73fc403f36c74ef0f9bf1b66780a6e899ad0a9cded03e54a059/sqlitebrowser/sqlitebrowser/issues/1592 |
| og:image:alt | Trying to build master at the moment, using MSVC 2017. One (so far) error is occurring. This is when compiling using MSVC from the command line: > devenv /Build Release sqlitebrowser.sln /project "... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | justinclift |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/sqlitebrowser/sqlitebrowser git https://github.com/sqlitebrowser/sqlitebrowser.git |
| octolytics-dimension-user_id | 7454271 |
| octolytics-dimension-user_login | sqlitebrowser |
| octolytics-dimension-repository_id | 19416551 |
| octolytics-dimension-repository_nwo | sqlitebrowser/sqlitebrowser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 19416551 |
| octolytics-dimension-repository_network_root_nwo | sqlitebrowser/sqlitebrowser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width