public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: lmp@carb.nist.gov
To: gcc-gnats@gcc.gnu.org
Subject: other/8584: pragma directive not recognized
Date: Thu, 21 Nov 2002 00:16:00 -0000	[thread overview]
Message-ID: <20021114211943.23395.qmail@sources.redhat.com> (raw)


>Number:         8584
>Category:       other
>Synopsis:       pragma directive not recognized
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 14 13:26:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     lmp@carb.nist.gov
>Release:        unknown-1.0
>Organization:
>Environment:
irix 6.5
>Description:
I am trying to compile something that works on linux on a unix.
I am getting multitudes of errors that say something like the 
following.  There is probably just a flag I need to set but which one?

********************************
TOP OF MAKEFILE
CC       = gcc
CXX      = CC
LEX      = flex
YACC     = yacc
CFLAGS   = -n32 -woff 1021,1209,1233,1314,1355,1375,1506 -fullwarn -O2 -OPT:Olimit=3000  -DQT_NO_DEBUG
CXXFLAGS = -n32 -LANG:std=ON -LANG:ansi-for-init-scope=ON:bool=ON -woff 1021,1209,1233,1314,1355,1375,1506,1681,1682,3496 -fullwarn -O2 -OPT:Olimit_opt=on  -DQT_NO_DEBUG
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I$(QTDIR)/include -I.ui/ -I../100902 -I.moc/ -I$(QTDIR)/mkspecs/default -I/usr/freeware/include/g++-v3/ -I/usr/freeware/include/g++-v3/mips-sgi-irix6.5/
LINK     = CC
LFLAGS   = -n32
*****************************

ERRORS:

cc-1155 CC: WARNING File = /usr/freeware/include/g++-v3/bits/std_cstring.h, Line = 39
  The indicated "#pragma" directive is not recognized.

  #pragma GCC system_header
          ^

cc-1020 CC: ERROR File = /usr/freeware/include/g++-v3/bits/std_cstring.h, Line = 96
  The identifier "__builtin_strchr" is undefined.

    { return __builtin_strchr(const_cast<const char*>(__s1), __n); }
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-11-14 21:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-21  0:16 lmp [this message]
2002-12-04 14:37 bangerth

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=20021114211943.23395.qmail@sources.redhat.com \
    --to=lmp@carb.nist.gov \
    --cc=gcc-gnats@gcc.gnu.org \
    /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).