Advertisement
riccrocc789

Untitled

Aug 19th, 2022
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. Arduino: 1.8.16 (Windows 10), Board: "Proffieboard V2, Serial, SDCARD (SPI), 80 MHz, Smallest Code"
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23. In file included from C:\Users\kaise\Downloads\LightSabers\ProffieOS\ProffieOS.ino:537:
  24.  
  25. C:\Users\kaise\Downloads\LightSabers\ProffieOS\common\preset.h:6:25: error: expected primary-expression before ',' token
  26.  
  27. 6 | #define CONFIGARRAY(X) X, NELEM(X)
  28.  
  29. | ^
  30.  
  31. C:\Users\kaise\Downloads\LightSabers\ProffieOS\config\FallenOS6.h:550:78: note: in expansion of macro 'CONFIGARRAY'
  32.  
  33. 550 | WS281XBladePtr<1, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin6> >(), CONFIGARRAY(Preset) },
  34.  
  35. | ^~~~~~~~~~~
  36.  
  37. ProffieOS:299:39: error: lambda-expression in unevaluated context only available with '-std=c++2a' or '-std=gnu++2a'
  38.  
  39. 299 | #define NELEM(X) (sizeof(X)/sizeof((X)[0]))
  40.  
  41. | ^
  42.  
  43. C:\Users\kaise\Downloads\LightSabers\ProffieOS\common\preset.h:6:27: note: in expansion of macro 'NELEM'
  44.  
  45. 6 | #define CONFIGARRAY(X) X, NELEM(X)
  46.  
  47. | ^~~~~
  48.  
  49. C:\Users\kaise\Downloads\LightSabers\ProffieOS\config\FallenOS6.h:550:78: note: in expansion of macro 'CONFIGARRAY'
  50.  
  51. 550 | WS281XBladePtr<1, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin6> >(), CONFIGARRAY(Preset) },
  52.  
  53. | ^~~~~~~~~~~
  54.  
  55. ProffieOS:299:38: error: expected primary-expression before ')' token
  56.  
  57. 299 | #define NELEM(X) (sizeof(X)/sizeof((X)[0]))
  58.  
  59. | ^
  60.  
  61. C:\Users\kaise\Downloads\LightSabers\ProffieOS\common\preset.h:6:27: note: in expansion of macro 'NELEM'
  62.  
  63. 6 | #define CONFIGARRAY(X) X, NELEM(X)
  64.  
  65. | ^~~~~
  66.  
  67. C:\Users\kaise\Downloads\LightSabers\ProffieOS\config\FallenOS6.h:550:78: note: in expansion of macro 'CONFIGARRAY'
  68.  
  69. 550 | WS281XBladePtr<1, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin6> >(), CONFIGARRAY(Preset) },
  70.  
  71. | ^~~~~~~~~~~
  72.  
  73. exit status 1
  74.  
  75. lambda-expression in unevaluated context only available with '-std=c++2a' or '-std=gnu++2a'
  76.  
  77.  
  78.  
  79. This report would have more information with
  80. "Show verbose output during compilation"
  81. option enabled in File -> Preferences.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement