This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30750] New: Cannot compile: conflicting types for 'sys_errlist'
- From: "acoletti at smrcusa dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2007 21:39:49 -0000
- Subject: [Bug c/30750] New: Cannot compile: conflicting types for 'sys_errlist'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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