[Fdo-trac] [fdo-trac] #956: Cannot build in GCC 7.x
FDO
trac_fdo at osgeo.org
Fri May 18 04:43:03 PDT 2018
#956: Cannot build in GCC 7.x
----------------------------+----------------------
Reporter: jng | Owner: jng
Type: defect | Status: assigned
Priority: major | Milestone:
Component: Build System | Version:
Severity: 3 | Keywords:
External ID: |
----------------------------+----------------------
I tried to build FDO trunk on Ubuntu 18.04 LTS, which includes GCC 7.x but
it fails due to the following:
* General: Errors of the form {{{invalid conversion from ‘wchar_t’ to
‘wchar_t*’}}} in {{{'\0'}}} assignment due to {{{-fpermissive}}}. Fix: Fix
up the incorrect assignments.
* MySQL Driver: The {{{<string>}}} header included in {{{stdafx.h}}} now
complains about {{{errno}}} due to finding {{{errno.h}}} in the MySQL
Driver directory before {{{<cerrno>}}}. Fix: Rather that fight with
include path precedence, just rename {{{errno.h}}} to {{{drv_errno.h}}} so
{{{<string>}}} will properly resolve errno in {{{<cerrno>}}}
--
Ticket URL: <https://trac.osgeo.org/fdo/ticket/956>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list