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