Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- math.cpp:131:23: error: '::exp10' has not been declared
- {Math::exp10, ::exp10},
- ^~~~~
- math.cpp:131:23: note: suggested alternative:
- In file included from ../include/fx.h:36:0,
- from math.cpp:8:
- ../include/fxmath.h:943:24: note: 'FX::Math::exp10'
- static inline FXdouble exp10(FXdouble x){
- ^~~~~
- math.cpp:154:23: error: '::exp10f' has not been declared
- {Math::exp10, ::exp10f},
- ^~~~~~
- math.cpp:154:23: note: suggested alternative: 'expm1f'
- {Math::exp10, ::exp10f},
- ^~~~~~
- expm1f
- math.cpp: In function 'void printDP(FX::FXdouble)':
- math.cpp:231:174: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'FX::FXulong {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr,"0x%016lx (%c)(% 4ld(%4ld))(0x%013lx) -> %+.17lg\n",Math::fpBits(x),sign[Math::fpSign(x)],Math::fpExponent(x)-1023,Math::fpExponent(x),Math::fpMantissa(x),x);
- ~~~~~~~~~~~~~~~ ^
- math.cpp:231:174: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'FX::FXulong {aka long long unsigned int}' [-Wformat=]
- math.cpp:231:174: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'FX::FXulong {aka long long unsigned int}' [-Wformat=]
- math.cpp:231:174: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'FX::FXulong {aka long long unsigned int}' [-Wformat=]
- math.cpp: In function 'void report(const DPAccuracy&, const char*)':
- math.cpp:252:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'FX::FXulong {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr,"total: %ld\n",acc.errcount);
- ~~~~~~~~~~~~^
- math.cpp: In function 'void report(const SPAccuracy&, const char*)':
- math.cpp:267:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'FX::FXulong {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr,"total: %ld\n",acc.errcount);
- ~~~~~~~~~~~~^
- math.cpp: In function 'void testFloatDenorm(SPAccuracy&, FLTFUN1, FLTFUN1, FX::FXulong)':
- math.cpp:348:68: warning: unused parameter 'cov' [-Wunused-parameter]
- void testFloatDenorm(SPAccuracy& acc,FLTFUN1 tf,FLTFUN1 rf,FXulong cov){
- ^~~
- math.cpp: In function 'int main(int, char**)':
- math.cpp:493:26: error: 'exp10' was not declared in this scope
- testDouble(Math::exp10,exp10,"exp10");
- ^~~~~
- math.cpp:493:26: note: suggested alternative:
- In file included from ../include/fx.h:36:0,
- from math.cpp:8:
- ../include/fxmath.h:943:24: note: 'FX::Math::exp10'
- static inline FXdouble exp10(FXdouble x){
- ^~~~~
- math.cpp:494:25: error: 'exp10f' was not declared in this scope
- testFloat(Math::exp10,exp10f,"exp10f");
- ^~~~~~
- math.cpp:494:25: note: suggested alternative: 'expm1f'
- testFloat(Math::exp10,exp10f,"exp10f");
- ^~~~~~
- expm1f
- gmake[1]: *** [Makefile:877: math.o] Error 1
- gmake[1]: *** Waiting for unfinished jobs....
- mv -f .deps/mditest.Tpo .deps/mditest.Po
- mv -f .deps/memmap.Tpo .deps/memmap.Po
- In file included from ../include/fx.h:34:0,
- from minheritance.cpp:8:
- minheritance.cpp: In constructor 'Base1::Base1()':
- minheritance.cpp:164:45: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
- FXTRACE((100,"Base1::Base1 at %08p\n",this));
- ^
- ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
- #define FXTRACE(arguments) FX::fxtrace arguments
- ^~~~~~~~~
- minheritance.cpp: In constructor 'Base2::Base2()':
- minheritance.cpp:183:45: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
- FXTRACE((100,"Base2::Base2 at %08p\n",this));
- ^
- ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
- #define FXTRACE(arguments) FX::fxtrace arguments
- ^~~~~~~~~
- minheritance.cpp: In member function 'long int Base2::onCmdBase2(FX::FXObject*, FX::FXSelector, void*)':
- minheritance.cpp:188:57: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
- FXTRACE((100,"Base2::onCmdBase2 at %08p b=%d\n",this,b));
- ^
- ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
- #define FXTRACE(arguments) FX::fxtrace arguments
- ^~~~~~~~~
- minheritance.cpp: In constructor 'Base3::Base3()':
- minheritance.cpp:201:45: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
- FXTRACE((100,"Base3::Base3 at %08p\n",this));
- ^
- ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
- #define FXTRACE(arguments) FX::fxtrace arguments
- ^~~~~~~~~
- minheritance.cpp: In constructor 'TwoBaseOne::TwoBaseOne()':
- minheritance.cpp:222:55: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
- FXTRACE((100,"TwoBaseOne::TwoBaseOne at %08p\n",this));
- ^
- ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
- #define FXTRACE(arguments) FX::fxtrace arguments
- ^~~~~~~~~
- minheritance.cpp: In member function 'long int TwoBaseOne::onCmdTwoBaseOne(FX::FXObject*, FX::FXSelector, void*)':
- minheritance.cpp:227:67: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
- FXTRACE((100,"TwoBaseOne::onCmdTwoBaseOne at %08p d=%d\n",this,d));
- ^
- ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
- #define FXTRACE(arguments) FX::fxtrace arguments
- ^~~~~~~~~
- minheritance.cpp: In constructor 'TwoBaseTwo::TwoBaseTwo()':
- minheritance.cpp:245:55: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
- FXTRACE((100,"TwoBaseTwo::TwoBaseTwo at %08p\n",this));
- ^
- ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
- #define FXTRACE(arguments) FX::fxtrace arguments
- ^~~~~~~~~
- minheritance.cpp: In member function 'long int TwoBaseTwo::onCmdTwoBaseTwo(FX::FXObject*, FX::FXSelector, void*)':
- minheritance.cpp:250:67: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
- FXTRACE((100,"TwoBaseTwo::onCmdTwoBaseTwo at %08p e=%d\n",this,e));
- ^
- ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
- #define FXTRACE(arguments) FX::fxtrace arguments
- ^~~~~~~~~
- minheritance.cpp: In constructor 'ThreeBase::ThreeBase()':
- minheritance.cpp:271:53: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
- FXTRACE((100,"ThreeBase::ThreeBase at %08p\n",this));
- ^
- ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
- #define FXTRACE(arguments) FX::fxtrace arguments
- ^~~~~~~~~
- minheritance.cpp: In member function 'long int ThreeBase::onCmdThreeBase(FX::FXObject*, FX::FXSelector, void*)':
- minheritance.cpp:276:65: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
- FXTRACE((100,"ThreeBase::onCmdThreeBase at %08p f=%d\n",this,f));
- ^
- ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
- #define FXTRACE(arguments) FX::fxtrace arguments
- ^~~~~~~~~
- mv -f .deps/minheritance.Tpo .deps/minheritance.Po
- gmake[1]: Leaving directory '/export/home/hipster/Downloads/fox-1.7.71/tests'
- gmake: *** [Makefile:497: all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment