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

 
 

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

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  Mon 10 Oct 2016 08:04:37 AM UTC
   
 
Category:  Compilation/Portability Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 10 Oct 2016 11:02:58 AM UTC, comment #1: 
Friedrich Beckmann <beckmanf>
Group 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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-10 beckmanf StatusConfirmed Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code