Changes between Initial Version and Version 1 of Ticket #6685


Ignore:
Timestamp:
Oct 15, 2016, 1:00:59 PM (8 years ago)
Author:
behrisch
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6685 – Description

    initial v1  
    1 The macro itself has a ";" at the end and every usage also has 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.
     1The 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.
    22
    3 Possible patch is attached. Alternatively, one could fix the header files which use the macro.
     3One 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 ";".