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/C66XCODECS: __va_argref(_parmN) function implementation

Part Number: C66XCODECS

Tool/software: TI C/C++ Compiler

Hi Sir,

We are doing Unit Test in VectorCast where we are building the source code using below compiler

ccsv8

Compiler: c6000_7.4.2

Also using simulator   tisim_c64xple.ccxml for running the test cases

We need to make the return value of function __va_argref(_parmN) to true. Can you please help. we are not able to find the implementation of function __va_argref(_parmN)

  #define va_start(_ap, _parmN) \

         (_ap = ((char *)__va_parmadr(_parmN)) + \
  (__va_argref(_parmN) ? sizeof(&_parmN) : \
  (sizeof(_parmN) < 4 ? 4 : sizeof(_parmN))))