Jump to content

Search the Community

Showing results for tags 'typedef'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • PIC Embedded Programming
    • BoostC and Chameleon compilers programming
    • BoostC porting source code
    • BoostC++ compiler programming
    • BoostBasic compiler programming
    • Assembler programming PIC
    • Novo RTOS Programming
    • Hardware PIC
    • Enhancement Requests
    • Bug Reports

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello, I am trying to port a Hi-tech C source code from microchips website( Real Time Clock) AN1414 to boost C.This bit of code keeps giving a compiler error.Can anyone please help? //Code: /////////////////////////// typedef struct{ union{ unsigned char DummyVal; //This will be used when Alarm is to be read struct{ unsigned Day : 3; unsigned ALMIF : 1; unsigned ALMConfig : 3; unsigned ALMPOL : 1; }; }; unsigned char Sec; unsigned char Min; unsigned char Hour; unsigned char Date; unsigned char Month; }RTCCAlarm; //Error: //////////////////////////// RTCC_Driver.c RTCC_Driver.h(31): error: general error RTCC_Driver.h(31): error: missing right brace RTCC_Driver.h(31): error: general error RTCC_Driver.h(31): error: missing right brace RTCC_Driver.h(31): error: identifier expected RTCC_Driver.h(31): error: missing right brace Thanks Badejo
×