Opened 6 years ago
Last modified 6 years ago
#956 closed defect
Build errors in GCC 7.x — at Version 3
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Build System | Version: | |
Severity: | 3 | Keywords: | |
Cc: | External ID: |
Description (last modified by )
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. - General: Various cases of improper null terminator checking
error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
. Fix: Fix up the incorrect checks. - MySQL Driver: The
<string>
header included instdafx.h
now complains abouterrno
due to findingerrno.h
in the MySQL Driver directory before<cerrno>
. Fix: Rather that fight with include path precedence, just renameerrno.h
todrv_errno.h
so<string>
will properly resolve errno in<cerrno>
- King Oracle:
Providers/KingOracle/src/Provider/c_FdoOra_API3.cpp:104:14: error: cannot convert ‘bool’ to ‘c_MapOraNameToFdoClass::s_data*’ in return
. Fix: ReturnNULL
instead offalse
Change History (3)
comment:1 by , 6 years ago
Summary: | Cannot build in GCC 7.x → Build errors in GCC 7.x |
---|
comment:2 by , 6 years ago
Description: | modified (diff) |
---|
comment:3 by , 6 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.