bug-recutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-recutils] [bug #52214] gcc7 problem with implicit function declarat


From: Luigi Baldoni
Subject: [bug-recutils] [bug #52214] gcc7 problem with implicit function declarations
Date: Thu, 12 Oct 2017 09:48:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?52214>

                 Summary: gcc7 problem with implicit function declarations
                 Project: GNU recutils
            Submitted by: aloysius
            Submitted on: Thu 12 Oct 2017 03:48:46 PM CEST
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I'm packaging recutils for openSUSE and rpmlint throws a few complaints about
functions being declared implicitly.
I fixed most of them with the attached patch, but I'm not sure how to solve
this one:

E: gnu-recutils implicit-fortify-decl rec-sex-tab.c:66

---
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../lib -DLOCALEDIR=\"/usr/share/locale\"  -DUUID_TYPE   -fmessage-length=0
-grecord-gcc-switches -$
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../lib
-DLOCALEDIR=\"/usr/share/locale\" -DUUID_TYPE -fmessage-length=0
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -f$
$ches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -g -c -o rec-sex-tab.lo 
rec-sex-tab.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../lib
-DLOCALEDIR=\"/usr/share/locale\" -DUUID_TYPE -fmessage-length=0
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -f$
rec-sex-tab.c: In function 'sexparse':
rec-sex-tab.c:66:25: warning: implicit declaration of function 'sexlex'; did
you mean 'strlen'? [-Wimplicit-function-declaration]
 #define yylex           sexlex
                         ^
---

(also see attached full log)




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 12 Oct 2017 03:48:46 PM CEST  Name:
recutils-1.7-fix_implicit_declarations.patch  Size: 2KiB   By: aloysius

<http://savannah.gnu.org/bugs/download.php?file_id=42124>
-------------------------------------------------------
Date: Thu 12 Oct 2017 03:48:46 PM CEST  Name: recutils.log  Size: 257KiB   By:
aloysius

<http://savannah.gnu.org/bugs/download.php?file_id=42125>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52214>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]