yzysea <yangjing47686@xxxxxxx> writes: > Recently, I am reading a C parser source code generated by Bison. The > underlying OS is opensolaris. However, when I use it to parse a simple C > source file, say,"Hello.c", I get the error message > "/usr/inclue/sys/va_list.h:parse error before __gnuc_va_list". As I open > this file, I find the following line "typedef __builtin_va_list > __gnuc_va_list</i>". Strangely, I couldn't find the definition of > "__builtin_va_list " even I checked all its including head files and > recursively theirs. I have been confused about it for long. > > Would anyone give me some ideas about it? What is the "_builtin_va_list" > referring to? What can it be used for? __builtin_va_list is automatically defined by gcc. This permits gcc to recognize and optimize uses of va_start and friends. Ian