[Bug c/80734] New: GCC 6.3.1 errors compiling GCC 4.8.5 - error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute

2017-05-12 Thread eric.parker at inventati dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80734

Bug ID: 80734
   Summary: GCC 6.3.1 errors compiling GCC 4.8.5 - error: ‘const
char* libc_name_p(const char*, unsigned int)’
redeclared inline with ‘gnu_inline’ attribute
   Product: gcc
   Version: 6.3.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
  Assignee: unassigned at gcc dot gnu.org
  Reporter: eric.parker at inventati dot org
  Target Milestone: ---

In file included from ../.././gcc/cp/except.c:1008:0:
cfns.gperf: In function ‘const char* libc_name_p(const char*, unsigned int)’:
cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’
redeclared inline with ‘gnu_inline’ attribute
cfns.gperf:26:14: note: ‘const char* libc_name_p(const char*, unsigned int)’
previously declared here
cfns.gperf: At global scope:
cfns.gperf:26:14: warning: inline function ‘const char* libc_name_p(const
char*, unsigned int)’ used but never defined


GCC version: 6.3.1
System: Fedora 25
GCC configuration: ./configure --prefix=`pwd`../build
GCC build command: make -j `nproc`

[Bug c/80734] GCC 6.3.1 errors compiling GCC 4.8.5 - error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute

2017-05-13 Thread eric.parker at inventati dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80734

--- Comment #2 from Eric Parker  ---
Okay, that works for me. Thanks Jakub.