i've got error on building a ruby c++ wrapper


/home/src/loglib_wrap.cpp:6306: error: ISO C++ forbids assignment of arrays

the following wrapper file is generated by swig. the red line has error. anybody knows how to fix it?


    if (!argp5) {
      SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "va_list","TraceStringArgList", 5, argv[3]));
    } else {
      arg5 = *(reinterpret_cast< va_list * >(argp5));
    }