Hi Yes - that’s how I fixed it too. There are several files I need to do that with. Is this something that should be upstreamed? Should I put a patch together or are you already doing this?
Mike On Sat, Nov 18, 2023 at 18:38 Bjarni Ingi Gislason <bjarn...@simnet.is> wrote: > I have this in my private branch > > Date: Mon Aug 7 17:19:42 2023 +0000 > > src/devices/grodvi/dvi.cpp: add "#include <config.h>" at the > beginning > > Error from clang++-16 > > CXX src/devices/grodvi/dvi.o > In file included from ../src/devices/grodvi/dvi.cpp:19: > In file included from ./lib/assert.h:78: > ./lib/stddef.h:107:3: error: "Please include config.h first." > #error "Please include config.h first." > ^ > > diff --git a/src/devices/grodvi/dvi.cpp b/src/devices/grodvi/dvi.cpp > index 2b47f5d21..350258cd6 100644 > --- a/src/devices/grodvi/dvi.cpp > +++ b/src/devices/grodvi/dvi.cpp > @@ -16,6 +16,7 @@ for more details. > You should have received a copy of the GNU General Public License > along with this program. If not, see <http://www.gnu.org/licenses/>. > */ > > +#include <config.h> > #include <assert.h> > > #include "driver.h" >