CPL_DISALLOW_COPY_ASSIGN triggers extra ";" warnings
|Reported by:||behrisch||Owned by:||warmerdam|
Description (last modified by )
The macro itself has a ";" at the end and many usages also have an ";". When compiling with gcc having "-pedantic" enabled this triggers warning for every inclusion of an affected header file. This applies not only to the compilation of gdal but also to all users of the C/C++-library.
One should fix the files which use the macro using the attached patch.