Is there some missing command line options needed for this:

sep3.c:601:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘void’
sep3.c:609:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘void’
sep3.c:655:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘void’

Lines 601, 609, and 655 look line this:

//lpm4 wakeup.
// Low power mode 4 wakeup
#pragma vector=PORT2_VECTOR
__interrupt void makeItGo()         /* LINE=601 */
{
  _BIC_SR_IRQ(LPM4_bits);
    CLEAR_INTERRUPT;
    }
    
// UART Receive interrupt.
#pragma vector=UART0RX_VECTOR
__interrupt void uartInterrupt (void) /* LINE=609 */
{
  byteReceived++;
  

// Watchdog Timer interrupt service routine
// This function runs once every second, as long as the patch is
// not asleep.
#pragma vector=WDT_VECTOR
__interrupt void watchdog_timer(void) /* LINE=655 */
{
  P1DIR ^= BIT0; //turns LED on testing board on and off.
  

  


-- 
Robert Heller             -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments


                                                                                
    
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
https://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to