Pastebin

Paste #24891: No description

< previous paste - next paste>

Pasted by Anonymous Coward

Download View as text

      |                                            const uint16_t (*)[12][7] {aka const short unsigned int (*)[12][7]}                                                                                                                                 
In file included from ./.build/obj_moonlander/src/default_keyboard.h:27,                                                                                                                                                                               
                 from ./keyboards/moonlander/keymaps/ThomasMoonlander/keymap.c:1,                                                                                                                                                                      
                 from quantum/keymap_introspection.c:5:                                                                                                                                                                                                
quantum/quantum.h:273:26: note: expected 'uint16_t' {aka 'short unsigned int'} but argument is of type 'const uint16_t (*)[12][7]' {aka 'const short unsigned int (*)[12][7]'}                                                                         
  273 | void tap_code16(uint16_t code);                                                                                                                                                                                                                
      |                 ~~~~~~~~~^~~~                                                                                                                                                                                                                  
In file included from quantum/keymap_introspection.c:5:                                                                                                                                                                                                
./keyboards/moonlander/keymaps/ThomasMoonlander/keymap.c:256:72: error: passing argument 1 of 'register_code16' makes integer from pointer without a cast [-Werror=int-conversion]                                                                     
  256 |         case DOUBLE_SINGLE_TAP: tap_code16(KC_BSPACE); register_code16(KC_BSPACE);                                                                                                                                                             
      |                                                                        ^~~~~~~~~                                                                                                                                                               
      |                                                                        |                                                                                                                                                                       
      |                                                                        const uint16_t (*)[12][7] {aka const short unsigned int (*)[12][7]}                                                                                                     
In file included from ./.build/obj_moonlander/src/default_keyboard.h:27,                                                                                                                                                                               
                 from ./keyboards/moonlander/keymaps/ThomasMoonlander/keymap.c:1,                                                                                                                                                                      
                 from quantum/keymap_introspection.c:5:                                                                                                                                                                                                
quantum/quantum.h:271:31: note: expected 'uint16_t' {aka 'short unsigned int'} but argument is of type 'const uint16_t (*)[12][7]' {aka 'const short unsigned int (*)[12][7]'}                                                                         
  271 | void register_code16(uint16_t code);                                                                                                                                                                                                           
      |                      ~~~~~~~~~^~~~                                                                                                                                                                                                             
In file included from quantum/keymap_introspection.c:5:                                                                                                                                                                                                
./keyboards/moonlander/keymaps/ThomasMoonlander/keymap.c: In function 'dance_0_reset':                                                                                                                                                                 
./keyboards/moonlander/keymaps/ThomasMoonlander/keymap.c:263:44: error: passing argument 1 of 'unregister_code16' makes integer from pointer without a cast [-Werror=int-conversion]                                                                   
  263 |         case SINGLE_TAP: unregister_code16(KC_BSPACE); break;                                                                                                                                                                                  
      |                                            ^~~~~~~~~                                                                                                                                                                                           
      |                                            |                                                                                                                                                                                                   
      |                                            const uint16_t (*)[12][7] {aka const short unsigned int (*)[12][7]}                                                                                                                                 
In file included from ./.build/obj_moonlander/src/default_keyboard.h:27,                                                                                                                                                                               
                 from ./keyboards/moonlander/keymaps/ThomasMoonlander/keymap.c:1,                                                                                                                                                                      
                 from quantum/keymap_introspection.c:5:                                                                                                                                                                                                
quantum/quantum.h:272:33: note: expected 'uint16_t' {aka 'short unsigned int'} but argument is of type 'const uint16_t (*)[12][7]' {aka 'const short unsigned int (*)[12][7]'}                                                                         
  272 | void unregister_code16(uint16_t code);                                                                                                                                                                                                         
      |                        ~~~~~~~~~^~~~                                                                                                                                                                                                           
