public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53378] New: gcc/regs.h hides system header regs.h on vxWorks
@ 2012-05-16 16:22 rbmj at verizon dot net
  2012-05-16 16:33 ` [Bug target/53378] " pinskia at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: rbmj at verizon dot net @ 2012-05-16 16:22 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378

             Bug #: 53378
           Summary: gcc/regs.h hides system header regs.h on vxWorks
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rbmj@verizon.net


This may be not-a-bug or wont-fix, but when I'm compiling gcc 4.7.0 on vxWorks,
libgcc/config/vxlib.c #includes taskLib.h.  This vxWorks header then includes
regs.h, another vxWorks system header.  However, at compile time, gcc/regs.h is
included instead.  This conflict causes a multitude of compilation errors.

The current workaround is to go into taskLib.h and change #include <regs.h> to
#include "./regs.h".  Not pretty, but it works.


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

end of thread, other threads:[~2012-10-30  2:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-16 16:22 [Bug target/53378] New: gcc/regs.h hides system header regs.h on vxWorks rbmj at verizon dot net
2012-05-16 16:33 ` [Bug target/53378] " pinskia at gcc dot gnu.org
2012-05-16 16:50 ` rbmj at verizon dot net
2012-05-18  9:40 ` ebotcazou at gcc dot gnu.org
2012-05-18 12:32 ` rbmj at verizon dot net
2012-05-23 17:40 ` rbmj at verizon dot net
2012-05-23 17:58 ` ebotcazou at gcc dot gnu.org
2012-05-23 18:11 ` rbmj at verizon dot net
2012-05-23 18:53 ` ebotcazou at gcc dot gnu.org
2012-05-23 20:16 ` rbmj at verizon dot net
2012-06-25 18:25 ` rbmj at verizon dot net
2012-10-30  2:01 ` rbmj at verizon dot net

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