From: ccurley AT wyoming DOT com (Charles Curley) Subject: Re: GCC Include/Regex error 5 Oct 1997 07:51:24 -0700 Message-ID: <3.0.2.32.19971004163324.00996cb0.cygnus.gnu-win32@mailhost.wyoming.com> References: <2 DOT 2 DOT 16 DOT 19971003091849 DOT 1107c9b8 AT ocean-mail DOT st DOT usm DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Dr. W. L. Jarrett" Cc: gnu-win32 AT cygnus DOT com At 09:12 3/10/97 -0500, Dr. W. L. Jarrett wrote: >Dear Comrades: > I am new to C++, so please be kind. I am having problems compiling >some code that runs under Linux and IRIX 6.2. > > a) statements looking for special *.h files in the source >code directory does not work; I had to transfer them to the /include/g++ >directory of GNUWin32; How do I avoid that in general; #includes with are typically system header files. They are found in the include path, which is defined by the include environmental variable. For your own #include files, ones that belong to your project, use "quotes", not . E.g: #include "myheader.h" That distinction is ANSI C, and should also apply to standard C++. Hope that helps. > > > b) I am getting these error messages: > >I:\\Programs\\gnuwin32\\b18\\H-i386-cygwin32\\lib\\gcc-lib\\i386-cygwin32\\c >ygnus-2.7.2-970404\\../../../../../include/g++/_regex.h:41: >`Regex::Regex(const class Regex &)' is private >//i/programs/gamma-3.5.2/share/src/SinglePar.cc:416: within this context >c++: Internal compiler error: program cc1plus got fatal signal 33 > >What is Regex.h, and what does it mean that it is "private" I would guess that it is a header for regular expressions. If your program is not calling it, or one of the files #included in your program, then I suspect that the compiler is trying to pinpoint where its problem is occuring. I have no idea what the "private" label means. Anyone else? Hope that helps. -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".