title: error: array type 'va_list' (aka '__builtin_va_list') is not assignable
body: <p>What should i do to make it assignable? I have auto-generated the JNI function from this function which was in header file. Here is the function declaration in header file *</p>
  
  <blockquote>
    <p>char* stringFormatV(const char* format, va_list args);</p>
  </blockquote>
  
  <pre><code>    SWIGEXPORT jstring JNICALL Java_jnisourceJNI_stringFormatV(JNIEnv
          *jenv, jclass jcls, jstring jarg1, jlong jarg2) {
                jstring jresult = 0 ;
                char *arg1 = (char *) 0 ;
                va_list arg2 ;
                va_list *argp2 ;
                char *result = 0 ;
  
                (void)jenv;
                (void)jcls;
                arg1 = 0;
                if (jarg1) {
                  arg1 = (char *)(*jenv)-&gt;GetStringUTFChars(jenv, jarg1, 0);
                  if (!arg1) return 0;
                }
                argp2 = *(va_list **)&amp;jarg2; 
                if (!argp2) {
                  SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null va_list");
                  return 0;
                }
                arg2 = *argp2; //here is the problem
                result = (char *)stringFormatV((char const *)arg1,arg2);
                if (result) jresult = (*jenv)-&gt;NewStringUTF(jenv, (const char *)result);
                if (arg1) (*jenv)-&gt;ReleaseStringUTFChars(jenv, jarg1, (const char *)arg1);
                return jresult;
              }
  </code></pre>
  
  <p>at this line compiler gives error </p>
  
  <blockquote>
    <p>arg2 = *argp2; //here is the problem</p>
  </blockquote>