Clang fails to compile with "clang++ -std=c++11" or "clang++ -std=c++11 -stdlib=libc++". Issue was mostly fixed in MySQL in response to this 2012 bug
/usr/ports/databases/mariadb101-server/work/mariadb-10.1.17/sql/sql_view.cc:765:3: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing]
|
my_offsetof(TABLE_LIST, mariadb_version),
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
/usr/ports/databases/mariadb101-server/work/mariadb-10.1.17/include/my_global.h:884:9: note: expanded from macro 'my_offsetof'
|
((size_t)((char *)&(((TYPE *)0x10)->MEMBER) - (char*)0x10))
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
/usr/ports/databases/mariadb101-server/work/mariadb-10.1.17/sql/sql_view.cc:765:3: note: override this message by inserting an explicit cast
|
my_offsetof(TABLE_LIST, mariadb_version),
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
static_cast<int>( )
|
/usr/ports/databases/mariadb101-server/work/mariadb-10.1.17/include/my_global.h:884:9: note: expanded from macro 'my_offsetof'
|
((size_t)((char *)&(((TYPE *)0x10)->MEMBER) - (char*)0x10))
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
{"report":{"fcp":1251.3999996185303,"ttfb":157.69999980926514,"pageVisibility":"visible","entityId":57882,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"e83a9e21-42f5-4928-a933-94e90d3885f9","navigationType":0,"readyForUser":1355,"redirectCount":0,"resourceLoadedEnd":1645.0999994277954,"resourceLoadedStart":170.5999994277954,"resourceTiming":[{"duration":515.2000007629395,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":170.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":170.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":685.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":515.2999992370605,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":170.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":170.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":686.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":525,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":171,"connectEnd":171,"connectStart":171,"domainLookupEnd":171,"domainLookupStart":171,"fetchStart":171,"redirectEnd":0,"redirectStart":0,"requestStart":171,"responseEnd":696,"responseStart":696,"secureConnectionStart":171},{"duration":552,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":171.19999980926514,"connectEnd":171.19999980926514,"connectStart":171.19999980926514,"domainLookupEnd":171.19999980926514,"domainLookupStart":171.19999980926514,"fetchStart":171.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":171.19999980926514,"responseEnd":723.1999998092651,"responseStart":723.1999998092651,"secureConnectionStart":171.19999980926514},{"duration":556.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":171.5,"connectEnd":171.5,"connectStart":171.5,"domainLookupEnd":171.5,"domainLookupStart":171.5,"fetchStart":171.5,"redirectEnd":0,"redirectStart":0,"requestStart":171.5,"responseEnd":727.6999998092651,"responseStart":727.6999998092651,"secureConnectionStart":171.5},{"duration":556.7000007629395,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":171.5999994277954,"connectEnd":171.5999994277954,"connectStart":171.5999994277954,"domainLookupEnd":171.5999994277954,"domainLookupStart":171.5999994277954,"fetchStart":171.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":171.5999994277954,"responseEnd":728.3000001907349,"responseStart":728.3000001907349,"secureConnectionStart":171.5999994277954},{"duration":557.2999992370605,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":171.80000019073486,"connectEnd":171.80000019073486,"connectStart":171.80000019073486,"domainLookupEnd":171.80000019073486,"domainLookupStart":171.80000019073486,"fetchStart":171.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":171.80000019073486,"responseEnd":729.0999994277954,"responseStart":729.0999994277954,"secureConnectionStart":171.80000019073486},{"duration":758.2000007629395,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":172.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":172.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":930.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":577.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":172.19999980926514,"connectEnd":172.19999980926514,"connectStart":172.19999980926514,"domainLookupEnd":172.19999980926514,"domainLookupStart":172.19999980926514,"fetchStart":172.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":172.19999980926514,"responseEnd":750.0999994277954,"responseStart":750.0999994277954,"secureConnectionStart":172.19999980926514},{"duration":758.1999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":172.39999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":172.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":930.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":578.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":172.5999994277954,"connectEnd":172.5999994277954,"connectStart":172.5999994277954,"domainLookupEnd":172.5999994277954,"domainLookupStart":172.5999994277954,"fetchStart":172.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":172.5999994277954,"responseEnd":751.0999994277954,"responseStart":751.0999994277954,"secureConnectionStart":172.5999994277954},{"duration":929.5999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":173.30000019073486,"connectEnd":173.30000019073486,"connectStart":173.30000019073486,"domainLookupEnd":173.30000019073486,"domainLookupStart":173.30000019073486,"fetchStart":173.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":173.30000019073486,"responseEnd":1102.8999996185303,"responseStart":1102.8999996185303,"secureConnectionStart":173.30000019073486},{"duration":1471.5999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":173.5,"connectEnd":173.5,"connectStart":173.5,"domainLookupEnd":173.5,"domainLookupStart":173.5,"fetchStart":173.5,"redirectEnd":0,"redirectStart":0,"requestStart":173.5,"responseEnd":1645.0999994277954,"responseStart":1645.0999994277954,"secureConnectionStart":173.5},{"duration":621,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1021.3999996185303,"connectEnd":1021.3999996185303,"connectStart":1021.3999996185303,"domainLookupEnd":1021.3999996185303,"domainLookupStart":1021.3999996185303,"fetchStart":1021.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1021.3999996185303,"responseEnd":1642.3999996185303,"responseStart":1642.3000001907349,"secureConnectionStart":1021.3999996185303}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":6,"responseStart":157,"responseEnd":162,"domLoading":168,"domInteractive":1681,"domContentLoadedEventStart":1681,"domContentLoadedEventEnd":1721,"domComplete":3165,"loadEventStart":3165,"loadEventEnd":3166,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1662},{"name":"bigPipe.sidebar-id.end","time":1662.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":1663.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1665.6999998092651},{"name":"activityTabFullyLoaded","time":1728}],"measures":[],"correlationId":"c417c3299c3d76","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":93,"dbReadsTimeInMs":10,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}