help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why doesn't code from TYC++in21days work?


From: Guy Harrison
Subject: Re: Why doesn't code from TYC++in21days work?
Date: Fri, 30 Jul 2004 01:00:20 GMT
User-agent: KNode/0.7.7

Gerald Lafreniere wrote:

> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> <b><a
[snip]
^^^
Don't post html to usenet! Fortunately you did post a link...

http://www.libertyassociates.com/pages/files/TYCPP4eSource.zip

Absolutely nothing wrong with this file...

zip:/wrk/TYCPP4eSource.zip/TYCPP 4e Source/WIR/4eWir1.cpp

Your errors commencing with this...

Executing  g++.exe... 
g++.exe "C:\c\4eWir1.cpp" -o "C:\c\4eWir1.exe"    -I"C:\Dev-Cpp\include\c++" 
-I"C:\Dev-Cpp\include\c++\mingw32"  -I"C:\Dev-Cpp\include\c++\backward" 
-I"C:\Dev-Cpp\lib\gcc-lib\mingw32\3.2\include"  -I"C:\Dev-Cpp\include"  
-L"C:\Dev-Cpp\lib" 
C:/c/4eWir1.cpp:46: variable or field `DoDrawRect' declared void 
C:/c/4eWir1.cpp:46: invalid conversion from `BOOL (*)(HDC__*, int, int, int, 
   int)' to `int' 

...indicate a broken setup. Either Dev-Cpp has inappropriately stumbled
across some of those horrible macros in <windows.h>, or you've not pasted
the source verbatim into the IDE (eg: might be a missing brace), or Dev-Cpp
IDE/installation is incorrectly configured/broken.

You need to ask in Dev-Cpp forum what the problem is.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]