In file included from FXUTF32Codec.cpp:28:
../include/FXTextCodec.h:74:17: warning: ‘virtual FX::FXint FX::FXTextCodec::utf2mblen(const FX::FXString&) const’ was hidden [-Woverloaded-virtual=]
74 | virtual FXint utf2mblen(const FXString& src) const;
| ^~~~~~~~~
In file included from FXUTF32Codec.cpp:29:
../include/FXUTF32Codec.h:70:17: note: by ‘virtual FX::FXint FX::FXUTF32Codec::utf2mblen(const FX::FXchar*, FX::FXint) const’
70 | virtual FXint utf2mblen(const FXchar* src,FXint nsrc) const override;
| ^~~~~~~~~
In file included from FXUTF16Codec.cpp:28:
../include/FXTextCodec.h:74:17: warning: ‘virtual FX::FXint FX::FXTextCodec::utf2mblen(const FX::FXString&) const’ was hidden [-Woverloaded-virtual=]
74 | virtual FXint utf2mblen(const FXString& src) const;
| ^~~~~~~~~
In file included from FXUTF16Codec.cpp:29:
../include/FXUTF16Codec.h:69:17: note: by ‘virtual FX::FXint FX::FXUTF16Codec::utf2mblen(const FX::FXchar*, FX::FXint) const’
69 | virtual FXint utf2mblen(const FXchar* src,FXint nsrc) const override;
| ^~~~~~~~~
FXApp.cpp: In static member function ‘static void FX::FXApp::imcreatecallback(void*, FX::FXApp*, void*)’:
FXApp.cpp:1255:43: warning: unused parameter ‘a’ [-Wunused-parameter]
1255 | void FXApp::imcreatecallback(void*,FXApp* a,void*){
| ~~~~~~~^
FXApp.cpp: In static member function ‘static void FX::FXApp::imdestroycallback(void*, FX::FXApp*, void*)’:
FXApp.cpp:1271:44: warning: unused parameter ‘a’ [-Wunused-parameter]
1271 | void FXApp::imdestroycallback(void*,FXApp* a,void*){
| ~~~~~~~^
FXApp.cpp: In function ‘void FX::print_hierarchychangedevent(XIHierarchyEvent*)’:
FXApp.cpp:2952:15: warning: variable ‘use’ set but not used [-Wunused-but-set-variable]
2952 | const char *use;
| ^~~
FXApp.cpp: In function ‘void FX::print_deviceevent(XIDeviceEvent*)’:
FXApp.cpp:2974:11: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]
2974 | double *val;
| ^~~
FXApp.cpp: In function ‘void FX::print_rawevent(XIRawEvent*)’:
FXApp.cpp:3000:11: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]
3000 | double *val, *raw_val;
| ^~~
FXApp.cpp:3000:17: warning: variable ‘raw_val’ set but not used [-Wunused-but-set-variable]
3000 | double *val, *raw_val;
| ^~~~~~~
In constructor ‘FX::FXInvocation::FXInvocation(FX::FXInvocation**, FX::FXModality, FX::FXWindow*)’,
inlined from ‘FX::FXint FX::FXApp::run()’ at FXApp.cpp:4037:54:
FXApp.cpp:329:16: warning: storing the address of local variable ‘inv’ in ‘((FX::FXInvocation**)this)[31]’ [-Wdangling-pointer=]
329 | *invocation=this;
| ~~~~~~~~~~~^~~~~
FXApp.cpp: In member function ‘FX::FXint FX::FXApp::run()’:
FXApp.cpp:4037:16: note: ‘inv’ declared here
4037 | FXInvocation inv(&invocation,MODAL_FOR_NONE,nullptr);
| ^~~
FXApp.cpp:4036:18: note: ‘this’ declared here
4036 | FXint FXApp::run(){
| ^
In constructor ‘FX::FXInvocation::FXInvocation(FX::FXInvocation**, FX::FXModality, FX::FXWindow*)’,
inlined from ‘FX::FXint FX::FXApp::runUntil(FX::FXuint&)’ at FXApp.cpp:4049:54:
FXApp.cpp:329:16: warning: storing the address of local variable ‘inv’ in ‘((FX::FXInvocation**)this)[31]’ [-Wdangling-pointer=]
329 | *invocation=this;
| ~~~~~~~~~~~^~~~~
FXApp.cpp: In member function ‘FX::FXint FX::FXApp::runUntil(FX::FXuint&)’:
FXApp.cpp:4049:16: note: ‘inv’ declared here
4049 | FXInvocation inv(&invocation,MODAL_FOR_NONE,nullptr);
| ^~~
FXApp.cpp:4048:40: note: ‘this’ declared here
4048 | FXint FXApp::runUntil(FXuint& condition){
| ^
In constructor ‘FX::FXInvocation::FXInvocation(FX::FXInvocation**, FX::FXModality, FX::FXWindow*)’,
inlined from ‘FX::FXint FX::FXApp::runWhileEvents(FX::FXTime)’ at FXApp.cpp:4061:54:
FXApp.cpp:329:16: warning: storing the address of local variable ‘inv’ in ‘((FX::FXInvocation**)this)[31]’ [-Wdangling-pointer=]
329 | *invocation=this;
| ~~~~~~~~~~~^~~~~
FXApp.cpp: In member function ‘FX::FXint FX::FXApp::runWhileEvents(FX::FXTime)’:
FXApp.cpp:4061:16: note: ‘inv’ declared here
4061 | FXInvocation inv(&invocation,MODAL_FOR_NONE,nullptr);
| ^~~
FXApp.cpp:4060:44: note: ‘this’ declared here
4060 | FXint FXApp::runWhileEvents(FXTime blocking){
| ^
In constructor ‘FX::FXInvocation::FXInvocation(FX::FXInvocation**, FX::FXModality, FX::FXWindow*)’,
inlined from ‘FX::FXint FX::FXApp::runModalWhileEvents(FX::FXWindow*, FX::FXTime)’ at FXApp.cpp:4071:55:
FXApp.cpp:329:16: warning: storing the address of local variable ‘inv’ in ‘((FX::FXInvocation**)this)[31]’ [-Wdangling-pointer=]
329 | *invocation=this;
| ~~~~~~~~~~~^~~~~
FXApp.cpp: In member function ‘FX::FXint FX::FXApp::runModalWhileEvents(FX::FXWindow*, FX::FXTime)’:
FXApp.cpp:4071:16: note: ‘inv’ declared here
4071 | FXInvocation inv(&invocation,MODAL_FOR_WINDOW,window);
| ^~~
FXApp.cpp:4070:66: note: ‘this’ declared here
4070 | FXint FXApp::runModalWhileEvents(FXWindow* window,FXTime blocking){
| ^
In constructor ‘FX::FXInvocation::FXInvocation(FX::FXInvocation**, FX::FXModality, FX::FXWindow*)’,
inlined from ‘FX::FXint FX::FXApp::runModal()’ at FXApp.cpp:4092:56:
FXApp.cpp:329:16: warning: storing the address of local variable ‘inv’ in ‘((FX::FXInvocation**)this)[31]’ [-Wdangling-pointer=]
329 | *invocation=this;
| ~~~~~~~~~~~^~~~~
FXApp.cpp: In member function ‘FX::FXint FX::FXApp::runModal()’:
FXApp.cpp:4092:16: note: ‘inv’ declared here
4092 | FXInvocation inv(&invocation,MODAL_FOR_WINDOW,nullptr);
| ^~~
FXApp.cpp:4091:23: note: ‘this’ declared here
4091 | FXint FXApp::runModal(){
| ^
In constructor ‘FX::FXInvocation::FXInvocation(FX::FXInvocation**, FX::FXModality, FX::FXWindow*)’,
inlined from ‘FX::FXint FX::FXApp::runModalFor(FX::FXWindow*)’ at FXApp.cpp:4104:55:
FXApp.cpp:329:16: warning: storing the address of local variable ‘inv’ in ‘((FX::FXInvocation**)this)[31]’ [-Wdangling-pointer=]
329 | *invocation=this;
| ~~~~~~~~~~~^~~~~
FXApp.cpp: In member function ‘FX::FXint FX::FXApp::runModalFor(FX::FXWindow*)’:
FXApp.cpp:4104:16: note: ‘inv’ declared here
4104 | FXInvocation inv(&invocation,MODAL_FOR_WINDOW,window);
| ^~~
FXApp.cpp:4103:42: note: ‘this’ declared here
4103 | FXint FXApp::runModalFor(FXWindow* window){
| ^
In constructor ‘FX::FXInvocation::FXInvocation(FX::FXInvocation**, FX::FXModality, FX::FXWindow*)’,
inlined from ‘FX::FXint FX::FXApp::runModalWhileShown(FX::FXWindow*)’ at FXApp.cpp:4116:55:
FXApp.cpp:329:16: warning: storing the address of local variable ‘inv’ in ‘((FX::FXInvocation**)this)[31]’ [-Wdangling-pointer=]
329 | *invocation=this;
| ~~~~~~~~~~~^~~~~
FXApp.cpp: In member function ‘FX::FXint FX::FXApp::runModalWhileShown(FX::FXWindow*)’:
FXApp.cpp:4116:16: note: ‘inv’ declared here
4116 | FXInvocation inv(&invocation,MODAL_FOR_WINDOW,window);
| ^~~
FXApp.cpp:4115:49: note: ‘this’ declared here
4115 | FXint FXApp::runModalWhileShown(FXWindow* window){
| ^
In constructor ‘FX::FXInvocation::FXInvocation(FX::FXInvocation**, FX::FXModality, FX::FXWindow*)’,
inlined from ‘FX::FXint FX::FXApp::runPopup(FX::FXWindow*)’ at FXApp.cpp:4128:54:
FXApp.cpp:329:16: warning: storing the address of local variable ‘inv’ in ‘((FX::FXInvocation**)this)[31]’ [-Wdangling-pointer=]
329 | *invocation=this;
| ~~~~~~~~~~~^~~~~
FXApp.cpp: In member function ‘FX::FXint FX::FXApp::runPopup(FX::FXWindow*)’:
FXApp.cpp:4128:16: note: ‘inv’ declared here
4128 | FXInvocation inv(&invocation,MODAL_FOR_POPUP,window);
| ^~~
FXApp.cpp:4127:39: note: ‘this’ declared here
4127 | FXint FXApp::runPopup(FXWindow* window){
| ^
FXComposeContext.cpp: In member function ‘void FX::FXComposeContext::setSpot(FX::FXint, FX::FXint)’:
FXComposeContext.cpp:461:38: warning: unused parameter ‘x’ [-Wunused-parameter]
461 | void FXComposeContext::setSpot(FXint x,FXint y){
| ~~~~~~^
FXComposeContext.cpp:461:46: warning: unused parameter ‘y’ [-Wunused-parameter]
461 | void FXComposeContext::setSpot(FXint x,FXint y){
| ~~~~~~^
FXComposeContext.cpp: In member function ‘void FX::FXComposeContext::setArea(FX::FXint, FX::FXint, FX::FXint, FX::FXint)’:
FXComposeContext.cpp:477:38: warning: unused parameter ‘x’ [-Wunused-parameter]
477 | void FXComposeContext::setArea(FXint x,FXint y,FXint w,FXint h){
| ~~~~~~^
FXComposeContext.cpp:477:46: warning: unused parameter ‘y’ [-Wunused-parameter]
477 | void FXComposeContext::setArea(FXint x,FXint y,FXint w,FXint h){
| ~~~~~~^
FXComposeContext.cpp:477:54: warning: unused parameter ‘w’ [-Wunused-parameter]
477 | void FXComposeContext::setArea(FXint x,FXint y,FXint w,FXint h){
| ~~~~~~^
FXComposeContext.cpp:477:62: warning: unused parameter ‘h’ [-Wunused-parameter]
477 | void FXComposeContext::setArea(FXint x,FXint y,FXint w,FXint h){
| ~~~~~~^
FXComposeContext.cpp: In member function ‘FX::FXString FX::FXComposeContext::translateEvent(FX::FXRawEvent&)’:
FXComposeContext.cpp:495:55: warning: unused parameter ‘event’ [-Wunused-parameter]
495 | FXString FXComposeContext::translateEvent(FXRawEvent& event){
| ~~~~~~~~~~~~^~~~~
FXComposeContext.cpp: In static member function ‘static int FX::FXComposeContext::editStartCallback(void*, FX::FXComposeContext*, void*)’:
FXComposeContext.cpp:519:65: warning: unused parameter ‘cc’ [-Wunused-parameter]
519 | int FXComposeContext::editStartCallback(void*,FXComposeContext* cc,void*){
| ~~~~~~~~~~~~~~~~~~^~
FXComposeContext.cpp: In static member function ‘static void FX::FXComposeContext::editDoneCallback(void*, FX::FXComposeContext*, void*)’:
FXComposeContext.cpp:525:65: warning: unused parameter ‘cc’ [-Wunused-parameter]
525 | void FXComposeContext::editDoneCallback(void*,FXComposeContext* cc,void*){
| ~~~~~~~~~~~~~~~~~~^~
FXComposeContext.cpp: In static member function ‘static void FX::FXComposeContext::editDrawCallback(void*, FX::FXComposeContext*, void*)’:
FXComposeContext.cpp:530:65: warning: unused parameter ‘cc’ [-Wunused-parameter]
530 | void FXComposeContext::editDrawCallback(void*,FXComposeContext* cc,void* ptr){
| ~~~~~~~~~~~~~~~~~~^~
FXComposeContext.cpp:530:74: warning: unused parameter ‘ptr’ [-Wunused-parameter]
530 | void FXComposeContext::editDrawCallback(void*,FXComposeContext* cc,void* ptr){
| ~~~~~~^~~
FXComposeContext.cpp: In static member function ‘static void FX::FXComposeContext::editCaretCallback(void*, FX::FXComposeContext*, void*)’:
FXComposeContext.cpp:539:66: warning: unused parameter ‘cc’ [-Wunused-parameter]
539 | void FXComposeContext::editCaretCallback(void*,FXComposeContext* cc,void* ptr){
| ~~~~~~~~~~~~~~~~~~^~
FXComposeContext.cpp:539:75: warning: unused parameter ‘ptr’ [-Wunused-parameter]
539 | void FXComposeContext::editCaretCallback(void*,FXComposeContext* cc,void* ptr){
| ~~~~~~^~~
FXComposeContext.cpp: In static member function ‘static void FX::FXComposeContext::statusStartCallback(void*, FX::FXComposeContext*, void*)’:
FXComposeContext.cpp:547:68: warning: unused parameter ‘cc’ [-Wunused-parameter]
547 | void FXComposeContext::statusStartCallback(void*,FXComposeContext* cc,void*){
| ~~~~~~~~~~~~~~~~~~^~
FXComposeContext.cpp: In static member function ‘static void FX::FXComposeContext::statusDoneCallback(void*, FX::FXComposeContext*, void*)’:
FXComposeContext.cpp:552:67: warning: unused parameter ‘cc’ [-Wunused-parameter]
552 | void FXComposeContext::statusDoneCallback(void*,FXComposeContext* cc,void*){
| ~~~~~~~~~~~~~~~~~~^~
FXComposeContext.cpp: In static member function ‘static void FX::FXComposeContext::statusDrawCallback(void*, FX::FXComposeContext*, void*)’:
FXComposeContext.cpp:557:67: warning: unused parameter ‘cc’ [-Wunused-parameter]
557 | void FXComposeContext::statusDrawCallback(void*,FXComposeContext* cc,void* ptr){
| ~~~~~~~~~~~~~~~~~~^~
FXComposeContext.cpp:557:76: warning: unused parameter ‘ptr’ [-Wunused-parameter]
557 | void FXComposeContext::statusDrawCallback(void*,FXComposeContext* cc,void* ptr){
| ~~~~~~^~~
FXConsole.cpp: In member function ‘FX::FXuint FX::FXConsole::styleOf(FX::FXint, FX::FXint, FX::FXint, FX::FXint) const’:
FXConsole.cpp:216:33: warning: unused parameter ‘line’ [-Wunused-parameter]
216 | FXuint FXConsole::styleOf(FXint line,FXint index,FXint p,FXint c) const {
| ~~~~~~^~~~
FXConsole.cpp:216:64: warning: unused parameter ‘c’ [-Wunused-parameter]
216 | FXuint FXConsole::styleOf(FXint line,FXint index,FXint p,FXint c) const {
| ~~~~~~^
FXConsole.cpp: In member function ‘void FX::FXConsole::drawTextFragment(FX::FXDCWindow&, FX::FXint, FX::FXint, FX::FXint, FX::FXint, const FX::FXchar*, FX::FXint, FX::FXuint) const’:
FXConsole.cpp:255:111: warning: unused parameter ‘sty’ [-Wunused-parameter]
255 | void FXConsole::drawTextFragment(FXDCWindow& dc,FXint x,FXint y,FXint,FXint,const FXchar *text,FXint n,FXuint sty) const {
| ~~~~~~~^~~
FXDCWindow.cpp:2277:14: warning: ‘FX::FXint FX::utf2db(XChar2b*, const FXchar*, FXint)’ defined but not used [-Wunused-function]
2277 | static FXint utf2db(XChar2b *dst,const FXchar *src,FXint n){
| ^~~~~~
FXDCPrint.cpp: In member function ‘virtual void FX::FXDCPrint::drawText(FX::FXint, FX::FXint, const FX::FXchar*, FX::FXuint)’:
FXDCPrint.cpp:787:70: warning: unused parameter ‘len’ [-Wunused-parameter]
787 | void FXDCPrint::drawText(FXint x,FXint y,const FXchar* string,FXuint len){
| ~~~~~~~^~~
FXDockSite.cpp: In member function ‘virtual void FX::FXDockSite::resizeToolBar(FX::FXDockBar*, FX::FXint, FX::FXint, FX::FXint, FX::FXint)’:
FXDockSite.cpp:787:56: warning: variable ‘mbh’ set but not used [-Wunused-but-set-variable]
787 | FXint top,bottom,left,right,expand,require,w,h,mbw,mbh,t;
| ^~~
FXFileAssociations.cpp: In member function ‘virtual FX::FXFileAssoc* FX::FXFileAssociations::findExecBinding(const FX::FXString&)’:
FXFileAssociations.cpp:309:66: warning: unused parameter ‘pathname’ [-Wunused-parameter]
309 | FXFileAssoc* FXFileAssociations::findExecBinding(const FXString& pathname){
| ~~~~~~~~~~~~~~~~^~~~~~~~
FXFileProgressDialog.cpp: In member function ‘void FX::FXFileProgressDialog::setNumBytes(FX::FXlong)’:
FXFileProgressDialog.cpp:173:22: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
173 | string.format("%'lld",num);
| ~~~~^ ~~~
| | |
| | FX::FXlong {aka long int}
| long long int
| %'ld
FXFileProgressDialog.cpp: In member function ‘void FX::FXFileProgressDialog::setNumFiles(FX::FXlong)’:
FXFileProgressDialog.cpp:181:22: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
181 | string.format("%'lld",num);
| ~~~~^ ~~~
| | |
| | FX::FXlong {aka long int}
| long long int
| %'ld
FXFileList.cpp: In member function ‘FX::FXbool FX::FXFileList::listItems(FX::FXbool, FX::FXbool)’:
FXFileList.cpp:1566:39: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
1566 | label.format("%s\t%s\t%'lld\t%s\t%s\t%s\t%s\t%s",name.text(),extension.text(),newitem->size,modtm.text(),usrid.text(),grpid.text(),attrs.text(),lnknm.text());
| ~~~~^ ~~~~~~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %'ld
FXFileSelector.cpp: In member function ‘long int FX::FXFileSelector::onCmdItemDeselected(FX::FXObject*, FX::FXSelector, void*)’:
FXFileSelector.cpp:519:69: warning: unused parameter ‘ptr’ [-Wunused-parameter]
519 | long FXFileSelector::onCmdItemDeselected(FXObject*,FXSelector,void* ptr){
| ~~~~~~^~~
FXGLViewer.cpp: In member function ‘void FX::FXGLViewer::eyeToScreen(FX::FXint&, FX::FXint&, FX::FXVec3f)’:
FXGLViewer.cpp:1096:17: warning: implicit conversion from ‘FX::FXfloat’ {aka ‘float’} to ‘FX::FXdouble’ {aka ‘double’} to match other operand of binary expression [-Wdouble-promotion]
1096 | xp=-distance*e.x/e.z;
| ~~~~~~~~~^~~~
FXGLViewer.cpp:1096:21: warning: implicit conversion from ‘FX::FXfloat’ {aka ‘float’} to ‘FX::FXdouble’ {aka ‘double’} to match other operand of binary expression [-Wdouble-promotion]
1096 | xp=-distance*e.x/e.z;
| ~~~~~~~~~~~~~^~~~
FXGLViewer.cpp:1097:17: warning: implicit conversion from ‘FX::FXfloat’ {aka ‘float’} to ‘FX::FXdouble’ {aka ‘double’} to match other operand of binary expression [-Wdouble-promotion]
1097 | yp=-distance*e.y/e.z;
| ~~~~~~~~~^~~~
FXGLViewer.cpp:1097:21: warning: implicit conversion from ‘FX::FXfloat’ {aka ‘float’} to ‘FX::FXdouble’ {aka ‘double’} to match other operand of binary expression [-Wdouble-promotion]
1097 | yp=-distance*e.y/e.z;
| ~~~~~~~~~~~~~^~~~
FXGLViewer.cpp: In member function ‘FX::FXVec3f FX::FXGLViewer::screenToEye(FX::FXint, FX::FXint, FX::FXfloat)’:
FXGLViewer.cpp:1116:27: warning: implicit conversion from ‘FX::FXfloat’ {aka ‘float’} to ‘FX::FXdouble’ {aka ‘double’} to match other operand of binary expression [-Wdouble-promotion]
1116 | e.x=(FXfloat)(-eyez*xp/distance);
| ~~~~~~~~^~~~~~~~~
FXGLViewer.cpp:1117:27: warning: implicit conversion from ‘FX::FXfloat’ {aka ‘float’} to ‘FX::FXdouble’ {aka ‘double’} to match other operand of binary expression [-Wdouble-promotion]
1117 | e.y=(FXfloat)(-eyez*yp/distance);
| ~~~~~~~~^~~~~~~~~
FXGLViewer.cpp: In member function ‘long int FX::FXGLViewer::onMotion(FX::FXObject*, FX::FXSelector, void*)’:
FXGLViewer.cpp:1805:8: warning: variable ‘changed’ set but not used [-Wunused-but-set-variable]
1805 | long changed=(flags&FLAG_TIP)!=0;
| ^~~~~~~
FXGLViewer.cpp: In member function ‘long int FX::FXGLViewer::onSpaceBallMotion(FX::FXObject*, FX::FXSelector, void*)’:
FXGLViewer.cpp:1961:22: warning: implicit conversion from ‘FX::FXfloat’ {aka ‘float’} to ‘FX::FXdouble’ {aka ‘double’} to match other operand of binary expression [-Wdouble-promotion]
1961 | setZoom(getZoom()*Math::pow(2.0f,-0.0001f*curve(event->values[2],50.0f)));
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FXGLViewer.cpp: In member function ‘long int FX::FXGLViewer::onUpdRollPitchYaw(FX::FXObject*, FX::FXSelector, void*)’:
FXGLViewer.cpp:2369:20: warning: implicit conversion from ‘FX::FXfloat’ {aka ‘float’} to ‘FX::FXdouble’ {aka ‘double’} to match other operand of binary expression [-Wdouble-promotion]
2369 | FXdouble ang=RTOD*rpy[FXSELID(sel)-ID_ROLL];
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
FXGLViewer.cpp: In member function ‘FX::FXint FX::FXGLViewer::renderFeedback(FX::FXfloat*, FX::FXint, FX::FXint, FX::FXint, FX::FXint, FX::FXint)’:
FXGLViewer.cpp:2510:56: warning: unused parameter ‘x’ [-Wunused-parameter]
2510 | FXint FXGLViewer::renderFeedback(FXfloat *buffer,FXint x,FXint y,FXint w,FXint h,FXint maxbuffer){
| ~~~~~~^
FXGLViewer.cpp:2510:64: warning: unused parameter ‘y’ [-Wunused-parameter]
2510 | FXint FXGLViewer::renderFeedback(FXfloat *buffer,FXint x,FXint y,FXint w,FXint h,FXint maxbuffer){
| ~~~~~~^
FXGLViewer.cpp:2510:72: warning: unused parameter ‘w’ [-Wunused-parameter]
2510 | FXint FXGLViewer::renderFeedback(FXfloat *buffer,FXint x,FXint y,FXint w,FXint h,FXint maxbuffer){
| ~~~~~~^
FXGLViewer.cpp:2510:80: warning: unused parameter ‘h’ [-Wunused-parameter]
2510 | FXint FXGLViewer::renderFeedback(FXfloat *buffer,FXint x,FXint y,FXint w,FXint h,FXint maxbuffer){
| ~~~~~~^
FXGauge.cpp: In member function ‘void FX::FXGauge::drawPointer(FX::FXDCWindow&, FX::FXdouble, FX::FXint, FX::FXint, FX::FXint, FX::FXint, FX::FXint, FX::FXint, FX::FXint, FX::FXint, FX::FXint) const’:
FXGauge.cpp:337:61: warning: unused parameter ‘xx’ [-Wunused-parameter]
337 | void FXGauge::drawPointer(FXDCWindow& dc,FXdouble ang,FXint xx,FXint yy,FXint ww,FXint hh,FXint cx,FXint cy,FXint rx,FXint ry,FXint p) const {
| ~~~~~~^~
FXGauge.cpp:337:70: warning: unused parameter ‘yy’ [-Wunused-parameter]
337 | void FXGauge::drawPointer(FXDCWindow& dc,FXdouble ang,FXint xx,FXint yy,FXint ww,FXint hh,FXint cx,FXint cy,FXint rx,FXint ry,FXint p) const {
| ~~~~~~^~
FXGauge.cpp:337:79: warning: unused parameter ‘ww’ [-Wunused-parameter]
337 | void FXGauge::drawPointer(FXDCWindow& dc,FXdouble ang,FXint xx,FXint yy,FXint ww,FXint hh,FXint cx,FXint cy,FXint rx,FXint ry,FXint p) const {
| ~~~~~~^~
FXGauge.cpp:337:88: warning: unused parameter ‘hh’ [-Wunused-parameter]
337 | void FXGauge::drawPointer(FXDCWindow& dc,FXdouble ang,FXint xx,FXint yy,FXint ww,FXint hh,FXint cx,FXint cy,FXint rx,FXint ry,FXint p) const {
| ~~~~~~^~
FXGauge.cpp: In member function ‘void FX::FXGauge::drawGauge(FX::FXDCWindow&, FX::FXint, FX::FXint, FX::FXint, FX::FXint, FX::FXint, FX::FXint, FX::FXint, FX::FXint) const’:
FXGauge.cpp:351:12: warning: unused variable ‘ma’ [-Wunused-variable]
351 | FXdouble ma=(sa+ea)*0.5;
| ^~
FXGauge.cpp:346:46: warning: unused parameter ‘xx’ [-Wunused-parameter]
346 | void FXGauge::drawGauge(FXDCWindow& dc,FXint xx,FXint yy,FXint ww,FXint hh,FXint cx,FXint cy,FXint rx,FXint ry) const {
| ~~~~~~^~
FXGauge.cpp:346:55: warning: unused parameter ‘yy’ [-Wunused-parameter]
346 | void FXGauge::drawGauge(FXDCWindow& dc,FXint xx,FXint yy,FXint ww,FXint hh,FXint cx,FXint cy,FXint rx,FXint ry) const {
| ~~~~~~^~
FXGauge.cpp:346:64: warning: unused parameter ‘ww’ [-Wunused-parameter]
346 | void FXGauge::drawGauge(FXDCWindow& dc,FXint xx,FXint yy,FXint ww,FXint hh,FXint cx,FXint cy,FXint rx,FXint ry) const {
| ~~~~~~^~
FXGauge.cpp:346:73: warning: unused parameter ‘hh’ [-Wunused-parameter]
346 | void FXGauge::drawGauge(FXDCWindow& dc,FXint xx,FXint yy,FXint ww,FXint hh,FXint cx,FXint cy,FXint rx,FXint ry) const {
| ~~~~~~^~
FXPathBox.cpp: In member function ‘long int FX::FXPathBox::onLeftBtnPress(FX::FXObject*, FX::FXSelector, void*)’:
FXPathBox.cpp:609:12: warning: unused variable ‘event’ [-Wunused-variable]
609 | FXEvent* event=(FXEvent*)ptr;
| ^~~~~
FXPathBox.cpp: In member function ‘long int FX::FXPathBox::onLeftBtnRelease(FX::FXObject*, FX::FXSelector, void*)’:
FXPathBox.cpp:631:11: warning: variable ‘code’ set but not used [-Wunused-but-set-variable]
631 | FXint code,beg,end;
| ^~~~
FXPathBox.cpp: In member function ‘void FX::FXPathBox::setDirectory(const FX::FXString&, FX::FXbool)’:
FXPathBox.cpp:834:61: warning: unused parameter ‘notify’ [-Wunused-parameter]
834 | void FXPathBox::setDirectory(const FXString& newpath,FXbool notify){
| ~~~~~~~^~~~~~
FXPerformance.cpp: In destructor ‘FX::FXCounter::~FXCounter()’:
FXPerformance.cpp:81:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
81 | fxmessage("%-30.30s: avg:%'16lld min:%'16lld max:%'16lld tot:%'16lld cnt:%'12lld\n",name,avgticks,minticks,maxticks,totticks,counter);
| ~~~~~~^ ~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %'16ld
FXPerformance.cpp:81:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘long int’ [-Wformat=]
81 | fxmessage("%-30.30s: avg:%'16lld min:%'16lld max:%'16lld tot:%'16lld cnt:%'12lld\n",name,avgticks,minticks,maxticks,totticks,counter);
| ~~~~~~^ ~~~~~~~~
| | |
| long long int long int
| %'16ld
FXPerformance.cpp:81:60: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘long int’ [-Wformat=]
81 | fxmessage("%-30.30s: avg:%'16lld min:%'16lld max:%'16lld tot:%'16lld cnt:%'12lld\n",name,avgticks,minticks,maxticks,totticks,counter);
| ~~~~~~^ ~~~~~~~~
| | |
| long long int long int
| %'16ld
FXPerformance.cpp:81:72: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 6 has type ‘long int’ [-Wformat=]
81 | fxmessage("%-30.30s: avg:%'16lld min:%'16lld max:%'16lld tot:%'16lld cnt:%'12lld\n",name,avgticks,minticks,maxticks,totticks,counter);
| ~~~~~~^ ~~~~~~~~
| | |
| long long int long int
| %'16ld
FXPerformance.cpp:81:84: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 7 has type ‘long int’ [-Wformat=]
81 | fxmessage("%-30.30s: avg:%'16lld min:%'16lld max:%'16lld tot:%'16lld cnt:%'12lld\n",name,avgticks,minticks,maxticks,totticks,counter);
| ~~~~~~^ ~~~~~~~
| | |
| long long int long int
| %'12ld
FXSystemTimeParse.cpp:328:14: warning: ‘FX::FXint FX::day_of_week(FXint, FXint, FXint)’ defined but not used [-Wunused-function]
328 | static FXint day_of_week(FXint year,FXint month,FXint day){
| ^~~~~~~~~~~
FXText.cpp:2547:16: warning: ‘FX::FXchar* FX::replicatecolumns(FXchar*, FXchar*, const FXchar*, const FXchar*, FXint)’ defined but not used [-Wunused-function]
2547 | static FXchar* replicatecolumns(FXchar* dst,FXchar* dstend,const FXchar* src,const FXchar* srcend,FXint n){
| ^~~~~~~~~~~~~~~~
FXTranslator.cpp: In member function ‘virtual const FX::FXchar* FX::FXTranslator::tr(const FX::FXchar*, const FX::FXchar*, const FX::FXchar*, FX::FXint) const’:
FXTranslator.cpp:114:46: warning: unused parameter ‘context’ [-Wunused-parameter]
114 | const FXchar* FXTranslator::tr(const FXchar* context,const FXchar* message,const FXchar* hint,FXint count) const {
| ~~~~~~~~~~~~~~^~~~~~~
FXTranslator.cpp:114:90: warning: unused parameter ‘hint’ [-Wunused-parameter]
114 | const FXchar* FXTranslator::tr(const FXchar* context,const FXchar* message,const FXchar* hint,FXint count) const {
| ~~~~~~~~~~~~~~^~~~
FXTranslator.cpp:114:101: warning: unused parameter ‘count’ [-Wunused-parameter]
114 | const FXchar* FXTranslator::tr(const FXchar* context,const FXchar* message,const FXchar* hint,FXint count) const {
| ~~~~~~^~~~~
In file included from ../include/FX88591Codec.h:5,
from FXWindow.cpp:63:
../include/FXTextCodec.h:74:17: warning: ‘virtual FX::FXint FX::FXTextCodec::utf2mblen(const FX::FXString&) const’ was hidden [-Woverloaded-virtual=]
74 | virtual FXint utf2mblen(const FXString& src) const;
| ^~~~~~~~~
In file included from FXWindow.cpp:64:
../include/FXUTF16Codec.h:69:17: note: by ‘virtual FX::FXint FX::FXUTF16Codec::utf2mblen(const FX::FXchar*, FX::FXint) const’
69 | virtual FXint utf2mblen(const FXchar* src,FXint nsrc) const override;
| ^~~~~~~~~
FXXML.cpp: In member function ‘FX::FXXML::Error FX::FXXML::parsecdata(Element&)’:
FXXML.cpp:1402:41: warning: unused parameter ‘elm’ [-Wunused-parameter]
1402 | FXXML::Error FXXML::parsecdata(Element& elm){
| ~~~~~~~~~^~~
fxcompose.cpp:82:14: warning: ‘FX::FXint FX::composehangul(FXwchar*, FXint)’ defined but not used [-Wunused-function]
82 | static FXint composehangul(FXwchar *result,FXint len){
| ^~~~~~~~~~~~~
fxbmpio.cpp: In function ‘FX::FXbool FX::fxloadBMPBits(FXStream&, FXColor*&, FXint, FXint, RGBAPixel*, FXuint, FXuint)’:
fxbmpio.cpp:522:28: warning: ‘rmask’ may be used uninitialized [-Wmaybe-uninitialized]
522 | pix.r=(((wwww&rmask)>>rshift)*rmult)>>24;
| ~~~~~^~~~~~~
fxbmpio.cpp:249:14: note: ‘rmask’ was declared here
249 | FXuint rmask,gmask,bmask,amask;
| ^~~~~
fxbmpio.cpp:523:28: warning: ‘gmask’ may be used uninitialized [-Wmaybe-uninitialized]
523 | pix.g=(((wwww&gmask)>>gshift)*gmult)>>24;
| ~~~~~^~~~~~~
fxbmpio.cpp:249:20: note: ‘gmask’ was declared here
249 | FXuint rmask,gmask,bmask,amask;
| ^~~~~
fxbmpio.cpp:524:28: warning: ‘bmask’ may be used uninitialized [-Wmaybe-uninitialized]
524 | pix.b=(((wwww&bmask)>>bshift)*bmult)>>24;
| ~~~~~^~~~~~~
fxbmpio.cpp:249:26: note: ‘bmask’ was declared here
249 | FXuint rmask,gmask,bmask,amask;
| ^~~~~
fxbmpio.cpp:525:28: warning: ‘amask’ may be used uninitialized [-Wmaybe-uninitialized]
525 | pix.a=(((wwww&amask)>>ashift)*amult)>>24;
| ~~~~~^~~~~~~
fxbmpio.cpp:249:32: note: ‘amask’ was declared here
249 | FXuint rmask,gmask,bmask,amask;
| ^~~~~
fxbmpio.cpp:522:35: warning: ‘rshift’ may be used uninitialized [-Wmaybe-uninitialized]
522 | pix.r=(((wwww&rmask)>>rshift)*rmult)>>24;
| ~~~~~~~~~~~~~^~~~~~~~~
fxbmpio.cpp:250:14: note: ‘rshift’ was declared here
250 | FXuint rshift,gshift,bshift,ashift;
| ^~~~~~
fxbmpio.cpp:523:35: warning: ‘gshift’ may be used uninitialized [-Wmaybe-uninitialized]
523 | pix.g=(((wwww&gmask)>>gshift)*gmult)>>24;
| ~~~~~~~~~~~~~^~~~~~~~~
fxbmpio.cpp:250:21: note: ‘gshift’ was declared here
250 | FXuint rshift,gshift,bshift,ashift;
| ^~~~~~
fxbmpio.cpp:524:35: warning: ‘bshift’ may be used uninitialized [-Wmaybe-uninitialized]
524 | pix.b=(((wwww&bmask)>>bshift)*bmult)>>24;
| ~~~~~~~~~~~~~^~~~~~~~~
fxbmpio.cpp:250:28: note: ‘bshift’ was declared here
250 | FXuint rshift,gshift,bshift,ashift;
| ^~~~~~
fxbmpio.cpp:525:35: warning: ‘ashift’ may be used uninitialized [-Wmaybe-uninitialized]
525 | pix.a=(((wwww&amask)>>ashift)*amult)>>24;
| ~~~~~~~~~~~~~^~~~~~~~~
fxbmpio.cpp:250:35: note: ‘ashift’ was declared here
250 | FXuint rshift,gshift,bshift,ashift;
| ^~~~~~
fxbmpio.cpp:522:44: warning: ‘rmult’ may be used uninitialized [-Wmaybe-uninitialized]
522 | pix.r=(((wwww&rmask)>>rshift)*rmult)>>24;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
fxbmpio.cpp:251:14: note: ‘rmult’ was declared here
251 | FXuint rmult,gmult,bmult,amult;
| ^~~~~
fxbmpio.cpp:523:44: warning: ‘gmult’ may be used uninitialized [-Wmaybe-uninitialized]
523 | pix.g=(((wwww&gmask)>>gshift)*gmult)>>24;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
fxbmpio.cpp:251:20: note: ‘gmult’ was declared here
251 | FXuint rmult,gmult,bmult,amult;
| ^~~~~
fxbmpio.cpp:524:44: warning: ‘bmult’ may be used uninitialized [-Wmaybe-uninitialized]
524 | pix.b=(((wwww&bmask)>>bshift)*bmult)>>24;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
fxbmpio.cpp:251:26: note: ‘bmult’ was declared here
251 | FXuint rmult,gmult,bmult,amult;
| ^~~~~
fxbmpio.cpp:525:44: warning: ‘amult’ may be used uninitialized [-Wmaybe-uninitialized]
525 | pix.a=(((wwww&amask)>>ashift)*amult)>>24;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
fxbmpio.cpp:251:32: note: ‘amult’ was declared here
251 | FXuint rmult,gmult,bmult,amult;
| ^~~~~
fxezquantize.cpp: In function ‘FX::FXbool FX::fxezquantize(FXuchar*, const FXColor*, FXColor*, FXint&, FXint, FXint, FXint)’:
fxezquantize.cpp:81:17: warning: unused variable ‘ALPHA’ [-Wunused-variable]
81 | const FXColor ALPHA=FXRGBA(0,0,0,255); // Mask alpha channel
| ^~~~~
fxpngio.cpp: In member function ‘FX::FXbool FX::PNGDecoder::end(FX::FXStream&, FX::FXuint)’:
fxpngio.cpp:1600:47: warning: unused parameter ‘length’ [-Wunused-parameter]
1600 | FXbool PNGDecoder::end(FXStream& store,FXuint length){
| ~~~~~~~^~~~~~
In file included from ../include/FXKOI8RCodec.h:5,
from codecs.cpp:13:
../include/FXTextCodec.h:74:17: warning: ‘virtual FX::FXint FX::FXTextCodec::utf2mblen(const FX::FXString&) const’ was hidden [-Woverloaded-virtual=]
74 | virtual FXint utf2mblen(const FXString& src) const;
| ^~~~~~~~~
In file included from codecs.cpp:15:
../include/FXUTF16Codec.h:69:17: note: by ‘virtual FX::FXint FX::FXUTF16Codec::utf2mblen(const FX::FXchar*, FX::FXint) const’
69 | virtual FXint utf2mblen(const FXchar* src,FXint nsrc) const override;
| ^~~~~~~~~
../include/FXTextCodec.h:74:17: warning: ‘virtual FX::FXint FX::FXTextCodec::utf2mblen(const FX::FXString&) const’ was hidden [-Woverloaded-virtual=]
74 | virtual FXint utf2mblen(const FXString& src) const;
| ^~~~~~~~~
In file included from codecs.cpp:16:
../include/FXUTF32Codec.h:70:17: note: by ‘virtual FX::FXint FX::FXUTF32Codec::utf2mblen(const FX::FXchar*, FX::FXint) const’
70 | virtual FXint utf2mblen(const FXchar* src,FXint nsrc) const override;
| ^~~~~~~~~
In file included from ../include/fx.h:50,
from codecs.cpp:8:
In function ‘FX::FXwchar FX::wcprv(const FXchar*&)’,
inlined from ‘int main(int, char**)’ at codecs.cpp:312:13:
../include/fxchar.h:110:30: warning: array subscript -1 is outside array bounds of ‘FX::FXchar [1024]’ {aka ‘char [1024]’} [-Warray-bounds=]
110 | if(0x80<=w){ w = ((FXuchar)*--ptr<<6) ^ w ^ 0x3080;
| ^~~~~~
codecs.cpp: In function ‘int main(int, char**)’:
codecs.cpp:141:16: note: at offset -1 into object ‘buffer’ of size 1024
141 | static FXchar buffer[1024];
| ^~~~~~
In function ‘FX::FXwchar FX::wcprv(const FXchar*&)’,
inlined from ‘int main(int, char**)’ at codecs.cpp:312:13:
../include/fxchar.h:111:32: warning: array subscript -2 is outside array bounds of ‘FX::FXchar [1024]’ {aka ‘char [1024]’} [-Warray-bounds=]
111 | if(0x1000<=w){ w = ((FXuchar)*--ptr<<12) ^ w ^ 0xE1000;
| ^~~~~~
codecs.cpp: In function ‘int main(int, char**)’:
codecs.cpp:141:16: note: at offset -2 into object ‘buffer’ of size 1024
141 | static FXchar buffer[1024];
| ^~~~~~
In function ‘FX::FXwchar FX::wcprv(const FXchar*&)’,
inlined from ‘int main(int, char**)’ at codecs.cpp:312:13:
../include/fxchar.h:112:33: warning: array subscript -3 is outside array bounds of ‘FX::FXchar [1024]’ {aka ‘char [1024]’} [-Warray-bounds=]
112 | if(0x20000<=w){ w = ((FXuchar)*--ptr<<18) ^ w ^ 0x3C60000; }}}
| ^~~~~~
codecs.cpp: In function ‘int main(int, char**)’:
codecs.cpp:141:16: note: at offset -3 into object ‘buffer’ of size 1024
141 | static FXchar buffer[1024];
| ^~~~~~
In function ‘FX::FXwchar FX::wcprv(const FXchar*&)’,
inlined from ‘int main(int, char**)’ at codecs.cpp:303:13:
../include/fxchar.h:111:32: warning: array subscript -1 is outside array bounds of ‘FX::FXchar [1024]’ {aka ‘char [1024]’} [-Warray-bounds=]
111 | if(0x1000<=w){ w = ((FXuchar)*--ptr<<12) ^ w ^ 0xE1000;
| ^~~~~~
codecs.cpp: In function ‘int main(int, char**)’:
codecs.cpp:141:16: note: at offset -1 into object ‘buffer’ of size 1024
141 | static FXchar buffer[1024];
| ^~~~~~
In function ‘FX::FXwchar FX::wcprv(const FXchar*&)’,
inlined from ‘int main(int, char**)’ at codecs.cpp:303:13:
../include/fxchar.h:112:33: warning: array subscript -2 is outside array bounds of ‘FX::FXchar [1024]’ {aka ‘char [1024]’} [-Warray-bounds=]
112 | if(0x20000<=w){ w = ((FXuchar)*--ptr<<18) ^ w ^ 0x3C60000; }}}
| ^~~~~~
codecs.cpp: In function ‘int main(int, char**)’:
codecs.cpp:141:16: note: at offset -2 into object ‘buffer’ of size 1024
141 | static FXchar buffer[1024];
| ^~~~~~
In function ‘FX::FXwchar FX::wcprv(const FXchar*&)’,
inlined from ‘int main(int, char**)’ at codecs.cpp:294:13:
../include/fxchar.h:112:33: warning: array subscript -1 is outside array bounds of ‘FX::FXchar [1024]’ {aka ‘char [1024]’} [-Warray-bounds=]
112 | if(0x20000<=w){ w = ((FXuchar)*--ptr<<18) ^ w ^ 0x3C60000; }}}
| ^~~~~~
codecs.cpp: In function ‘int main(int, char**)’:
codecs.cpp:141:16: note: at offset -1 into object ‘buffer’ of size 1024
141 | static FXchar buffer[1024];
| ^~~~~~
dictest.cpp: In function ‘int main(int, char**)’:
dictest.cpp:45:26: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
45 | printf("insertions: %lld avg: %lld max: %lld\n",ins,tot/ins,max);
| ~~~^ ~~~
| | |
| long long int FX::FXTime {aka long int}
| %ld
dictest.cpp:45:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
45 | printf("insertions: %lld avg: %lld max: %lld\n",ins,tot/ins,max);
| ~~~^ ~~~~~~~
| | |
| long long int FX::FXTime {aka long int}
| %ld
dictest.cpp:45:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
45 | printf("insertions: %lld avg: %lld max: %lld\n",ins,tot/ins,max);
| ~~~^ ~~~
| | |
| long long int FX::FXTime {aka long int}
| %ld
dictest.cpp:65:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
65 | printf("Lookups: %lld avg: %lld max: %lld\n",ins,tot/ins,max);
| ~~~^ ~~~
| | |
| long long int FX::FXTime {aka long int}
| %ld
dictest.cpp:65:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
65 | printf("Lookups: %lld avg: %lld max: %lld\n",ins,tot/ins,max);
| ~~~^ ~~~~~~~
| | |
| long long int FX::FXTime {aka long int}
| %ld
dictest.cpp:65:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
65 | printf("Lookups: %lld avg: %lld max: %lld\n",ins,tot/ins,max);
| ~~~^ ~~~
| | |
| long long int FX::FXTime {aka long int}
| %ld
dictest.cpp:84:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
84 | printf("Removes: %lld avg: %lld max: %lld\n",ins,tot/ins,max);
| ~~~^ ~~~
| | |
| long long int FX::FXTime {aka long int}
| %ld
dictest.cpp:84:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
84 | printf("Removes: %lld avg: %lld max: %lld\n",ins,tot/ins,max);
| ~~~^ ~~~~~~~
| | |
| long long int FX::FXTime {aka long int}
| %ld
dictest.cpp:84:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
84 | printf("Removes: %lld avg: %lld max: %lld\n",ins,tot/ins,max);
| ~~~^ ~~~
| | |
| long long int FX::FXTime {aka long int}
| %ld
dictest.cpp:85:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘FX::FXival’ {aka ‘long int’} [-Wformat=]
85 | printf("no=%d used=%d\n",dict.no(),dict.no());
| ~^ ~~~~~~~~~
| | |
| int FX::FXival {aka long int}
| %ld
dictest.cpp:85:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘FX::FXival’ {aka ‘long int’} [-Wformat=]
85 | printf("no=%d used=%d\n",dict.no(),dict.no());
| ~^ ~~~~~~~~~
| | |
| int FX::FXival {aka long int}
| %ld
format.cpp: In function ‘int main(int, char**)’:
format.cpp:193:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
193 | fxmessage("clz64(0x123456789ABCDEF0) = %lld\n",clz64(FXULONG(0x123456789ABCDEF0))); // 3
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:194:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
194 | fxmessage("clz64(0x0123456789ABCDEF) = %lld\n",clz64(FXULONG(0x0123456789ABCDEF))); // 7
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:195:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
195 | fxmessage("clz64(0x00123456789ABCDE) = %lld\n",clz64(FXULONG(0x00123456789ABCDE))); // 11
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:196:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
196 | fxmessage("clz64(0x000123456789ABCD) = %lld\n",clz64(FXULONG(0x000123456789ABCD))); // 15
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:197:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
197 | fxmessage("clz64(0x0000123456789ABC) = %lld\n",clz64(FXULONG(0x0000123456789ABC))); // 19
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:198:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
198 | fxmessage("clz64(0x00000123456789AB) = %lld\n",clz64(FXULONG(0x00000123456789AB))); // 23
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:199:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
199 | fxmessage("clz64(0x000000123456789A) = %lld\n",clz64(FXULONG(0x000000123456789A))); // 27
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:200:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
200 | fxmessage("clz64(0x0000000123456789) = %lld\n",clz64(FXULONG(0x0000000123456789))); // 31
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:201:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
201 | fxmessage("clz64(0x0000000012345678) = %lld\n",clz64(FXULONG(0x0000000012345678))); // 35
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:202:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
202 | fxmessage("clz64(0x0000000001234567) = %lld\n",clz64(FXULONG(0x0000000001234567))); // 39
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:203:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
203 | fxmessage("clz64(0x0000000000123456) = %lld\n",clz64(FXULONG(0x0000000000123456))); // 43
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:204:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
204 | fxmessage("clz64(0x0000000000012345) = %lld\n",clz64(FXULONG(0x0000000000012345))); // 47
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:205:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
205 | fxmessage("clz64(0x0000000000001234) = %lld\n",clz64(FXULONG(0x0000000000001234))); // 51
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:206:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
206 | fxmessage("clz64(0x0000000000000123) = %lld\n",clz64(FXULONG(0x0000000000000123))); // 55
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:207:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
207 | fxmessage("clz64(0x0000000000000012) = %lld\n",clz64(FXULONG(0x0000000000000012))); // 59
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:208:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
208 | fxmessage("clz64(0x0000000000000001) = %lld\n",clz64(FXULONG(0x0000000000000001))); // 63
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:221:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
221 | fxmessage("ctz64(0x8FEDCBA987654321) = %lld\n",ctz64(FXULONG(0x8FEDCBA987654321))); // 0
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:222:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
222 | fxmessage("ctz64(0x8FEDCBA987654320) = %lld\n",ctz64(FXULONG(0x8FEDCBA987654320))); // 5
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:223:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
223 | fxmessage("ctz64(0x8FEDCBA987654300) = %lld\n",ctz64(FXULONG(0x8FEDCBA987654300))); // 8
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:224:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
224 | fxmessage("ctz64(0x8FEDCBA987654000) = %lld\n",ctz64(FXULONG(0x8FEDCBA987654000))); // 14
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:225:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
225 | fxmessage("ctz64(0x8FEDCBA987650000) = %lld\n",ctz64(FXULONG(0x8FEDCBA987650000))); // 16
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:226:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
226 | fxmessage("ctz64(0x8FEDCBA987600000) = %lld\n",ctz64(FXULONG(0x8FEDCBA987600000))); // 21
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:227:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
227 | fxmessage("ctz64(0x8FEDCBA987000000) = %lld\n",ctz64(FXULONG(0x8FEDCBA987000000))); // 24
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:228:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
228 | fxmessage("ctz64(0x8FEDCBA980000000) = %lld\n",ctz64(FXULONG(0x8FEDCBA980000000))); // 31
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:229:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
229 | fxmessage("ctz64(0x8FEDCBA900000000) = %lld\n",ctz64(FXULONG(0x8FEDCBA900000000))); // 32
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:230:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
230 | fxmessage("ctz64(0x8FEDCBA000000000) = %lld\n",ctz64(FXULONG(0x8FEDCBA000000000))); // 37
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:231:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
231 | fxmessage("ctz64(0x8FEDCB0000000000) = %lld\n",ctz64(FXULONG(0x8FEDCB0000000000))); // 40
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:232:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
232 | fxmessage("ctz64(0x8FEDC00000000000) = %lld\n",ctz64(FXULONG(0x8FEDC00000000000))); // 46
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:233:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
233 | fxmessage("ctz64(0x8FED000000000000) = %lld\n",ctz64(FXULONG(0x8FED000000000000))); // 48
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:234:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
234 | fxmessage("ctz64(0x8FE0000000000000) = %lld\n",ctz64(FXULONG(0x8FE0000000000000))); // 53
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:235:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
235 | fxmessage("ctz64(0x8F00000000000000) = %lld\n",ctz64(FXULONG(0x8F00000000000000))); // 56
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:236:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
236 | fxmessage("ctz64(0x8000000000000000) = %lld\n",ctz64(FXULONG(0x8000000000000000))); // 63
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
format.cpp:240:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
240 | fxmessage("ctz64(0x123456789ABCDEF0) = %lld\n", pop64(FXULONG(0x123456789ABCDEF0))); // 32
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long int
| %ld
gaugetest.cpp: In function ‘int main(int, char**)’:
gaugetest.cpp:128:16: warning: unused variable ‘window’ [-Wunused-variable]
128 | GaugeWindow* window=new GaugeWindow(&application);
| ^~~~~~
groupbox.cpp: In member function ‘long int GroupWindow::onCmdChoice(FX::FXObject*, FX::FXSelector, void*)’:
groupbox.cpp:632:9: warning: unused variable ‘result’ [-Wunused-variable]
632 | FXint result=FXChoiceBox::ask(this,DECOR_RESIZE,"Choose","What is your choice?",&choiceicon,"One\nTwo\nThree\nFour\nFive\nSix\nSeven\nOne very very very very very long entry");
| ^~~~~~
groupbox.cpp: In member function ‘long int GroupWindow::onCmdListBox(FX::FXObject*, FX::FXSelector, void*)’:
groupbox.cpp:639:53: warning: unused parameter ‘sel’ [-Wunused-parameter]
639 | long GroupWindow::onCmdListBox(FXObject*,FXSelector sel,void* ptr){
| ~~~~~~~~~~~^~~
groupbox.cpp:639:63: warning: unused parameter ‘ptr’ [-Wunused-parameter]
639 | long GroupWindow::onCmdListBox(FXObject*,FXSelector sel,void* ptr){
| ~~~~~~^~~
scan.cpp: In function ‘int main(int, char**)’:
scan.cpp:264:58: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
264 | snprintf(buf,sizeof(buf),"strtod=%- 30.18lg (0x%016llx %- 5lld) __strtod=%- 30.18lg (0x%016llx %- 5lld) __sscanf=%-30.18lg (0x%016llx %- 5lld) input=%s",da,Math::fpMantissa(da),((Math::fpBits(da)>>52)&0x7ff),db,Math::fpMantissa(db),((Math::fpBits(db)>>52)&0x7ff),dc,Math::fpMantissa(dc),((Math::fpBits(dc)>>52)&0x7ff),floatnumbers[y]);
| ~~~~~~^ ~~~~~~~~~~~~~~~~~~~~
| | |
| long long unsigned int FX::FXlong {aka long int}
| %016lx
scan.cpp:264:66: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 6 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
264 | snprintf(buf,sizeof(buf),"strtod=%- 30.18lg (0x%016llx %- 5lld) __strtod=%- 30.18lg (0x%016llx %- 5lld) __sscanf=%-30.18lg (0x%016llx %- 5lld) input=%s",da,Math::fpMantissa(da),((Math::fpBits(da)>>52)&0x7ff),db,Math::fpMantissa(db),((Math::fpBits(db)>>52)&0x7ff),dc,Math::fpMantissa(dc),((Math::fpBits(dc)>>52)&0x7ff),floatnumbers[y]);
| ~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| long long int FX::FXulong {aka long unsigned int}
| %- 5ld
scan.cpp:264:98: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
264 | snprintf(buf,sizeof(buf),"strtod=%- 30.18lg (0x%016llx %- 5lld) __strtod=%- 30.18lg (0x%016llx %- 5lld) __sscanf=%-30.18lg (0x%016llx %- 5lld) input=%s",da,Math::fpMantissa(da),((Math::fpBits(da)>>52)&0x7ff),db,Math::fpMantissa(db),((Math::fpBits(db)>>52)&0x7ff),dc,Math::fpMantissa(dc),((Math::fpBits(dc)>>52)&0x7ff),floatnumbers[y]);
| ~~~~~~^ ~~~~~~~~~~~~~~~~~~~~
| | |
| long long unsigned int FX::FXlong {aka long int}
| %016lx
scan.cpp:264:106: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 9 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
264 | snprintf(buf,sizeof(buf),"strtod=%- 30.18lg (0x%016llx %- 5lld) __strtod=%- 30.18lg (0x%016llx %- 5lld) __sscanf=%-30.18lg (0x%016llx %- 5lld) input=%s",da,Math::fpMantissa(da),((Math::fpBits(da)>>52)&0x7ff),db,Math::fpMantissa(db),((Math::fpBits(db)>>52)&0x7ff),dc,Math::fpMantissa(dc),((Math::fpBits(dc)>>52)&0x7ff),floatnumbers[y]);
| ~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| long long int FX::FXulong {aka long unsigned int}
| %- 5ld
scan.cpp:264:138: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 11 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
264 | snprintf(buf,sizeof(buf),"strtod=%- 30.18lg (0x%016llx %- 5lld) __strtod=%- 30.18lg (0x%016llx %- 5lld) __sscanf=%-30.18lg (0x%016llx %- 5lld) input=%s",da,Math::fpMantissa(da),((Math::fpBits(da)>>52)&0x7ff),db,Math::fpMantissa(db),((Math::fpBits(db)>>52)&0x7ff),dc,Math::fpMantissa(dc),((Math::fpBits(dc)>>52)&0x7ff),floatnumbers[y]);
| ~~~~~~^ ~~~~~~~~~~~~~~~~~~~~
| | |
| long long unsigned int FX::FXlong {aka long int}
| %016lx
scan.cpp:264:146: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 12 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
264 | snprintf(buf,sizeof(buf),"strtod=%- 30.18lg (0x%016llx %- 5lld) __strtod=%- 30.18lg (0x%016llx %- 5lld) __sscanf=%-30.18lg (0x%016llx %- 5lld) input=%s",da,Math::fpMantissa(da),((Math::fpBits(da)>>52)&0x7ff),db,Math::fpMantissa(db),((Math::fpBits(db)>>52)&0x7ff),dc,Math::fpMantissa(dc),((Math::fpBits(dc)>>52)&0x7ff),floatnumbers[y]);
| ~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| long long int FX::FXulong {aka long unsigned int}
| %- 5ld
scan.cpp:274:126: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 11 has type ‘FX::FXint’ {aka ‘int’} [-Wformat=]
274 | snprintf(buf,sizeof(buf),"strtof=%- 30.18lg (0x%08x %- 5d) __strtof=%- 30.18lg (0x%08x %- 5d) __sscanf=%-30.18lg (0x%08lx %- 5d) input=%s",(FXdouble)fa,Math::fpMantissa(fa),((Math::fpBits(fa)>>23)&0xff),(FXdouble)fb,Math::fpMantissa(fb),((Math::fpBits(fb)>>23)&0xff),(FXdouble)fc,Math::fpMantissa(fc),((Math::fpBits(fc)>>23)&0xff),floatnumbers[y]);
| ~~~~^ ~~~~~~~~~~~~~~~~~~~~
| | |
| long unsigned int FX::FXint {aka int}
| %08x
table.cpp: In member function ‘long int TableWindow::onTableSelected(FX::FXObject*, FX::FXSelector, void*)’:
table.cpp:307:15: warning: unused variable ‘tp’ [-Wunused-variable]
307 | FXTablePos *tp=(FXTablePos*)ptr;
| ^~
table.cpp: In member function ‘long int TableWindow::onTableDeselected(FX::FXObject*, FX::FXSelector, void*)’:
table.cpp:314:15: warning: unused variable ‘tp’ [-Wunused-variable]
314 | FXTablePos *tp=(FXTablePos*)ptr;
| ^~
table.cpp: In member function ‘long int TableWindow::onTableInserted(FX::FXObject*, FX::FXSelector, void*)’:
table.cpp:321:17: warning: unused variable ‘range’ [-Wunused-variable]
321 | FXTableRange *range=(FXTableRange*)ptr;
| ^~~~~
table.cpp: In member function ‘long int TableWindow::onTableDeleted(FX::FXObject*, FX::FXSelector, void*)’:
table.cpp:328:17: warning: unused variable ‘range’ [-Wunused-variable]
328 | FXTableRange *range=(FXTableRange*)ptr;
| ^~~~~
table.cpp: In member function ‘long int TableWindow::onTableChanged(FX::FXObject*, FX::FXSelector, void*)’:
table.cpp:335:15: warning: unused variable ‘tp’ [-Wunused-variable]
335 | FXTablePos *tp=(FXTablePos*)ptr;
| ^~
table.cpp: In member function ‘long int TableWindow::onTableReplaced(FX::FXObject*, FX::FXSelector, void*)’:
table.cpp:343:17: warning: unused variable ‘range’ [-Wunused-variable]
343 | FXTableRange *range=(FXTableRange*)ptr;
| ^~~~~
thread.cpp: In member function ‘virtual FX::FXint Producer::run()’:
thread.cpp:64:41: warning: format ‘%llb’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
64 | fxmessage("producer start on cpus: %llb\n",affinity());
| ~~~^ ~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long unsigned int
| %lb
timefmt.cpp: In function ‘int main(int, char**)’:
timefmt.cpp:279:25: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
279 | fxmessage("ct0=%'-16lld\n",ct0);
| ~~~~~~~^ ~~~
| | |
| | FX::FXTime {aka long int}
| long long int
| %'-16ld
timefmt.cpp:280:25: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
280 | fxmessage("ct1=%'-16lld\n",ct1);
| ~~~~~~~^ ~~~
| | |
| | FX::FXTime {aka long int}
| long long int
| %'-16ld
timefmt.cpp:283:24: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
283 | fxmessage("tzoff=%'lld\n",tzoff);
| ~~~~^ ~~~~~
| | |
| | FX::FXTime {aka long int}
| long long int
| %'ld
timefmt.cpp:284:24: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
284 | fxmessage("dsoff=%'lld\n",dsoff);
| ~~~~^ ~~~~~
| | |
| | FX::FXTime {aka long int}
| long long int
| %'ld
timefmt.cpp:322:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘long int’ [-Wformat=]
322 | fxmessage("time=%'-16lld\n",timevalues[y]);
| ~~~~~~~^ ~~~~~~~~~~~~~
| | |
| long long int long int
| %'-16ld
timefmt.cpp:352:86: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 12 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
352 | fxmessage("%04d/%02d/%02d %02d:%02d:%02d.%09d (wday=%1d yday=%03d gmt=%6d z=%lld)\n",st.year,st.month,st.mday,st.hour,st.min,st.sec,st.nano,st.wday,st.yday,st.offset,z);
| ~~~^ ~
| | |
| long long int FX::FXTime {aka long int}
| %ld
timefmt.cpp:371:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘FX::FXTime’ {aka ‘long int’} [-Wformat=]
371 | fxmessage("date=%s dst=%lld\n",string.text(),FXSystem::daylightSavingsActive(z));
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| long long int FX::FXTime {aka long int}
| %ld
units.cpp: In function ‘int main(int, char**)’:
units.cpp:112:40: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
112 | fxmessage("dimensions(%s) = 0x%llx\n",argv[arg],dims);
| ~~~^ ~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long unsigned int
| %lx
xml.cpp: In function ‘int main(int, char**)’:
xml.cpp:228:26: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
228 | fxmessage("Loaded %lld bytes\n",xmlinput.getOffset());
| ~~~^ ~~~~~~~~~~~~~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %ld
xml.cpp:240:26: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
240 | fxmessage("Stored %lld bytes\n",xmloutput.getOffset());
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %ld
variant.cpp: In function ‘int main(int, char**)’:
variant.cpp:189:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
189 | fxmessage("Loaded %lld bytes, %d lines\n",json.getOffset(),json.getLine());
| ~~~^ ~~~~~~~~~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %ld
variant.cpp:208:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
208 | fxmessage("Loaded %lld bytes\n",ini.getOffset());
| ~~~^ ~~~~~~~~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %ld
variant.cpp:246:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
246 | fxmessage("Stored %lld bytes, %d lines\n",json.getOffset(),json.getLine());
| ~~~^ ~~~~~~~~~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %ld
variant.cpp:265:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
265 | fxmessage("Stored %lld bytes, %d lines\n",ini.getOffset(),ini.getLine());
| ~~~^ ~~~~~~~~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %ld
variant.cpp:46:10: warning: unused variable ‘ok’ [-Wunused-variable]
46 | FXbool ok=true;
| ^~
Adie.cpp: In member function ‘FX::FXint Adie::start(int, char**)’:
Adie.cpp:489:15: warning: unused variable ‘back’ [-Wunused-variable]
489 | FXbool back=false;
| ^~~~
ReplaceInFiles.cpp: In member function ‘void ReplaceInFiles::readRegistry()’:
ReplaceInFiles.cpp:335:19: warning: comparison of integer expressions of different signedness: ‘FX::FXint’ {aka ‘int’} and ‘long unsigned int’ [-Wsign-compare]
335 | for(FXint i=0; igetSelStartPos();
| ^~
TextWindow.cpp:3632:11: warning: unused variable ‘ep’ [-Wunused-variable]
3632 | FXint ep=shellCommand->getSelEndPos();
| ^~
TextWindow.cpp:3633:11: warning: unused variable ‘sc’ [-Wunused-variable]
3633 | FXint sc=shellCommand->getSelStartColumn();
| ^~
TextWindow.cpp:3634:11: warning: unused variable ‘ec’ [-Wunused-variable]
3634 | FXint ec=shellCommand->getSelEndColumn();
| ^~
TextWindow.cpp: In member function ‘void TextWindow::restyleText(FX::FXint, FX::FXint, FX::FXint)’:
TextWindow.cpp:5703:46: warning: unused parameter ‘del’ [-Wunused-parameter]
5703 | void TextWindow::restyleText(FXint pos,FXint del,FXint ins){
| ~~~~~~^~~
PathFinder.cpp: In member function ‘long int PathFinderMain::onUpdDiskSpace(FX::FXObject*, FX::FXSelector, void*)’:
PathFinder.cpp:1520:29: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
1520 | space.format("Free: %'llu / Total: %'llu Bytes",availspace,totalspace);
| ~~~~^ ~~~~~~~~~~
| | |
| long long unsigned int FX::FXulong {aka long unsigned int}
| %'lu
PathFinder.cpp:1520:44: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘FX::FXulong’ {aka ‘long unsigned int’} [-Wformat=]
1520 | space.format("Free: %'llu / Total: %'llu Bytes",availspace,totalspace);
| ~~~~^ ~~~~~~~~~~
| | |
| | FX::FXulong {aka long unsigned int}
| long long unsigned int
| %'lu
PathFinder.cpp: In member function ‘long int PathFinderMain::onUpdStatusline(FX::FXObject*, FX::FXSelector, void*)’:
PathFinder.cpp:1547:47: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
1547 | info.format(tr("File \"%s\" [%s] (%'lld bytes)."),filelist->getItemFilename(currentitem).text(),filelist->getItemText(currentitem).section('\t',1).text(),filelist->getItemSize(currentitem));
| ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %'ld
PathFinder.cpp:1552:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
1552 | info.format(tr("Selected %d items (%'lld bytes)."),selectedCount,selectedSpace);
| ~~~~^ ~~~~~~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %'ld
PathFinder.cpp:1555:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
1555 | info.format(tr("Total %d items (%'lld bytes)."),totalCount,totalSpace);
| ~~~~^ ~~~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %'ld
PathFinder.cpp: In member function ‘long int PathFinderMain::onUpdFileSize(FX::FXObject*, FX::FXSelector, void*)’:
PathFinder.cpp:1996:20: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘FX::FXlong’ {aka ‘long int’} [-Wformat=]
1996 | size.format("%'lld",FXStat::size(filelist->getCurrentFile()));
| ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| long long int FX::FXlong {aka long int}
| %'ld
libtool: warning: remember to run 'libtool --finish /usr/lib'
libtool: warning: relinking 'libCHART-1.7.la'
libtool: warning: remember to run 'libtool --finish /usr/lib'
libtool: warning: '../lib/libFOX-1.7.la' has not been installed in '/usr/lib'
libtool: warning: '../lib/libFOX-1.7.la' has not been installed in '/usr/lib'
libtool: warning: '../lib/libFOX-1.7.la' has not been installed in '/usr/lib'
libtool: warning: '../lib/libFOX-1.7.la' has not been installed in '/usr/lib'
libtool: warning: '../lib/libFOX-1.7.la' has not been installed in '/usr/lib'