Bug#711052: xserver-xorg-dev: Includefiles declare external function, that are also declared in included includefiles
Package: xserver-xorg-dev
Version: 2:1.12.4-6
Severity: minor
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
Compilation of xserver-xorg-video-intel
* What exactly did you do (or not do) that was effective (or
ineffective)?
Compilation of xserver-xorg-video-intel
* What was the outcome of this action?
Lots of compilerwarnigs complaining about previous declarations.
* What outcome did you expect instead?
No warnings
1. randrstr.h includes rrtransform.h
In line 581 RRTransformCompute is declared, which is also declared in
rrtransform.h
2. xf86Modes.h includes xf86.h.
In lines 43 to 67 there are 10 functions, that are also declared in xf86.h:
xf86ModeHSync
xf86ModeVRefresh
xf86DuplicateMode
xf86DuplicateModes
xf86SetModeDefaultName
xf86SetModeCrtc
xf86ModesEqual
xf86PrintModeline
xf86ModesAdd
xf86CVTMode
Commenting these declarations in randrstr.h and xf86Modes.h removed the
warnings. As these functions are declared in included includefiles, there
are no undefined names.
Reinhard
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-rc4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xserver-xorg-dev depends on:
ii libpciaccess-dev 0.13.1-2
ii libpixman-1-dev 0.26.0-4
ii libxkbfile-dev 1:1.0.8-1
ii x11proto-core-dev 7.0.23-1
ii x11proto-dri2-dev 2.8-1
ii x11proto-fonts-dev 2.1.2-1
ii x11proto-input-dev 2.2-1
ii x11proto-kb-dev 1.0.6-2
ii x11proto-randr-dev 1.4.0-1
ii x11proto-render-dev 2:0.11.1-2
ii x11proto-video-dev 2.3.1-2
ii x11proto-xext-dev 7.2.1-1
ii x11proto-xinerama-dev 1.2.1-2
xserver-xorg-dev recommends no packages.
xserver-xorg-dev suggests no packages.
-- no debconf information
Reply to: