bugPSPP - Bugs: bug #49303, debian build system - implicit...

 
 

bug #49303: debian build system - implicit function declaration warning for PSPP.c

Submitted by:  Friedrich Beckmann <beckmanf>
Submitted on:  Mon 10 Oct 2016 08:04:37 AM UTC  
 
Category: Compilation/PortabilitySeverity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 10 Oct 2016 11:02:58 AM UTC, comment #1:

I think this is fixed with

http://git.savannah.gnu.org/cgit/pspp.git/commit/perl-module?id=f717491d5f3adb72858b4cb0647359cb6650b862

Friedrich

Friedrich Beckmann <beckmanf>
Project Member
Mon 10 Oct 2016 08:04:37 AM UTC, original submission:

The debian build shows an implicit function declaration in the build log

https://buildd.debian.org/status/fetch.php?pkg=pspp&arch=amd64&ver=0.10.2-1&stamp=1476052148

for the compilation of PSPP.c

==== Snippet from build.log ===

make[6]: Leaving directory '/«PKGBUILDDIR»/perl-module'
Running Mkbootstrap for PSPP ()
chmod 644 "PSPP.bs"
"/usr/bin/perl" "/usr/share/perl/5.24/ExtUtils/xsubpp" -typemap "/usr/share/perl/5.24/ExtUtils/typemap" -typemap "typemap" PSPP.xs > PSPP.xsc && mv PSPP.xsc PSPP.c
cp lib/PSPP.pm blib/lib/PSPP.pm
x86_64-linux-gnu-gcc -c -I /«PKGBUILDDIR» -I /«PKGBUILDDIR»/src -I /«PKGBUILDDIR»/gl -I /«PKGBUILDDIR»/gl -I /«PKGBUILDDIR» -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.10.2\" -DXS_VERSION=\"0.10.2\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE" PSPP.c
In file included from /«PKGBUILDDIR»/src/libpspp/hmapx.h:118:0,
from /«PKGBUILDDIR»/src/data/attributes.h:20,
from PSPP.xs:44:
PSPP.xs: In function 'find_input_format':
PSPP.xs:186:28: warning: implicit declaration of function 'hash_pointer' [-Wimplicit-function-declaration]
hash_pointer (var, 0), &dict->input_formats)
^
/«PKGBUILDDIR»/src/libpspp/hmap.h:132:25: note: in definition of macro 'HMAP_NULLABLE_DATA'
hmap_nullable_data__ (NODE, offsetof (STRUCT, MEMBER))
^~~~
/«PKGBUILDDIR»/src/libpspp/hmap.h:234:17: note: in expansion of macro 'HMAP_FIRST_IN_BUCKET'
for ((DATA) = HMAP_FIRST_IN_BUCKET (STRUCT, MEMBER, HMAP, HASH); \
^~~~~~~~~~~~~~~~~~~~
PSPP.xs:185:3: note: in expansion of macro 'HMAP_FOR_EACH_IN_BUCKET'
HMAP_FOR_EACH_IN_BUCKET (input_format, struct input_format, hmap_node,
^~~~~~~~~~~~~~~~~~~~~~~

Friedrich Beckmann <beckmanf>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by beckmanf (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 10 Oct 2016 11:02:58 AM UTCbeckmanfStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1