The moc executable loops through headers on CPLUS_INCLUDE_PATH and stumbles on the GCC internal _GLIBCXX_VISIBILITY macro. Tell it to ignore it as it is not supposed to be looking there to begin with. Upstream report: https://bugreports.qt.io/browse/QTBUG-83160 diff --git a/src/tools/moc/main.cpp b/src/tools/moc/main.cpp --- a/src/tools/moc/main.cpp +++ b/src/tools/moc/main.cpp @@ -188,6 +188,7 @@ int runMoc(int argc, char **argv) dummyVariadicFunctionMacro.arguments += Symbol(0, PP_IDENTIFIER, "__VA_ARGS__"); pp.macros["__attribute__"] = dummyVariadicFunctionMacro; pp.macros["__declspec"] = dummyVariadicFunctionMacro; + pp.macros["_GLIBCXX_VISIBILITY"] = dummyVariadicFunctionMacro; QString filename; QString output; lected'>koszko Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/build-aux/pre-inst-env.in
AgeCommit message (Expand)Author
2020-08-29build: Remove references to the 'nix-hash' program....* configure.ac: Remove check for 'nix-hash'. * tests/base32.scm (%nix-hash, %have-nix-hash?): Remove. ("sha256 & bytevector->nix-base32-string"): Remove test. * build-aux/pre-inst-env.in: Do not set 'NIX_HASH' environment variable. Ludovic Courtès