public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* GCC Include/Regex error
@ 1997-10-03  7:13 Dr. W. L. Jarrett
  1997-10-05  7:38 ` Charles Curley
  0 siblings, 1 reply; 2+ messages in thread
From: Dr. W. L. Jarrett @ 1997-10-03  7:13 UTC (permalink / raw)
  To: gnu-win32

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)   <include> 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;


 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"

Thank you for your assistance,


Dr. W. L. Jarrett
University of Southern Mississippi
Department of Polymer Science
2609 W. Fourth St.
Hattiesburg, MS  34906-5103

Phone:  (601)266-4551
Fax:       (601)266-5504
email:  William.Jarrett@usm.edu

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GCC Include/Regex error
  1997-10-03  7:13 GCC Include/Regex error Dr. W. L. Jarrett
@ 1997-10-05  7:38 ` Charles Curley
  0 siblings, 0 replies; 2+ messages in thread
From: Charles Curley @ 1997-10-05  7:38 UTC (permalink / raw)
  To: Dr. W. L. Jarrett; +Cc: gnu-win32

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)   <include> 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 <brackets> 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 <brackets>. 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@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-10-05  7:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-03  7:13 GCC Include/Regex error Dr. W. L. Jarrett
1997-10-05  7:38 ` Charles Curley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).