public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: other/8584: pragma directive not recognized
@ 2002-12-04 14:37 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-12-04 14:37 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, lmp, nobody

Synopsis: pragma directive not recognized

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Wed Dec  4 14:37:13 2002
State-Changed-Why:
    You are trying to use gcc's header files with the local
    compiler, which is not a gcc, as can be seen from the
    error messages. I don't think this will work, sorry.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8584


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

* other/8584: pragma directive not recognized
@ 2002-11-21  0:16 lmp
  0 siblings, 0 replies; 2+ messages in thread
From: lmp @ 2002-11-21  0:16 UTC (permalink / raw)
  To: gcc-gnats


>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:


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

end of thread, other threads:[~2002-12-04 22:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-04 14:37 other/8584: pragma directive not recognized bangerth
  -- strict thread matches above, loose matches on Subject: below --
2002-11-21  0:16 lmp

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