Title: Warnings shown on Windows when compiling master branch · Issue #1423 · sqlitebrowser/sqlitebrowser · GitHub
Open Graph Title: Warnings shown on Windows when compiling master branch · Issue #1423 · sqlitebrowser/sqlitebrowser
X Title: Warnings shown on Windows when compiling master branch · Issue #1423 · sqlitebrowser/sqlitebrowser
Description: When compiling our master branch on Windows (MSVC), some warnings are displayed which we might want to clean up: 6>C:\git_repos\sqlitebrowser\src\ImportCsvDialog.cpp(263): warning C4267: 'argument' : conversion from 'size_t' to 'int', po...
Open Graph Description: When compiling our master branch on Windows (MSVC), some warnings are displayed which we might want to clean up: 6>C:\git_repos\sqlitebrowser\src\ImportCsvDialog.cpp(263): warning C4267: 'argument'...
X Description: When compiling our master branch on Windows (MSVC), some warnings are displayed which we might want to clean up: 6>C:\git_repos\sqlitebrowser\src\ImportCsvDialog.cpp(263): warning C4267: 'ar...
Opengraph URL: https://github.com/sqlitebrowser/sqlitebrowser/issues/1423
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Warnings shown on Windows when compiling master branch","articleBody":"When compiling our `master` branch on Windows (MSVC), some warnings are displayed which we might want to clean up:\r\n\r\n```\r\n6>C:\\git_repos\\sqlitebrowser\\src\\ImportCsvDialog.cpp(263): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n6>C:\\git_repos\\sqlitebrowser\\src\\ImportCsvDialog.cpp(273): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n6>C:\\git_repos\\sqlitebrowser\\src\\ImportCsvDialog.cpp(425): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n6>C:\\git_repos\\sqlitebrowser\\src\\ImportCsvDialog.cpp(448): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n6>C:\\git_repos\\sqlitebrowser\\src\\ImportCsvDialog.cpp(641): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n6>C:\\git_repos\\sqlitebrowser\\src\\ImportCsvDialog.cpp(643): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n6>C:\\git_repos\\sqlitebrowser\\src\\ImportCsvDialog.cpp(649): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n```\r\n\r\n```\r\n6>C:\\git_repos\\sqlitebrowser\\src\\sqlitedb.cpp(581): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n6>C:\\git_repos\\sqlitebrowser\\src\\sqlitedb.cpp(681): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n6>C:\\git_repos\\sqlitebrowser\\src\\sqlitedb.cpp(827): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n6>C:\\git_repos\\sqlitebrowser\\src\\sqlitedb.cpp(844): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n6> sqlitetablemodel.cpp\r\n6>C:\\git_repos\\sqlitebrowser\\src\\sqlitetablemodel.cpp(194): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data\r\n6>C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobjectdefs_impl.h(205): warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data\r\n6> C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobjectdefs_impl.h(220) : see reference to class template instantiation 'QtPrivate::AreArgumentsCompatible\u003cunsigned __int64,unsigned int>' being compiled\r\n6> C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobjectdefs_impl.h(221) : see reference to class template instantiation 'QtPrivate::CheckCompatibleArguments\u003cQtPrivate::List\u003csize_t,size_t>,QtPrivate::List\u003cunsigned int,unsigned int>>' being compiled\r\n6> C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobject.h(232) : 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\n6> C:\\git_repos\\sqlitebrowser\\src\\sqlitetablemodel.cpp(34) : 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\n6> with\r\n6> [\r\n6> Func1=void (__cdecl RowLoader::* )(int,size_t,size_t)\r\n6> , Func2=void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)\r\n6> ]\r\n6>C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobjectdefs_impl.h(141): warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data\r\n6> C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobjectdefs_impl.h(140) : 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\n6> with\r\n6> [\r\n6> SignalArgs=QtPrivate::List\u003cint,size_t,size_t>\r\n6> , R=void\r\n6> , SlotRet=void\r\n6> , Obj=SqliteTableModel\r\n6> ]\r\n6> C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobjectdefs_impl.h(160) : 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\n6> with\r\n6> [\r\n6> SignalArgs=QtPrivate::List\u003cint,size_t,size_t>\r\n6> , R=void\r\n6> , SlotRet=void\r\n6> , Obj=SqliteTableModel\r\n6> ]\r\n6> C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobjectdefs_impl.h(160) : 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\n6> with\r\n6> [\r\n6> SignalArgs=QtPrivate::List\u003cint,size_t,size_t>\r\n6> , R=void\r\n6> ]\r\n6> C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobject_impl.h(120) : 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\n6> with\r\n6> [\r\n6> Args=QtPrivate::List\u003cint,size_t,size_t>\r\n6> , R=void\r\n6> , Obj=SqliteTableModel\r\n6> ]\r\n6> C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobject_impl.h(120) : 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\n6> with\r\n6> [\r\n6> Args=QtPrivate::List\u003cint,size_t,size_t>\r\n6> , R=void\r\n6> , Obj=SqliteTableModel\r\n6> ]\r\n6> C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobject_impl.h(114) : 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\n6> with\r\n6> [\r\n6> Func2=void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)\r\n6> ]\r\n6> C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobject_impl.h(129) : 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\n6> with\r\n6> [\r\n6> Func2=void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)\r\n6> ]\r\n6> C:\\dev\\Qt\\5.7\\msvc2013_64\\include\\QtCore/qobject.h(244) : see reference to class template instantiation 'QtPrivate::QSlotObject\u003cFunc2,QtPrivate::List\u003cint,size_t,size_t>,void>' being compiled\r\n6> with\r\n6> [\r\n6> Func2=void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)\r\n6> ]\r\n6> C:\\git_repos\\sqlitebrowser\\src\\sqlitetablemodel.cpp(34) : 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\n6> with\r\n6> [\r\n6> Func1=void (__cdecl RowLoader::* )(int,size_t,size_t)\r\n6> , Func2=void (__cdecl SqliteTableModel::* )(int,unsigned int,unsigned int)\r\n6> ]\r\n6> RowLoader.cpp\r\n6> sqlitetypes.cpp\r\n6>C:\\git_repos\\sqlitebrowser\\libs\\antlr-2.7.7\\antlr/CharScanner.hpp(566): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.\r\n6> C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\include\\string.h(253) : see declaration of 'stricmp'\r\n```\r\n\r\n```\r\n6>C:\\git_repos\\sqlitebrowser\\libs\\antlr-2.7.7\\antlr/CharScanner.hpp(566): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.\r\n6> C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\include\\string.h(253) : see declaration of 'stricmp'\r\n6> Sqlite3Parser.cpp\r\n6>C:\\git_repos\\sqlitebrowser\\src\\grammar\\Sqlite3Parser.cpp(3926): warning C4101: 'pe' : unreferenced local variable\r\n```\r\n\r\nThe build itself succeeded and seems to run ok, which is the important thing. :smile:","author":{"url":"https://github.com/justinclift","@type":"Person","name":"justinclift"},"datePublished":"2018-06-09T10:02:34Z","url":"https://github.com/sqlitebrowser/sqlitebrowser/issues/1423"}
| 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:14d6256a-55b6-5dbc-1faf-dd29611ecf4d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D68:3F5FA8:1B4275:24AC88:6AFD435A |
| html-safe-nonce | 3897cab07b600087e283124772daa8f600f0db789b826b54bde62b28450e9399 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDY4OjNGNUZBODoxQjQyNzU6MjRBQzg4OjZBRkQ0MzVBIiwidmlzaXRvcl9pZCI6Ijc0MjExNjMxMDkzODI3MDE5MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 042efc09144908bce06506d6ab59acc6cd01e9e3d869894bd5d85e85acb97773 |
| hovercard-subject-tag | issue:330872749 |
| 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/1423/issue_layout |
| twitter:image | https://opengraph.githubassets.com/86d45c0fafc26b330a6814ab97555c8f5203ca7e7447f4dd91759ab46e1850eb/sqlitebrowser/sqlitebrowser/issues/1423 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86d45c0fafc26b330a6814ab97555c8f5203ca7e7447f4dd91759ab46e1850eb/sqlitebrowser/sqlitebrowser/issues/1423 |
| og:image:alt | When compiling our master branch on Windows (MSVC), some warnings are displayed which we might want to clean up: 6>C:\git_repos\sqlitebrowser\src\ImportCsvDialog.cpp(263): warning C4267: 'argument'... |
| 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 | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| 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 | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width