what's up with the new XC8 v2.0 compiler

Discussion in 'Embedded Systems and Microcontrollers' started by bug13, Aug 8, 2018.

  1. bug13

    Thread Starter Senior Member

    Feb 13, 2012
    1,682
    62
    Hi guys

    I recently installed the microchip XC8 v2.0 compiler, it doesn't do suggestive inputs anymore, and can't recognize the key words like uint8_t, PORTAbits.RA0 etc... (have a red wiggle line under those key words). But it recognize int etc...

    But if I switch back to a earlier one (v1.45), all work fine.

    Both compiler seen to compile no error tho.

    Any thought??
     
  2. Raymond Genovese

    Well-Known Member

    Mar 5, 2016
    1,643
    990
    Not sure this will fix it and I take no responsibility for any adverse effects, but:

    Tools
    Options
    Embedded
    Build Tools

    Make sure it says C:\Program Files (x86)\Microchip\xc8\v2.00\bin\xc8-cc.exe and not just xc8.exe for the compiler and assembler settings.
    Have you gone to MPLAB X IDE v5.00 yet? It's not going to like your old projects either.
     
  3. bug13

    Thread Starter Senior Member

    Feb 13, 2012
    1,682
    62
    You are right, I need to update my IDE (still at v4.15), thanks for your help.

    http://microchipdeveloper.com/xc8:moving-to-xc8-2-0
     
    JohnInTX and nsaspook like this.
Loading...