Move to GCC 6 and silent some warnings there.

This commit is contained in:
John Preston 2017-02-21 18:29:04 +03:00
parent 755325fef3
commit 30ae322cf0
4 changed files with 7 additions and 9 deletions

View File

@ -526,8 +526,8 @@ local ZPOS64_T zip64local_SearchCentralDir(const zlib_filefunc64_32_def* pzlib_f
break;
}
if (uPosFound!=0)
break;
if (uPosFound!=0)
break;
}
TRYFREE(buf);
return uPosFound;

View File

@ -35,6 +35,7 @@
'-Wno-comment',
'-Wno-unused-but-set-variable',
'-Wno-missing-field-initializers',
'-Wno-sign-compare',
],
},
'conditions': [

View File

@ -89,9 +89,6 @@
}],
[ 'build_macold', {
'xcode_settings': {
'OTHER_CFLAGS': [
'-Wno-inconsistent-missing-override',
],
'OTHER_CPLUSPLUSFLAGS': [
'-Wno-inconsistent-missing-override',
],

View File

@ -5,13 +5,13 @@
* Install git by command **sudo apt-get install git** in Terminal
* Install g++ by command **sudo apt-get install g++** in Terminal
You need to install g++ version 4.9 manually by such commands
You need to install g++ version 6 manually by such commands
* sudo add-apt-repository ppa:ubuntu-toolchain-r/test
* sudo apt-get update
* sudo apt-get install gcc-4.9 g++-4.9
* sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 21
* sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 21
* sudo apt-get install gcc-6 g++-6
* sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60
* sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 60
###Prepare folder