<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#f2f7ff>
<DIV><FONT size=2>OK. I think I figured it out. Seems to be working;
here's what was required to work with gcc 2.95.1:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>1) "-fpermissive" was required to get rid of the ANSI errors.
This took care of the bulk of problems.</FONT></DIV>
<DIV><FONT size=2>2) 2 libraries "-ldl -ldb" don't exist on my system.
Don't know what they are, but it didn't seem to have a problem linking without
them.</FONT></DIV>
<DIV><FONT size=2>3) The classparser had the remaining problems. In
several files a construct like "str != NULL" was used where str is defined as a
QT object like QString. For some reason, the compiler found this
ambiguous, so I changed it to "str != 0". I hope I didn't break the code--
it appears to work OK. I had to make about 4 changes like this-- if you'd
like me to document them more diligently for the developers, just let me
know.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Regards,</FONT></DIV>
<DIV><FONT size=2>Rick</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:lrmoore@home.com" title=lrmoore@home.com>Rick Moore</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
href="mailto:kdevelop@fara3.cs.uni-potsdam.de"
title=kdevelop@fara3.cs.uni-potsdam.de>kdevelop@fara3.cs.uni-potsdam.de</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, September 24, 1999 9:16
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> I give up! Help!</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2>I've searched the mail archive, and I'm astonished that I'm
the only one with this problem. Please save me from a life cursed
with vi. Your product looks awesome, and I'd really like to get it
working.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>I've tried gcc 2.95 (latest release), egcs 1.1.?, gcc 2.7.x,
and gcc 2.8.1. All of them crap out at various points trying to compile
the source code. From my searches on the mail list, it sounds like you
all have 2.95.1 working so I'll concentrate on that one. I'm running a
fresh install of FreeBSD 3.2. I've confirmed the revision levels of
gmake, autoinstall, flex, etc. The ./configure line is "./configure
--prefix=/usr/local --with-extra-includes=/usr/include/g++".</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Is there anything else I can tell you that might help
diagnose the problem? I'm still somewhat naive to the ways of the open
source community, so it could just be something stupid.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>The compiler output is as follows:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include
-I/usr/X11R6/include/X11/qt -I/usr/include/g++
-I/usr/X11R6/include -O2 -Wall -c ClassParser.cc<BR>In file
included from
/usr/include/g++/iostream.h:31,<BR>
from ClassParser.cc:20:<BR>/usr/include/g++/streambuf.h:394: invalid type
`void *' for default argument to `ios *'<BR>/usr/include/g++/streambuf.h: In
method `ios::~ios()':<BR>/usr/include/g++/streambuf.h:472: warning: `void *'
is not a pointer-to-object type<BR>In file included from
ClassParser.cc:20:<BR>/usr/include/g++/iostream.h: At top
level:<BR>/usr/include/g++/iostream.h:50: invalid type `void *' for default
argument to `ostream *'<BR>/usr/include/g++/iostream.h:117: invalid type `void
*' for default argument to `ostream *'<BR>/usr/include/g++/iostream.h:221:
invalid type `void *' for default argument to `ostream *'<BR>In file included
from
ParsedContainer.h:191,<BR>
from
ParsedClassContainer.h:22,<BR>
from
ClassStore.h:21,<BR>
from
ClassParser.h:27,<BR>
from ClassParser.cc:24:<BR>ParsedStruct.h: In method `const char *
CParsedStruct::asPersistantString(QString &)':<BR>ParsedStruct.h:44: ANSI
C++ forbids implicit conversion from `void *' in return<BR>In file included
from ClassParser.cc:24:<BR>ClassParser.h: At top level:<BR>ClassParser.h:74:
invalid type `void *' for default argument to `const char
*'<BR>ClassParser.cc: In method `class CParsedAttribute *
CClassParser::parseVariable()':<BR>ClassParser.cc:582: ANSI C++ forbids
implicit conversion from `void *' in initialization<BR>ClassParser.cc: In
method `class CParsedMethod *
CClassParser::parseMethodDeclaration()':<BR>ClassParser.cc:804: ANSI C++
forbids implicit conversion from `void *' in assignment<BR>ClassParser.cc: In
method `class CParsedClass *
CClassParser::parseClassHeader()':<BR>ClassParser.cc:1124: ANSI C++ forbids
implicit conversion from `void *' in assignment<BR></FONT></DIV>
<DIV><FONT size=2>...</FONT></DIV></BLOCKQUOTE></BODY></HTML>