CAN Protocol issue with Arduino 1.6.4

Hello!

I hope this is the right sub forum to post this in.

I’m having some trouble ever since I upgraded my arduino to 1.6.4 (I think it was 1.0.6 before this)

My code won’t compile and I’m getting errors I hadn’t gotten before.

I think there’s something wrong with the library inclusion format which has worked so far except for now.

Errors:

In file included from CAN_5_31_2015.ino:4:0:
C:\Users\~~~~~\Documents\Arduino\libraries\CAN/CAN.h:115:1: warning: multi-line comment [-Wcomment]
//#elif defined(__AVR_ATmega32C1__) || defined(__AVR_ATmega64C1__) || \
^
In file included from C:\Users\~~~~~\Documents\Arduino\libraries\CAN/CAN_MCP2515.h:73:0,
from CAN_5_31_2015.ino:8:
C:\Users\~~~~~\Documents\Arduino\libraries\CAN/CAN.h:115:1: warning: multi-line comment [-Wcomment]
//#elif defined(__AVR_ATmega32C1__) || defined(__AVR_ATmega64C1__) || \
^
In file included from CAN_5_31_2015.ino:8:0:
C:\Users\~~~~~\Documents\Arduino\libraries\CAN/CAN_MCP2515.h:278:0: warning: "MCP2515_RXM1" redefined [enabled by default]
#define MCP2515_RXM1      6
^
C:\Users\~~~~~\Documents\Arduino\libraries\CAN/CAN_MCP2515.h:162:0: note: this is the location of the previous definition
#define MCP2515_RXM1      0x24
^
C:\Users\~~~~~\Documents\Arduino\libraries\CAN/CAN_MCP2515.h:279:0: warning: "MCP2515_RXM0" redefined [enabled by default]
#define MCP2515_RXM0      5
^
C:\Users\~~~~~\Documents\Arduino\libraries\CAN/CAN_MCP2515.h:157:0: note: this is the location of the previous definition
#define MCP2515_RXM0      0x20
^
In file included from C:\Users\~~~~~\Documents\Arduino\libraries\CAN\CAN.cpp:54:0:
C:\Users\~~~~~\Documents\Arduino\libraries\CAN\CAN.h:115:1: warning: multi-line comment [-Wcomment]
//#elif defined(__AVR_ATmega32C1__) || defined(__AVR_ATmega64C1__) || \
^
In file included from C:\Users\~~~~~\Documents\Arduino\libraries\CAN\CAN_AT90CAN.cpp:43:0:
C:\Users\~~~~~\Documents\Arduino\libraries\CAN\CAN.h:115:1: warning: multi-line comment [-Wcomment]
//#elif defined(__AVR_ATmega32C1__) || defined(__AVR_ATmega64C1__) || \
^
In file included from C:\Users\~~~~~\Documents\Arduino\libraries\CAN\CAN_AT90CAN.cpp:44:0:
C:\Users\~~~~~\Documents\Arduino\libraries\CAN\CAN_AT90CAN.h:40:0: error: unterminated #if
#if defined(ARDUINO_ARCH_AVR)
^
C:\Users\~~~~~\Documents\Arduino\libraries\CAN\CAN_AT90CAN.cpp:53:1: error: 'CAN_AT90CAN' does not name a type
CAN_AT90CAN::CAN_AT90CAN()
^
Error compiling.

I’d really appreciate your help. PLEASE!!!

CAN_5_31_2015.ino (7.48 KB)