Additionally, use of this GNU extension might preclude a move to a
non-gcc compiler in the future...
On Thu, 14 Sep 2017, Jun Ebihara wrote:
From: [email protected] (Christos Zoulas)
Subject: Re: CVS commit: src/sys/arch/arm/dts
Date: Tue, 12 Sep 2017 11:42:56 -0400
| >>+#include
|
>>"../../../external/gpl2/dts/dist/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts"
|
"/usr/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts"
... original configration.
| +
| "/usr/src/sys/arch/arm/dts/sun8i-h3-orangepi-one.dts" .. config for NetBSD
| +
| "/usr/src/sys/arch/arm/dts/sun8i-h3.dtsi" ... framebuffer enabled
How about #include_next "..."?
I read https://gcc.gnu.org/onlinedocs/cpp/Wrapper-Headers.html .
"The use #include_next can lead to great confusion.
We recommend it be used only when there is no other alternative."
--
Jun Ebihara
!DSPAM:59b9d8ed225461032040117!
+------------------+--------------------------+----------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+