Unsuccessful Installment of Compiler for Who's Afraid of More C++

greenspun.com : LUSENET : Steve Heller's books : One Thread

I successfully installed the compiler for Who's Afraid of C++?, and worked through that book. But I have not been able to install the compiler for Who's Afraid of More C++.

When I try to compile itemtst1, I get:

c:/djgpp/lang/cxx/_G_config.h(20) Error: parse error before '_extension_' item1.cc(1) In file included from item1.cc:1: c:/djgpp/lang/cxx/iostream.h(91) Error: parse error before '_extension_', c:/djgpp/lang/cxx/iostream.h(208) Error: parse error before '_extension_' There were some errors.

I double checked everything, including the djgpp stuff in the setdos.bat file, but found nothing. I went through the whole installation process one more time, but got the same result.

Doubtlessly I am doing something equivalent to forgetting to turn the computer on. What is it I am doing wrong?

-- Cliff Wirt (DementedMagpie@hotmail.com), April 09, 1999


Have you deleted the old installation of DJGPP before installing the new version? If not, I'd suggest trying that. Otherwise, I'll need some more information before I can help you, starting with which operating system you are running, the contents of your autoexec.bat and config.sys files (or equivalents for Windows NT), and exactly what you are typing to run the compiler.

-- Steve Heller (stheller@koyote.com), April 09, 1999.

Thanks for the quick response. The $39 I paid for the book is giving me great service! I followed your suggestion and it worked.

Deleting the old djgpp turned out to be the equivalent here of first verifying that the computer is turned on before trying to fix it.

Cliff Wirt

-- Cliff Wirt (DementedMagpie@hotmail.com), April 09, 1999.

Moderation questions? read the FAQ