Changes between Initial Version and Version 8 of Ticket #5447


Ignore:
Timestamp:
Apr 30, 2014, 1:30:58 AM (10 years ago)
Author:
Mateusz Łoskot
Comment:

If there is no obvious issue, sometimes problems appear after compilers update. New C/C++ compilers have become more standard compliant and strict, so the distinction between C and C++ languages and C vs C++ compilation mode has become more evident (at compile-time). Language constructions on the edge of conformity that would be swallowed by older compiler w/o problems, are now caught as an error.

Perhaps, this is explains the 'dynamic' nature of the libgeotiff vs other libraries issues.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5447

    • Property Cc Mateusz Łoskot hobu added
    • Property Priority highesthigh
  • Ticket #5447 – Description

    initial v8  
    11when trying to compile against gdal with other SDK's I now get the following link errors.  This happens in both vs2005 and vs2012
    22
     3{{{
    341>        C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\stdio.h(208) : see previous definition of 'feof'
    451>f:\dev\sourcecode\trunk\3rd_party_opensrc\gdal_27261\port\cpl_vsi.h(181) : error C2733: second C linkage of overloaded function '_GTIFcalloc' not allowed
     
    891>f:\dev\sourcecode\trunk\3rd_party_opensrc\gdal_27261\port\cpl_vsi.h(184) : error C2733: second C linkage of overloaded function '_GTIFrealloc' not allowed
    9101>        f:\dev\sourcecode\trunk\3rd_party_opensrc\gdal_27261\port\cpl_vsi.h(184) : see declaration of '_GTIFrealloc'
    10 
     11}}}