Hi, with Arduino 1.6.1 and teenseyduino Beta 10 on Mac OSX yosemite
I tried to build RF24 library
https://github.com/tmrh20/RF24
and had following errors when import:
Arduino:1.6.1 (Mac OS X), TD: 1.21-beta10, Scheda:"Teensy 3.1, Serial, 16 MHz (No USB), Italian"
Opzioni di compilazione cambiate, ricompilo tutto
In file included from /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/WProgram.h:11:0,
from /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/Arduino.h:1,
from /Users/antdem/Documents/Arduino/libraries/RF24/RF24_config.h:79,
from /Users/antdem/Documents/Arduino/libraries/RF24/RF24.cpp:10:
/Users/antdem/Documents/Arduino/libraries/RF24/RF24.cpp: In member function 'void RF24:

rint_byte_register(const char*, uint8_t, uint8_t)':
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/pgmspace.h:49:49: error: expected primary-expression before ')' token
#define printf_P(f, ...) printf((f), __VA_ARGS__)
^
/Users/antdem/Documents/Arduino/libraries/RF24/RF24.cpp:435:3: note: in expansion of macro 'printf_P'
printf_P(PSTR("\r\n"));
^
/Users/antdem/Documents/Arduino/libraries/RF24/RF24.cpp: In member function 'void RF24:

rint_address_register(const char*, uint8_t, uint8_t)':
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/pgmspace.h:49:49: error: expected primary-expression before ')' token
#define printf_P(f, ...) printf((f), __VA_ARGS__)
^
/Users/antdem/Documents/Arduino/libraries/RF24/RF24.cpp:455:5: note: in expansion of macro 'printf_P'
printf_P(PSTR(" 0x"));
^
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/pgmspace.h:49:49: error: expected primary-expression before ')' token
#define printf_P(f, ...) printf((f), __VA_ARGS__)
^
/Users/antdem/Documents/Arduino/libraries/RF24/RF24.cpp:461:3: note: in expansion of macro 'printf_P'
printf_P(PSTR("\r\n"));
^
/Users/antdem/Documents/Arduino/libraries/RF24/RF24.cpp: In member function 'void RF24:

rintDetails()':
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/pgmspace.h:56:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define pgm_read_word(addr) (*(const unsigned short *)(addr))
^
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/pgmspace.h:49:38: note: in definition of macro 'printf_P'
#define printf_P(f, ...) printf((f), __VA_ARGS__)
^
/Users/antdem/Documents/Arduino/libraries/RF24/RF24.cpp:603:41: note: in expansion of macro 'pgm_read_word'
printf_P(PSTR("Data Rate\t = %s\r\n"),pgm_read_word(&rf24_datarate_e_str_P[getDataRate()]));
^
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/pgmspace.h:56:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define pgm_read_word(addr) (*(const unsigned short *)(addr))
^
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/pgmspace.h:49:38: note: in definition of macro 'printf_P'
#define printf_P(f, ...) printf((f), __VA_ARGS__)
^
/Users/antdem/Documents/Arduino/libraries/RF24/RF24.cpp:604:39: note: in expansion of macro 'pgm_read_word'
printf_P(PSTR("Model\t\t = %s\r\n"),pgm_read_word(&rf24_model_e_str_P[isPVariant()]));
^
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/pgmspace.h:56:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define pgm_read_word(addr) (*(const unsigned short *)(addr))
^
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/pgmspace.h:49:38: note: in definition of macro 'printf_P'
#define printf_P(f, ...) printf((f), __VA_ARGS__)
^
/Users/antdem/Documents/Arduino/libraries/RF24/RF24.cpp:605:42: note: in expansion of macro 'pgm_read_word'
printf_P(PSTR("CRC Length\t = %s\r\n"),pgm_read_word(&rf24_crclength_e_str_P[getCRCLength()]));
^
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/pgmspace.h:56:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define pgm_read_word(addr) (*(const unsigned short *)(addr))
^
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/avr/pgmspace.h:49:38: note: in definition of macro 'printf_P'
#define printf_P(f, ...) printf((f), __VA_ARGS__)
^
/Users/antdem/Documents/Arduino/libraries/RF24/RF24.cpp:606:42: note: in expansion of macro 'pgm_read_word'
printf_P(PSTR("PA Power\t = %s\r\n"), pgm_read_word(&rf24_pa_dbm_e_str_P[getPALevel()]));
^
Errore durante la compilazione
Questo report potrebbe essere più ricco
di informazioni con
"Mostra un output dettagliato durante la compilazione"
abilitato in "File > Impostazioni"