[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

rbmj at verizon dot net gcc-bugzilla@gcc.gnu.org
Wed May 23 20:16:00 GMT 2012


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

--- Comment #9 from rbmj at verizon dot net 2012-05-23 19:29:23 UTC ---
Created attachment 27482
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27482
Errors introduced by gcc/regs.h

The problem is that gcc/regs.h introduces its own errors.  It looks like it's
missing some other header of its own.  So even if I add #include
<arch/../regs.h> before #include <taskLib.h>, there's still a bunch of errors
from the transitive include.  It would be possible to just add all the extra
includes that gcc/regs.h needs, but it doesn't seem like the *best* solution,
that's all.



More information about the Gcc-bugs mailing list