Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2004 15:51:07 +0200
From:      "Christian Hiris" <4711@chello.at>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/70079: [patch] editors/kxmleditor - build target fails with gcc 3.4.2 on CURRENT
Message-ID:  <1091800267.0@matrix010.matrix.net>
Resent-Message-ID: <200408061400.i76E0jsO000882@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70079
>Category:       ports
>Synopsis:       [patch] editors/kxmleditor - build target fails with gcc 3.4.2 on CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 06 14:00:44 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Christian Hiris
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 5.2-CURRENT #0: Tue Aug  3 01:29:05 CEST 2004
    pfnu@matrix010.matrix.net:/usr/obj/usr/src/sys/MATRIX010



>Description:


gmake[3]: Entering directory `/usr/wrkdir/usr/ports/editors/kxmleditor/work/kxmleditor-1.0.0/part'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include  -I/usr/local/include  -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -O -pipe -fno-exceptions -fno-check-new  -MT kxmleditorfactory.lo -MD -MP -MF ".deps/kxmleditorfactory.Tpo" \
  -c -o kxmleditorfactory.lo `test -f 'kxmleditorfactory.cpp' || echo './'`kxmleditorfactory.cpp; \
then mv -f ".deps/kxmleditorfactory.Tpo" ".deps/kxmleditorfactory.Plo"; \
else rm -f ".deps/kxmleditorfactory.Tpo"; exit 1; \
fi
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
kxmleditorfactory.cpp:32: error: extra `;'
kxmleditorfactory.cpp:56: warning: unused parameter 'args'
gmake[3]: *** [kxmleditorfactory.lo] Error 1
gmake[3]: Leaving directory `/usr/wrkdir/usr/ports/editors/kxmleditor/work/kxmleditor-1.0.0/part'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/wrkdir/usr/ports/editors/kxmleditor/work/kxmleditor-1.0.0/part'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/wrkdir/usr/ports/editors/kxmleditor/work/kxmleditor-1.0.0'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/editors/kxmleditor.

jail003# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728


>How-To-Repeat:


cd /usr/ports/editors/kxmleditor
make


>Fix:


--- patch-part_kxmleditorfactory.cpp begins here ---
--- part/kxmleditorfactory.cpp.orig	Sat Jan  3 22:34:13 2004
+++ part/kxmleditorfactory.cpp	Fri Aug  6 15:42:27 2004
@@ -29,7 +29,7 @@
 	{
 		return new KXMLEditorFactory;
 	}
-};
+}
 
 KInstance * KXMLEditorFactory::s_instance = 0L;
 KXEConfiguration * KXMLEditorFactory::s_pKXEConfig = 0L;
--- patch-part_kxmleditorfactory.cpp ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1091800267.0>