This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug stdio/18907] New: Incorrect order of __wur __THROW in <printf.h>


https://sourceware.org/bugzilla/show_bug.cgi?id=18907

            Bug ID: 18907
           Summary: Incorrect order of __wur __THROW in <printf.h>
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: jwakely.gcc at gmail dot com
  Target Milestone: ---

Created attachment 8570
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8570&action=edit
Re-order __wur and __THROW macros.

gcc -O1 -D_FORTIFY_SOURCE -c -x c++ - <<< '#include <printf.h>'


In file included from /usr/include/features.h:365:0,
                 from /usr/include/printf.h:21,
                 from <stdin>:1:
/usr/include/printf.h:114:66: error: expected initializer before âthrowâ
 extern int register_printf_modifier (const wchar_t *__str) __wur __THROW;
                                                                  ^
/usr/include/printf.h:120:70: error: expected initializer before âthrowâ
 extern int register_printf_type (printf_va_arg_function __fct) __wur __THROW;
                                                                      ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]