gempir

C2 compile error mac

Aug 13th, 2018
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. In file included from ../src/providers/twitch/PubsubActions.cpp:3:
  2. ../src/providers/twitch/PubsubHelpers.hpp:36:13: error: no matching function for
  3. call to 'log'
  4. log("Error in runAfter: {}", ec.message());
  5. ^~~
  6. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:932:1: note:
  7. candidate function template not viable: requires single argument
  8. '__lcpp_x', but 2 arguments were provided
  9. log(_A1 __lcpp_x) _NOEXCEPT {return ::log((double)__lcpp_x);}
  10. ^
  11. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:926:46: note:
  12. candidate function not viable: requires single argument '__lcpp_x', but 2
  13. arguments were provided
  14. inline _LIBCPP_INLINE_VISIBILITY long double log(long double __lcpp_x) _...
  15. ^
  16. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:925:46: note:
  17. candidate function not viable: requires single argument '__lcpp_x', but 2
  18. arguments were provided
  19. inline _LIBCPP_INLINE_VISIBILITY float log(float __lcpp_x) _NOEXCE...
  20. ^
  21. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/math.h:387:15: note:
  22. candidate function not viable: requires 1 argument, but 2 were provided
  23. extern double log(double);
  24. ^
  25. In file included from ../src/providers/twitch/PubsubActions.cpp:3:
  26. ../src/providers/twitch/PubsubHelpers.hpp:53:13: error: no matching function for
  27. call to 'log'
  28. log("Error in runAfter: {}", ec.message());
  29. ^~~
  30. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:932:1: note:
  31. candidate function template not viable: requires single argument
  32. '__lcpp_x', but 2 arguments were provided
  33. log(_A1 __lcpp_x) _NOEXCEPT {return ::log((double)__lcpp_x);}
  34. ^
  35. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:926:46: note:
  36. candidate function not viable: requires single argument '__lcpp_x', but 2
  37. arguments were provided
  38. inline _LIBCPP_INLINE_VISIBILITY long double log(long double __lcpp_x) _...
  39. ^
  40. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/math.h:925:46: note:
  41. candidate function not viable: requires single argument '__lcpp_x', but 2
  42. arguments were provided
  43. inline _LIBCPP_INLINE_VISIBILITY float log(float __lcpp_x) _NOEXCE...
  44. ^
  45. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/math.h:387:15: note:
  46. candidate function not viable: requires 1 argument, but 2 were provided
  47. extern double log(double);
  48. ^
  49. 1 warning and 2 errors generated.
  50. make: *** [PubsubActions.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment