This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler: usblib.h "Unrecongnized CoMPILER!" error

Tool/software: TI C/C++ Compiler

Hello,

I'm using CCS v7. I try to use the USB driver imported from provided exemple "usb_dev_serial"

So I need to include usblib.h file. But in it there is this code:

#if defined(ccs) ||                                                           \
    defined(codered) ||                                                       \
    defined(gcc) ||                                                           \
    defined(rvmdk) ||                                                         \
    defined(__ARMCC_VERSION) ||                                               \
    defined(sourcerygxx)
#define PACKED __attribute__ ((packed))
#elif defined(ewarm)
#define PACKED
#elif defined(ccs_c2k)
#define PACKED   
#else
#error Unrecognized COMPILER!
#endif

In the exemple project, in the properties, I have the following option : Build/C2000 Compiler/ Advanced Options/Language Option/ -> Enable support of GCC extensions (--gcc):


but in my own project, this option is not available!:


How can I solve this problem??

Thank you