In file included from quantum/keymap_introspection.c:5:                                                                                                                                                                                                
./keyboards/moonlander/keymaps/ThomasMoonlander/keymap.c:265:44: error: passing argument 1 of 'unregister_code16' makes integer from pointer without a cast [-Werror=int-conversion]                                                                   
  265 |         case DOUBLE_TAP: unregister_code16(KC_BSPACE); break;                                                                                                                                                                                  
      |                                            ^~~~~~~~~                                                                                                                                                                                           
      |                                            |                                                                                                                                                                                                   
      |                                            const uint16_t (*)[12][7] {aka const short unsigned int (*)[12][7]}                                                                                                                                 
In file included from ./.build/obj_moonlander/src/default_keyboard.h:27,                                                                                                                                                                               
                 from ./keyboards/moonlander/keymaps/ThomasMoonlander/keymap.c:1,                                                                                                                                                                      
                 from quantum/keymap_introspection.c:5:                                                                                                                                                                                                
quantum/quantum.h:272:33: note: expected 'uint16_t' {aka 'short unsigned int'} but argument is of type 'const uint16_t (*)[12][7]' {aka 'const short unsigned int (*)[12][7]'}                                                                         
  272 | void unregister_code16(uint16_t code);                                                                                                                                                                                                         
      |                        ~~~~~~~~~^~~~                                                                                                                                                                                                           
In file included from quantum/keymap_introspection.c:5:                                                                                                                                                                                                
./keyboards/moonlander/keymaps/ThomasMoonlander/keymap.c:266:51: error: passing argument 1 of 'unregister_code16' makes integer from pointer without a cast [-Werror=int-conversion]                                                                   
  266 |         case DOUBLE_SINGLE_TAP: unregister_code16(KC_BSPACE); break;                                                                                                                                                                           
      |                                                   ^~~~~~~~~                                                                                                                                                                                    
      |                                                   |                                                                                                                                                                                            
      |                                                   const uint16_t (*)[12][7] {aka const short unsigned int (*)[12][7]}                                                                                                                          
In file included from ./.build/obj_moonlander/src/default_keyboard.h:27,                                                                                                                                                                               
                 from ./keyboards/moonlander/keymaps/ThomasMoonlander/keymap.c:1,                                                                                                                                                                      
                 from quantum/keymap_introspection.c:5:                                                                                                                                                                                                
quantum/quantum.h:272:33: note: expected 'uint16_t' {aka 'short unsigned int'} but argument is of type 'const uint16_t (*)[12][7]' {aka 'const short unsigned int (*)[12][7]'}                                                                         
  272 | void unregister_code16(uint16_t code);                                                                                                                                                                                                         
      |                        ~~~~~~~~~^~~~                                                                                                                                                                                                           
cc1.exe: all warnings being treated as errors                                                                                                                                                                                                          
 [ERRORS]                                                                                                                                                                                                                                              
 |                                                                                                                                                                                                                                                     
 |                                                                                                                                                                                                                                                     
 |                                                                                                                                                                                                                                                     
make[1]: *** [builddefs/common_rules.mk:356: .build/obj_moonlander_ThomasMoonlander/quantum/keymap_introspection.o] Error 1                                                                                                                            
make[1]: *** Waiting for unfinished jobs....                                                                                                                                                                                                           
Compiling: drivers/eeprom/eeprom_i2c.c                                                              [OK]                                                                                                                                               
Compiling: quantum/color.c                                                                          [OK]                                                                                                                                               
Compiling: lib/lib8tion/lib8tion.c                                                                  [OK]                                                                                                                                               
Compiling: drivers/led/issi/is31fl3731.c                                                            [OK]                                                                                                                                               
Compiling: quantum/process_keycode/process_rgb.c                                                    [OK]                                                                                                                                               
Compiling: quantum/rgb_matrix/rgb_matrix_drivers.c                                                  [OK]                                                                                                                                               
Compiling: quantum/rgb_matrix/rgb_matrix.c                                                          [OK]                                                                                                                                               
Make finished with errors                                                                                                                                                                                                                              
make: *** [Makefile:392: moonlander:ThomasMoonlander] Error 1                                                                                                                                                                                          
                                                                                                                                                                                                                                                       
real    1m1.163s                                                                                                                                                                                                                                       
user    0m0.000s                                                                                                                                                                                                                                       
sys     0m0.047s                                                                                                                                                                                                                                       

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.