Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: sumner@metrowerks.com (Joel Sumner) Newsgroups: scea.yaroze.programming.codewarrior,scea.yaroze.problems.pc Subject: Re: CodeWarrior woes -- compiling C++ files Date: Thu, 26 Jun 1997 03:22:31 -0700 Organization: Metrowerks Lines: 57 Message-ID: References: <33B1F151.2887@ix.netcom.com> NNTP-Posting-Host: 198.214.227.194 X-Newsreader: Anawave Gravity v1.10 Xref: chuka.playstation.co.uk scea.yaroze.programming.codewarrior:76 scea.yaroze.problems.pc:79 Hi there, The CodeWarrior C++ parser is still missing a few things in the C++ compliance department. The main one (as you have noticed) is namespaces. However, I think we simply ignore the "namespace" keyword right now but if you try and reference something as std::stdfunc() I think it will fail. There are some other C++ deficiencies in relation to partial member template instantiation but I doubt you are running into those. Hope that helps -Joel In article <33B1F151.2887@ix.netcom.com>, spelwevr@ix.netcom.com says... > I have encountered some problems that hopefully someone here can > help me with.... > I have spent a fair amount of time lovingly crafting a beautiful, > elegant set of C++ libraries for the Yaroze. However, when I went > to build the project (using CodeWarrior), I encountered over 100 > errors! > Nervously sweating, and with visions of huge volumes of flawed > code burning in my mind, I inspected the error list. Lo and > behold, none of the errors were what I would perceive as errors. > For instance, the compiler steadfastly refuses to have anything > to do with namespaces; also, it seemed to think that just about > any symbol was some vile error of most grave nature. I never > even finished perusing the massive list; probably, the last > error was a "too many errors" error. > This only happens with C++ code. As far as I can tell, CodeWarrior > knows that it is a C++ file, and knows to compile it as such, but > one never knows.... > I do not particularly like the CodeWarrior editor (under Windows), > and so when developing my code, I use something like Borland or > MicroSloth for editing, and I periodically check it for syntax > flaws this way as well. The code is clean and pristine, but > CodeWarrior hates it. How can I get this to work? Also, for > some unspecified reason, it sometimes (but not always) fails to > find standard headers. I cannot reliably recreate this problem, > however. > I am using CodeWarrior for Windows, with the updated patch (which > is a nice improvement, but it still needs some work...). > > P.S. -- When the final update CD is sent out to Registered Owners, > is there any chance that printed documentation will be available/ > included? It is terribly difficult to deal with online documentation, > and I cannot print it out. > > --- > Floating World Creations > http://www.scea.sony.com/net/yaroze/pages/jblack.html > ...featuring PSXsock 1.02 -- link up Yarozes over any TCP/IP network! >