[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: KNumber-Library (Ultra)
From: Dave Feustel <dfeustel () verizon ! net>
Date: 2005-08-22 19:46:33
Message-ID: 200508221446.34064.dfeustel () verizon ! net
[Download RAW message or body]
On Monday 22 August 2005 13:51, Ariya Hidayat wrote:
>
> > I have cleaned up some of the souce code problems that Visual
> > Studio ignores, although there are still compile errors.
> > I will try to get those errors fixed within a day or two.
>
> Do you mean that you're trying to compile this with gcc?
> If yes, that's good!
Actually g++. I have got the errors down to the following
(some kind of problem with contructor definitions), which
I still don't understand. Hints are welcome! :-}
Note the original code compiles and runs under MS Visual studio.
Use of g++ is what forces the code cleanup.
===================================
/home/daf/Ultra/Ultracpp}g++ -c ultdefs.cpp
ultdefs.cpp: In constructor `UINT::UINT(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
ultdefs.cpp:942: error: conversion from `U10INT' to non-scalar type `UINT'
requested
ultdefs.cpp: At global scope:
ultdefs.cpp:953: error: prototype for `UINT::UINT(U10INT)' does not match any
in class `UINT'
ultrah.h:285: error: candidates are: UINT::UINT(UREAL)
ultrah.h:284: error: UINT::UINT(U10REAL)
ultdefs.cpp:940: error: UINT::UINT(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)
ultdefs.cpp:929: error: UINT::UINT(const UINT&)
ultdefs.cpp:919: error: UINT::UINT(UINT*)
ultdefs.cpp:890: error: UINT::UINT(long unsigned int)
ultdefs.cpp:858: error: UINT::UINT(long int)
ultdefs.cpp:827: error: UINT::UINT(unsigned int)
ultdefs.cpp:795: error: UINT::UINT(int)
ultdefs.cpp:763: error: UINT::UINT(short int)
ultdefs.cpp:756: error: UINT::UINT()
===================================
I also will put up a small program to compile and test with the code.
--
Tired of having to defend against Malware?
(You know: trojans, viruses, SPYWARE, worms and popups)
Then Switch to OpenBSD with a KDE desktop!!!
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic