diff options
Diffstat (limited to 'contrib/gperf/src')
-rw-r--r-- | contrib/gperf/src/search.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/gperf/src/search.cc b/contrib/gperf/src/search.cc index c245970..956b5be 100644 --- a/contrib/gperf/src/search.cc +++ b/contrib/gperf/src/search.cc @@ -36,7 +36,10 @@ /* ============================== Portability ============================== */ /* Assume ISO C++ 'for' scoping rule. */ -#define for if (0) ; else for +/* This code is used to work around scoping issues with visual studio 6 from + * 1998. Comment it out here to queisce numerous -Wdangling-else warnings + * from clang. +#define for if (0) ; else for */ /* Dynamically allocated array with dynamic extent: |