public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Charles Curley <ccurley@wyoming.com>
To: "Dr. W. L. Jarrett" <William.Jarrett@usm.edu>
Cc: gnu-win32@cygnus.com
Subject: Re: GCC Include/Regex error
Date: Sun, 05 Oct 1997 07:38:00 -0000	[thread overview]
Message-ID: <3.0.2.32.19971004163324.00996cb0@mailhost.wyoming.com> (raw)
In-Reply-To: <2.2.16.19971003091849.1107c9b8@ocean-mail.st.usm.edu>

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".

      reply	other threads:[~1997-10-05  7:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-03  7:13 Dr. W. L. Jarrett
1997-10-05  7:38 ` Charles Curley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3.0.2.32.19971004163324.00996cb0@mailhost.wyoming.com \
    --to=ccurley@wyoming.com \
    --cc=William.Jarrett@usm.edu \
    --cc=gnu-win32@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).