title: Android NDK: Function va_start / va_end could not be resolved
body: <p>I trying to use va_start and va_end functions in my project, but eclipse don't want to resolve it as functions. gcc compiles whole project without errors... </p>
  
  <p>[myfile.cpp]</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdarg.h&gt;
  [...]
  inline void ShowDbgMsg( const char* str, ... )
  {
      va_list argptr;
      va_start(argptr, str);
      vprintf(str, argptr);
      va_end(argptr);
  }
  [...]
  </code></pre>
  
  <p>[Android.mk]</p>
  
  <pre><code>[...]
  LOCAL_C_INCLUDES := jni/pvrTools/ jni/igel/ $(STLPORT_BASE)/stlport
  [...]
  </code></pre>
  
  <p>Eclipse says:</p>
  
  <pre><code>[...]
  Description Resource    Path    Location    Type
  Function 'va_start' could not be resolved   igel.comdef.h   /NativeProject/jni/igel    line 195 Semantic Error
  Function 'va_end' could not be resolved igel.comdef.h   /NativeProject/jni/igel  line 203   Semantic Error
  Function 'va_start' could not be resolved   igel.string.h   /NativeProject/jni/igel line 341    Semantic Error
  Function 'va_end' could not be resolved igel.string.h   /NativeProject/jni/igel line 351    Semantic Error
  [...]
  </code></pre>
  
  <p>So, it looks like Eclipse unable to locate something... How to solve this issue?
  Thanks in advance!</p>
  
  <p>P.S.> Project->Index->Rebuild didn't help. :(</p>