[Bug 916] New: Circular dependency in some xenomai headers

http://bugs.orocos.org/show_bug.cgi?id=916

Summary: Circular dependency in some xenomai headers
Product: Toolchain
Version: 2.5.0
Platform: Other
OS/Version: Xenomai 2.x
Status: NEW
Severity: critical
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: charles [dot] lesire [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Created attachment 753
--> http://bugs.orocos.org/attachment.cgi?id=753
patch

The xenomai/fosi.h and the os/oro_arch.h files were including each other,
leading to undefined types in one or the other.

First encountered error while cross-compiling for ARM+Xenomai : the rt_mutex_t
was not yet declared!

The attached patch allowed me to cross-compile for ARM+Xenomai, and to compile
for my host system and gnulinux.

I have not tested Xenomai compilation on my i686.

[Bug 916] Circular dependency in some xenomai headers

http://bugs.orocos.org/show_bug.cgi?id=916

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |peter [..] ...
Resolution| |FIXED