Hello,
I can't replay your error, I recommend uninstalling the SDK and downloading the last version, and trying again. I opened your code and compile it, but I only can see a warnings flags, so I changed it to this.
if((GPIO_ReadPinInput(SW1_PORT, SW1_PIN) == 0) |
(GPIO_ReadPinInput(SW2_PORT, SW2_PIN) == 0) |
(GPIO_ReadPinInput(SW3_PORT, SW3_PIN) == 0) |
(GPIO_ReadPinInput(SW4_PORT, SW4_PIN) == 0) |
(GPIO_ReadPinInput(SW5_PORT, SW5_PIN) == 0) |
(GPIO_ReadPinInput(SW6_PORT, SW6_PIN) == 0))
Best regards,
Pavel