From b958ac665f5c4a43e1b1e9230da77bd532dc67ba Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Thu, 21 Sep 2017 17:02:30 -0500 Subject: [PATCH] 3.15 compat --- pdbApp/pdb.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pdbApp/pdb.cpp b/pdbApp/pdb.cpp index ad32107..9bdbf4d 100644 --- a/pdbApp/pdb.cpp +++ b/pdbApp/pdb.cpp @@ -167,6 +167,13 @@ struct PDBProcessor { const char *json = rec.info("Q:group"); if(!json) continue; +#ifndef USE_MULTILOCK + static bool warned; + if(!warned) { + warned = true; + fprintf(stderr, "%s: ignoring info(Q:Group, ...\n", rec.name()); + } +#else if(PDBProviderDebug>2) { fprintf(stderr, "%s: info(Q:Group, ...\n", rec.name()); } @@ -267,6 +274,7 @@ struct PDBProcessor fprintf(stderr, "%s: Error parsing info(\"Q:group\", ... : %s\n", rec.record()->name, e.what()); } +#endif // USE_MULTILOCK } // re-sort GroupInfo::members to ensure the shorter names appear first