[Bug c++/72806] New: Extra note/missing not location for __builtin_va_list
denis.campredon at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Aug 4 19:59:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72806
Bug ID: 72806
Summary: Extra note/missing not location for __builtin_va_list
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: denis.campredon at gmail dot com
Target Milestone: ---
Compiling the following code
----------------
void f(struct __builtin_va_list* ap);
----------------
Will result in an unfinished message
./Messages.h:1:15: error: using typedef-name ‘__builtin_va_list’ after ‘struct’
void f(struct __builtin_va_list* ap);
^~~~~~~~~~~~~~~~~
cc1plus: note: ‘__builtin_va_list’ has a previous declaration here
I would expect no note or the compiler saying that __builtin_va_list is a
builtin_type.
More information about the Gcc-bugs
mailing list