Guest User

Untitled

a guest
Jul 6th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.23 KB | None | 0 0
  1. math.cpp:131:23: error: '::exp10' has not been declared
  2. {Math::exp10, ::exp10},
  3. ^~~~~
  4. math.cpp:131:23: note: suggested alternative:
  5. In file included from ../include/fx.h:36:0,
  6. from math.cpp:8:
  7. ../include/fxmath.h:943:24: note: 'FX::Math::exp10'
  8. static inline FXdouble exp10(FXdouble x){
  9. ^~~~~
  10. math.cpp:154:23: error: '::exp10f' has not been declared
  11. {Math::exp10, ::exp10f},
  12. ^~~~~~
  13. math.cpp:154:23: note: suggested alternative: 'expm1f'
  14. {Math::exp10, ::exp10f},
  15. ^~~~~~
  16. expm1f
  17. math.cpp: In function 'void printDP(FX::FXdouble)':
  18. 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=]
  19. 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);
  20. ~~~~~~~~~~~~~~~ ^
  21. 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=]
  22. 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=]
  23. 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=]
  24. math.cpp: In function 'void report(const DPAccuracy&, const char*)':
  25. 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=]
  26. fprintf(stderr,"total: %ld\n",acc.errcount);
  27. ~~~~~~~~~~~~^
  28. math.cpp: In function 'void report(const SPAccuracy&, const char*)':
  29. 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=]
  30. fprintf(stderr,"total: %ld\n",acc.errcount);
  31. ~~~~~~~~~~~~^
  32. math.cpp: In function 'void testFloatDenorm(SPAccuracy&, FLTFUN1, FLTFUN1, FX::FXulong)':
  33. math.cpp:348:68: warning: unused parameter 'cov' [-Wunused-parameter]
  34. void testFloatDenorm(SPAccuracy& acc,FLTFUN1 tf,FLTFUN1 rf,FXulong cov){
  35. ^~~
  36. math.cpp: In function 'int main(int, char**)':
  37. math.cpp:493:26: error: 'exp10' was not declared in this scope
  38. testDouble(Math::exp10,exp10,"exp10");
  39. ^~~~~
  40. math.cpp:493:26: note: suggested alternative:
  41. In file included from ../include/fx.h:36:0,
  42. from math.cpp:8:
  43. ../include/fxmath.h:943:24: note: 'FX::Math::exp10'
  44. static inline FXdouble exp10(FXdouble x){
  45. ^~~~~
  46. math.cpp:494:25: error: 'exp10f' was not declared in this scope
  47. testFloat(Math::exp10,exp10f,"exp10f");
  48. ^~~~~~
  49. math.cpp:494:25: note: suggested alternative: 'expm1f'
  50. testFloat(Math::exp10,exp10f,"exp10f");
  51. ^~~~~~
  52. expm1f
  53. gmake[1]: *** [Makefile:877: math.o] Error 1
  54. gmake[1]: *** Waiting for unfinished jobs....
  55. mv -f .deps/mditest.Tpo .deps/mditest.Po
  56. mv -f .deps/memmap.Tpo .deps/memmap.Po
  57. In file included from ../include/fx.h:34:0,
  58. from minheritance.cpp:8:
  59. minheritance.cpp: In constructor 'Base1::Base1()':
  60. minheritance.cpp:164:45: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
  61. FXTRACE((100,"Base1::Base1 at %08p\n",this));
  62. ^
  63. ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
  64. #define FXTRACE(arguments) FX::fxtrace arguments
  65. ^~~~~~~~~
  66. minheritance.cpp: In constructor 'Base2::Base2()':
  67. minheritance.cpp:183:45: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
  68. FXTRACE((100,"Base2::Base2 at %08p\n",this));
  69. ^
  70. ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
  71. #define FXTRACE(arguments) FX::fxtrace arguments
  72. ^~~~~~~~~
  73. minheritance.cpp: In member function 'long int Base2::onCmdBase2(FX::FXObject*, FX::FXSelector, void*)':
  74. minheritance.cpp:188:57: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
  75. FXTRACE((100,"Base2::onCmdBase2 at %08p b=%d\n",this,b));
  76. ^
  77. ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
  78. #define FXTRACE(arguments) FX::fxtrace arguments
  79. ^~~~~~~~~
  80. minheritance.cpp: In constructor 'Base3::Base3()':
  81. minheritance.cpp:201:45: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
  82. FXTRACE((100,"Base3::Base3 at %08p\n",this));
  83. ^
  84. ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
  85. #define FXTRACE(arguments) FX::fxtrace arguments
  86. ^~~~~~~~~
  87. minheritance.cpp: In constructor 'TwoBaseOne::TwoBaseOne()':
  88. minheritance.cpp:222:55: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
  89. FXTRACE((100,"TwoBaseOne::TwoBaseOne at %08p\n",this));
  90. ^
  91. ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
  92. #define FXTRACE(arguments) FX::fxtrace arguments
  93. ^~~~~~~~~
  94. minheritance.cpp: In member function 'long int TwoBaseOne::onCmdTwoBaseOne(FX::FXObject*, FX::FXSelector, void*)':
  95. minheritance.cpp:227:67: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
  96. FXTRACE((100,"TwoBaseOne::onCmdTwoBaseOne at %08p d=%d\n",this,d));
  97. ^
  98. ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
  99. #define FXTRACE(arguments) FX::fxtrace arguments
  100. ^~~~~~~~~
  101. minheritance.cpp: In constructor 'TwoBaseTwo::TwoBaseTwo()':
  102. minheritance.cpp:245:55: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
  103. FXTRACE((100,"TwoBaseTwo::TwoBaseTwo at %08p\n",this));
  104. ^
  105. ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
  106. #define FXTRACE(arguments) FX::fxtrace arguments
  107. ^~~~~~~~~
  108. minheritance.cpp: In member function 'long int TwoBaseTwo::onCmdTwoBaseTwo(FX::FXObject*, FX::FXSelector, void*)':
  109. minheritance.cpp:250:67: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
  110. FXTRACE((100,"TwoBaseTwo::onCmdTwoBaseTwo at %08p e=%d\n",this,e));
  111. ^
  112. ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
  113. #define FXTRACE(arguments) FX::fxtrace arguments
  114. ^~~~~~~~~
  115. minheritance.cpp: In constructor 'ThreeBase::ThreeBase()':
  116. minheritance.cpp:271:53: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
  117. FXTRACE((100,"ThreeBase::ThreeBase at %08p\n",this));
  118. ^
  119. ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
  120. #define FXTRACE(arguments) FX::fxtrace arguments
  121. ^~~~~~~~~
  122. minheritance.cpp: In member function 'long int ThreeBase::onCmdThreeBase(FX::FXObject*, FX::FXSelector, void*)':
  123. minheritance.cpp:276:65: warning: '0' flag used with '%p' gnu_printf format [-Wformat=]
  124. FXTRACE((100,"ThreeBase::onCmdThreeBase at %08p f=%d\n",this,f));
  125. ^
  126. ../include/fxdefs.h:580:40: note: in definition of macro 'FXTRACE'
  127. #define FXTRACE(arguments) FX::fxtrace arguments
  128. ^~~~~~~~~
  129. mv -f .deps/minheritance.Tpo .deps/minheritance.Po
  130. gmake[1]: Leaving directory '/export/home/hipster/Downloads/fox-1.7.71/tests'
  131. gmake: *** [Makefile:497: all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment