Subject: pkg/14121: x11/qwspritefield won't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: seebs <seebs@ged.plethora.net>
List: netbsd-bugs
Date: 10/01/2001 21:44:30
>Number: 14121
>Category: pkg
>Synopsis: qwspritefield gets compiler errors
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 01 19:49:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: seebs
>Release: a couple days ago
>Organization:
>Environment:
System: NetBSD ged.plethora.net 1.5Y NetBSD 1.5Y (GED) #0: Mon Sep 24 11:34:20 CDT 2001 seebs@ged.plethora.net:/usr/src/sys/arch/i386/compile/GED i386
Architecture: i386
Machine: i386
>Description:
x11/qwspritefield fails to compile, saying:
/usr/pkg/bin/libtool --mode=compile c++ -O2 -I/usr/X11R6/qt1/include -I. -c QwSpriteField.cpp
c++ -O2 -I/usr/X11R6/qt1/include -I. -c QwSpriteField.cpp -fPIC -DPIC -o .libs/QwSpriteField.o
QwSpriteField.cpp: In method `bool QwPolygonalGraphic::scan(const QRect &) const':
QwSpriteField.cpp:2673: converting `int (*)(int *, int *)' to `int (*)(const void *, const void *)' is a contravariance violation
QwSpriteField.cpp:2705: converting `int (*)(Edge *, Edge *)' to `int (*)(const void *, const void *)' is a contravariance violation
gmake: *** [QwSpriteField.o] Error 1
>How-To-Repeat:
See above.
>Fix:
Probably fix the code. Ick!
>Release-Note:
>Audit-Trail:
>Unformatted: