On 8/20/05, Laurence Vanek <[EMAIL PROTECTED]> wrote:
> while attempting to "make" elitaire I get the following:
> 
> ==============
> playingCard.h:33: error: ISO C++ forbids declaration of 'cardDeck' with
> no t
> ype
> playingCard.h:33: error: expected ';' before '*' token
> playingCard.h:42: error: 'cardDeck' has not been declared
> playingCard.h: In constructor 'playingCard::playingCard(short int, bool,
> int*)
> ':
> playingCard.h:46: error: 'myDeck' was not declared in this scope
> playingCard.h: In constructor 'cardDeck::cardDeck(char, char, bool)':
> playingCard.h:77: error: no matching function for call to
> 'playingCard::playin
> gCard(short int&, bool&, cardDeck* const)'
> playingCard.h:42: note: candidates are: playingCard::playingCard(short
> int, bool
> , int*)
> playingCard.h:28: note: playingCard::playingCard(const playingCa
> rd&)
> make[2]: *** [gui.o] Error 1
> make[2]: Leaving directory `/root/elitaire-0.0.4/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/elitaire-0.0.4'
> make: *** [all] Error 2
> ================
> 
> I am running updated Fedora Core 4, with gcc:
> 
> gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5)
> 

The code probably doesn't conform to GCC4's syntax standards. Try
using an older version of GCC or patching it to be better.

-- 
Justin Patrin


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to