[Bug c/30750] New: Cannot compile: conflicting types for 'sys_errlist'
acoletti at smrcusa dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 9 21:39:00 GMT 2007
Dear Sir or Madam,
Could you please help me in solving this conflict on compilation? The
sys_errlist.h is defined under the TOOLKIT directory and the one in
/usr/include/bits needs to be excluded.
This bug is very similar to one reported for cygwin, but I am usind a RedHat
box and I ma NOT using cygwin.
Thank you in advance,
Alex
In file included from
/home/..../PGE04_untar/PGE04_V5.2.5/shared_src/atmos_src/src_UW/modis_grib_read.c:8:
/home/.../bin/TOOLKIT/include/PGS_SMF.h:200: error: conflicting types for
'sys_errlist'
/usr/include/bits/sys_errlist.h:28: error: previous declaration of
'sys_errlist' was here
/home/..../bin/TOOLKIT/include/PGS_SMF.h:200: error: conflicting types for
'sys_errlist'
/usr/include/bits/sys_errlist.h:28: error: previous declaration of
'sys_errlist' was here
--
Summary: Cannot compile: conflicting types for 'sys_errlist'
Product: gcc
Version: 3.4.6
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: acoletti at smrcusa dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30750
More information about the Gcc-bugs
mailing list