bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with DATADIR on Mingw


From: Bruno Haible
Subject: Re: Problem with DATADIR on Mingw
Date: Fri, 12 Apr 2024 18:55:40 +0200

Reuben Thomas wrote:
> With up-to-date gnulib (and I can't see any relevant changes for some
> years), I am getting the following error while using the configmake module
> and building on Mingw 64 x86_64:
> 
> In file included from <command-line>:
> C:/msys64/mingw64/include/objidl.h:10677:3: error: expected identifier or
> '(' before string constant
> 10677 | } DATADIR;
> | ^~~~~~~

Many packages work around this by doing '#undef DATADIR' somewhere [1].

For more investigation, we would need the complete include files stack,
as gcc prints it after "In file included ...".

Bruno

[1] 
https://sources.debian.org/src/evince/46.0-1/cut-n-paste/libdazzle/dzl-file-manager.c/?hl=32#L32






reply via email to

[Prev in Thread] Current Thread [Next in Thread]