Changes between Initial Version and Version 1 of Ticket #6685
- Timestamp:
- Oct 15, 2016, 1:00:59 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6685 – Description
initial v1 1 The macro itself has a ";" at the end and every usage also hasan ";". 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.1 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. 2 2 3 Possible patch is attached. Alternatively, one could fix the header files which use the macro.3 One should fix the header files which use the macro or use the attached patch which will induce further adaptions for those cases which do not use the extra ";".