Package: inform6-compiler
Version: 6.33-2
Severity: normal
Tags: upstream
Control: forwarded -1 https://github.com/DavidKinder/Inform6/issues/11

When compiling with GCC version 6, the compiler warns about an
implicit function declaration:

=====
$ gcc --version
gcc (Debian 6.1.1-11) 6.1.1 20160802
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gcc -DUNIX64 -c -o inform.o inform.c
In file included from inform.c:11:0:
header.h: In function ‘unique_task_id’:
header.h:457:19: warning: implicit declaration of function ‘getpid’ 
[-Wimplicit-function-declaration]
 {   return (int32)getpid();
                   ^~~~~~
=====

This indicates an existing problem (functions should be explicitly
declared) that was not being reported by some earlier compiler
versions.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages inform6-compiler depends on:
ii  libc6  2.23-5

Versions of packages inform6-compiler recommends:
ii  fizmo-console [zcode-interpreter]   0.7.10-2
ii  fizmo-ncursesw [zcode-interpreter]  0.7.10-2
ii  frotz [zcode-interpreter]           2.44-0.1
ii  gargoyle-free [zcode-interpreter]   2011.1a-3+b2
ii  inform6-library                     6.12~dfsg.1-1
ii  zoom-player [zcode-interpreter]     1.1.5~dfsg-3

Versions of packages inform6-compiler suggests:
ii  inform-mode  1.5.8-3
pn  inform6-doc  <none>

-- no debconf information

-- 
 \       “Everyone is entitled to their own opinions, but they are not |
  `\            entitled to their own facts.” —US Senator Pat Moynihan |
_o__)                                                                  |
Ben Finney <bign...@debian.org>

Attachment: signature.asc
Description: PGP signature

Reply via email to