Thank for the reply, but i already found the problem, i was using an old IDE, i installed the last version and it fixed the problem
Posts made by ampmendes
- 
    RE: Error Compilingposted in Bug Reports
- 
    RE: Error Compilingposted in Bug ReportsI am trying to compile the SerialGateway.ino example and keep getting the same error MySensors/MySensor.h:158:70: error: expected type-specifier before ‘MyHwDriver’ 
 MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()I am using the arduino ide and downloaded the 1.5 version of the library. With the 1.4 version it compiles ok, but i want to create a serial gateway with RFM69 Radio I appreciate the help, i am new to this and i am discovering. 
 Thanks