I finally installed Kylix3 in redhat, following
http://www.linuxquestions.org/quest...2003/08/3/42518
this thread ( compat-glib and few other changes). I can compile and run a dialog without crashing. However as a console project following code error out
#include <iostream>
#pragma hdrstop
//---------------------------------------------------------------------------
#pragma argsused
using namespace std;
int main(int argc, char* argv[])
{
cout<<"This will error out";
//**************************
//std::cout<<"Same error";::
return 0;
}
this error happens once I put
#include <iostream> or
#include <iostream.h>
and compile.
Error is in _algobase.h
Error message
[C++ Error] _algobase.h(629): E2285 Could not find a match for 'min<_Tp,_Compare>(const unsigned int,const unsigned int)'
[C++ Error] _algobase.h(660): E2285 Could not find a match for 'min<_Tp,_Compare>(const int,const int)'
if I change the order of the /usr/i386-glibc21-linux/include from the top to bottom in project option I get a huge error message which I am attaching here as an attachment.
Any Idea anyone?
Thanks in advance.