Guest User

Marln

a guest
Nov 10th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1.  
  2. #define PWM_PIN(P) digitalPinHasPWM(P)
  3. ^~~~~~~~~~~~~~~~
  4. Marlin\src\feature\bedlevel\abl\../../../inc/SanityCheck.h:1832:19: note: in expansion of macro 'PWM_PIN'
  5. static_assert(PWM_PIN(E0_AUTO_FAN_PIN), "E0" AF_ERR_SUFF);
  6. ^~~~~~~
  7. Marlin\src\feature\../inc/SanityCheck.h:1832:5: error: non-constant condition for static assertion
  8. static_assert(PWM_PIN(E0_AUTO_FAN_PIN), "E0" AF_ERR_SUFF);
  9.  
  10. ^~~~~~~~~~~~~
  11. In file included from C:\Users\Studio\.platformio\packages\[email protected]\cores\arduino/Arduino.h:48:0,
  12. from Marlin\src\feature\../inc/../HAL/./HAL_STM32/../shared/Marduino.h:35,
  13. from Marlin\src\feature\../inc/../HAL/./HAL_STM32/HAL.h:28,
  14. from Marlin\src\feature\../inc/../HAL/HAL.h:26,
  15. from Marlin\src\feature\../inc/MarlinConfig.h:30,
  16. from Marlin\src\feature\baricuda.cpp:23:
  17. C:\Users\Studio\.platformio\packages\[email protected]\cores\arduino/pins_arduino.h:223:51: error: call to non-constexpr function 'bool pin_in_pinmap(PinName, const PinMap*)'
  18. #define digitalPinHasPWM(p) (pin_in_pinmap(digitalPinToPinName(p), PinMap_PWM))
  19. ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  20. Marlin\src\feature\../inc/../HAL/./HAL_STM32/fastio_STM32.h:83:33: note: in expansion of macro 'digitalPinHasPWM'
  21. #define PWM_PIN(P) digitalPinHasPWM(P)
  22. ^~~~~~~~~~~~~~~~
  23. Marlin\src\feature\../inc/SanityCheck.h:1832:19: note: in expansion of macro 'PWM_PIN'
  24. static_assert(PWM_PIN(E0_AUTO_FAN_PIN), "E0" AF_ERR_SUFF);
  25. ^~~~~~~
  26. Marlin\src\feature\../inc/SanityCheck.h:1832:5: error: non-constant condition for static assertion
  27. static_assert(PWM_PIN(E0_AUTO_FAN_PIN), "E0" AF_ERR_SUFF);
  28. ^~~~~~~~~~~~~
  29. In file included from C:\Users\Studio\.platformio\packages\[email protected]\cores\arduino/Arduino.h:48:0,
  30. from Marlin\src\feature\../inc/../HAL/./HAL_STM32/../shared/Marduino.h:35,
  31. from Marlin\src\feature\../inc/../HAL/./HAL_STM32/HAL.h:28,
  32. Severity Provider Description Line
  33. Error GCC missing binary operator before token "(" 98:12
  34. Error GCC missing binary operator before token "(" 116:13
  35. Error GCC missing binary operator before token "(" 139:12
  36. Error GCC missing binary operator before token "(" 167:12
  37. Error GCC missing binary operator before token "(" 181:12
  38. Error GCC missing binary operator before token "(" 192:12
  39. Error GCC missing binary operator before token "(" 213:12
  40. Error GCC missing binary operator before token "(" 257:12
  41. Error GCC missing binary operator before token "(" 281:12
  42. Error GCC missing binary operator before token "(" 330:12
  43. Error GCC missing binary operator before token "(" 377:12
  44. Error GCC missing binary operator before token "(" 402:12
  45. Error GCC missing binary operator before token "(" 423:12
  46. Error GCC missing binary operator before token "(" 433:12
  47. Error GCC missing binary operator before token "(" 443:12
  48. Warning GCC #pragma once in main file 22:9
Advertisement
Add Comment
Please, Sign In to add comment