Hi,

QtCreator (1.2.1) complains about the va_arg code below with the error (tooltip 
on red underlined code):  expected token ')' got 'const'

Which is not correct, the code compiles without problem.



#include <stdarg.h>

void test(va_list ap)
{
   const char *this;

   while ((this = va_arg(ap, const char *)) != NULL)
     {
     }
}


I've stripped the code down, the orignal code is from subversion:
subversion/libsvn_wc/adm_files.c (v_extend_with_adm_name)


-- 
Martin
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to