Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2001 15:22:47 +0100
From:      Thomas Stratmann <thomas.stratmann@ruhr-uni-bochum.de>
To:        freebsd-ports@freebsd.org
Subject:   Compile failure in make of port kde11 / kwrite
Message-ID:  <3A87F1B7.96E14BB@ruhr-uni-bochum.de>

next in thread | raw e-mail | index | archive | help
Hi everyone,

during make install for kde11, compilation for kwrite failed:
compiler complained about syntax error in kwdoc.h line 281 before "::"
(compiler failed compiling highlight.cpp)
This line reads: Nkf::NkfCode JPcode;

which suggests that #include'ing 'nkf.h' is a good idea. The beginning
of
kwdoc.h reads

#ifndef _KWDOC_H_
#define _KWDOC_H_

#include <qobject.h>
#include <qlist.h>
#include <qcolor.h>
#include <qfont.h>
#include <qfontmet.h>

#ifdef QT_I18N
#include <stdio.h>
#include <nkf.h>
#define iseucchar(a)  (0xa0 <= (unsigned char)(a) && (unsigned char)(a)
<= 0xfe)
#endif

#include "kwview.h"
#include "highlight.h"

class TextLine {
.
.
.

so inclusion of 'nkf.h' is conditioned. I commented out #ifdef QT_I18N
and #endif lines
and the compilation worked.

Will I now get a japanese kwrite? ;-)

Is anybody else having similar problems?

Regards
Thomas Stratmann


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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