Re: [PATCH] ACPI: allow compilation with bare metal compilers

2016-11-15 Thread Al Stone
On 11/15/2016 08:43 AM, Moore, Robert wrote: > The design for all of this is as follows: > > 1) OS-dependent includes > 2) Compiler-specific includes > 3) acenv.h is the master file that pulls in the correct headers (one > compiler, and one OS) Sure, that's understood from the current structure.

RE: [PATCH] ACPI: allow compilation with bare metal compilers

2016-11-15 Thread Moore, Robert
The design for all of this is as follows: 1) OS-dependent includes 2) Compiler-specific includes 3) acenv.h is the master file that pulls in the correct headers (one compiler, and one OS) So, I think I see a couple of possible solutions for you: 1) If you are using GCC, the __GNUC__ symbol shou

Re: [PATCH] ACPI: allow compilation with bare metal compilers

2016-11-14 Thread Al Stone
My bad. Adding Will Deacon who originally reported the error. On 11/14/2016 04:08 PM, Al Stone wrote: > The ACPICA subsystem of the ACPI driver sets up a compilation environment > for itself, adding in multiple typedefs unique to ACPICA that depend on > where ACPICA will be used. > > The vast ma