This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

other/8584: pragma directive not recognized


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]