#1742: Warnings in system headers -----------------------------+----------------------------- Reporter: sebastian.huber | Owner: ralf.corsepius Type: defect | Status: closed Priority: normal | Milestone: 4.11 Component: Newlib | Version: 4.11 Severity: normal | Resolution: wontfix Keywords: | -----------------------------+----------------------------- Changes (by gedare):
* version: unspecified => 4.11 * milestone: => 4.11 Old description: > Adding -Wsystem-headers to the CFLAGS reveals the following warnings: > > /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- > rtems4.11/include/sys/cdefs.h:53:0: warning: "__P" redefined > ../../../../../sis/lib/include/rtems/bsd/sys/cdefs.h:61:0: note: this is > the location of the previous definition > /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- > rtems4.11/include/sys/cdefs.h:88:0: warning: "__weak_reference" redefined > ../../../../../sis/lib/include/rtems/bsd/sys/cdefs.h:149:0: note: this is > the location of the previous definition > /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- > rtems4.11/include/sys/cdefs.h:91:0: warning: "__warn_references" > redefined > ../../../../../sis/lib/include/rtems/bsd/sys/cdefs.h:152:0: note: this is > the location of the previous definition > > /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- > rtems4.11/include/sys/types.h:393:0: warning: "PTHREAD_MUTEX_NORMAL" > redefined > /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- > rtems4.11/include/sys/types.h:310:0: note: this is the location of the > previous definition > /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- > rtems4.11/include/sys/types.h:394:0: warning: "PTHREAD_MUTEX_RECURSIVE" > redefined > /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- > rtems4.11/include/sys/types.h:325:0: note: this is the location of the > previous definition > /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- > rtems4.11/include/sys/types.h:396:0: warning: "PTHREAD_MUTEX_DEFAULT" > redefined > /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- > rtems4.11/include/sys/types.h:332:0: note: this is the location of the > previous definition New description: Adding -Wsystem-headers to the CFLAGS reveals the following warnings: /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- rtems4.11/include/sys/cdefs.h:53:0: warning: "__P" redefined ../../../../../sis/lib/include/rtems/bsd/sys/cdefs.h:61:0: note: this is the location of the previous definition /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- rtems4.11/include/sys/cdefs.h:88:0: warning: "__weak_reference" redefined ../../../../../sis/lib/include/rtems/bsd/sys/cdefs.h:149:0: note: this is the location of the previous definition /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- rtems4.11/include/sys/cdefs.h:91:0: warning: "__warn_references" redefined ../../../../../sis/lib/include/rtems/bsd/sys/cdefs.h:152:0: note: this is the location of the previous definition /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- rtems4.11/include/sys/types.h:393:0: warning: "PTHREAD_MUTEX_NORMAL" redefined /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- rtems4.11/include/sys/types.h:310:0: note: this is the location of the previous definition /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- rtems4.11/include/sys/types.h:394:0: warning: "PTHREAD_MUTEX_RECURSIVE" redefined /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- rtems4.11/include/sys/types.h:325:0: note: this is the location of the previous definition /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- rtems4.11/include/sys/types.h:396:0: warning: "PTHREAD_MUTEX_DEFAULT" redefined /opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.5.2/../../../../sparc- rtems4.11/include/sys/types.h:332:0: note: this is the location of the previous definition -- -- Ticket URL: <http://devel.rtems.org/ticket/1742#comment:4> RTEMS Project <http://www.rtems.org/> RTEMS Project _______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs