Changes between Initial Version and Version 1 of Ticket #6602


Ignore:
Timestamp:
Jul 21, 2016, 9:27:24 AM (8 years ago)
Author:
Kurt Schwehr
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6602 – Description

    initial v1  
     1e.g. https://travis-ci.org/rouault/gdal_coverage/builds/146409340
    12{{{
    23gcc -I/home/travis/build/rouault/gdal_coverage/gdal/port -I/home/travis/build/rouault/gdal_coverage/gdal/gcore -I/home/travis/build/rouault/gdal_coverage/gdal/alg -I/home/travis/build/rouault/gdal_coverage/gdal/ogr -I/home/travis/build/rouault/gdal_coverage/gdal/ogr/ogrsf_frmts -I/home/travis/build/rouault/gdal_coverage/gdal/gnm -I/home/travis/build/rouault/gdal_coverage/gdal/apps -fPIC  -g -DDEBUG -ftrapv  -Wall -Wdeclaration-after-statement -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdeclaration-after-statement -DDEBUG_BOOL -Wextra -Werror -I../shape -I.. -I../..  -DOGR_ENABLED -D_REENTRANT  -I/home/travis/build/rouault/gdal_coverage/gdal/port -I/usr/local/include -I/usr/include  -DGDAL_COMPILATION -c -o ../o/avc_e00read.o avc_e00read.c
     
    1011}}}
    1112
     13What exactly is this complaining about?
     14
    1215Possible solutions (will they even work)?
    1316
     
    1518- Provide a different signature for C without the const (if it will link)
    1619- Have a define like GDAL_CONST_STRICT to provide a more cost API for places that want it
    17 - ?
     20- Revert and give up in despair
     21- Can we cast in the C code?
     22- Or?
    1823
    1924Reported by EvenR.  Need an example failure.