bugGNU recutils - Bugs: bug #52214, gcc7 problem with implicit...


bug #52214: gcc7 problem with implicit function declarations

Submitted by:  Luigi Baldoni <aloysius>
Submitted on:  Thu 12 Oct 2017 01:48:46 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 12 Oct 2017 01:48:46 PM UTC, original submission:  

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)

Luigi Baldoni <aloysius>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #42125:  recutils.log added by aloysius (257KiB - text/x-log)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by aloysius (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-10-12 aloysius Attached File- => Added recutils-1.7-fix_implicit_declarations.patch, #42124
        Attached File- => Added recutils.log, #42125

    Back to the top

    Powered by Savane 3.5