[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspell-devel] aspell-0.50.3 compile error
From: |
Kevin Atkinson |
Subject: |
Re: [aspell-devel] aspell-0.50.3 compile error |
Date: |
Wed, 08 Jan 2003 17:44:42 -0500 (EST) |
On Wed, 8 Jan 2003, [iso-8859-2] Martin MOKREJ© wrote:
> Hi,
> I've a problem compiling aspell on Tru64 Unix 5.1A with
> [...]
> cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common
> -I/software/@sys/usr/include -I/usr/local/include
> -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch
> ev6 -I/software/@sys/usr/include -I/usr/local/include
> -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -MD
> data.cpp -DPIC
> cxx: Error: data.hpp, line 49: "aspeller::DataSet::FileName::FileName()"
> provides no initializer for:
> const member "aspeller::DataSet::FileName::name"
> FileName() {clear();}
> -----------------^
> cxx: Error: data.hpp, line 50:
> "aspeller::DataSet::FileName::FileName(acommon::ParmString)"
> provides no initializer for:
> const member "aspeller::DataSet::FileName::name"
> explicit FileName(ParmString str) {set(str);}
> ----------------------------------------^
> cxx: Error: data.hpp, line 51: "aspeller::DataSet::FileName::FileName(const
> aspeller::DataSet::FileName &)" provides no initializer for:
> const member "aspeller::DataSet::FileName::name"
> FileName(const FileName & other) {copy(other);}
This should fix these three problems:
--- data.hpp.~1.2.~ 2002-08-15 19:12:51.000000000 -0400
+++ data.hpp 2003-01-08 17:42:20.000000000 -0500
@@ -46,9 +46,9 @@
void clear();
void set(ParmString);
- FileName() {clear();}
- explicit FileName(ParmString str) {set(str);}
- FileName(const FileName & other) {copy(other);}
+ FileName() : name(0) {clear();}
+ explicit FileName(ParmString str) : name(0) {set(str);}
+ FileName(const FileName & other) : name(0) {copy(other);}
FileName & operator=(const FileName & other) {copy(other); return *this;}
};
class Id;
See if that allows it to compile.
--
http://kevin.atkinson.dhs.org