mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-25 04:38:23 +00:00
Move to GCC 6 and silent some warnings there.
This commit is contained in:
parent
755325fef3
commit
30ae322cf0
4
Telegram/ThirdParty/minizip/zip.c
vendored
4
Telegram/ThirdParty/minizip/zip.c
vendored
@ -526,8 +526,8 @@ local ZPOS64_T zip64local_SearchCentralDir(const zlib_filefunc64_32_def* pzlib_f
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (uPosFound!=0)
|
if (uPosFound!=0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
TRYFREE(buf);
|
TRYFREE(buf);
|
||||||
return uPosFound;
|
return uPosFound;
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
'-Wno-comment',
|
'-Wno-comment',
|
||||||
'-Wno-unused-but-set-variable',
|
'-Wno-unused-but-set-variable',
|
||||||
'-Wno-missing-field-initializers',
|
'-Wno-missing-field-initializers',
|
||||||
|
'-Wno-sign-compare',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'conditions': [
|
'conditions': [
|
||||||
|
@ -89,9 +89,6 @@
|
|||||||
}],
|
}],
|
||||||
[ 'build_macold', {
|
[ 'build_macold', {
|
||||||
'xcode_settings': {
|
'xcode_settings': {
|
||||||
'OTHER_CFLAGS': [
|
|
||||||
'-Wno-inconsistent-missing-override',
|
|
||||||
],
|
|
||||||
'OTHER_CPLUSPLUSFLAGS': [
|
'OTHER_CPLUSPLUSFLAGS': [
|
||||||
'-Wno-inconsistent-missing-override',
|
'-Wno-inconsistent-missing-override',
|
||||||
],
|
],
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
* Install git by command **sudo apt-get install git** in Terminal
|
* Install git by command **sudo apt-get install git** in Terminal
|
||||||
* Install g++ by command **sudo apt-get install g++** 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 add-apt-repository ppa:ubuntu-toolchain-r/test
|
||||||
* sudo apt-get update
|
* sudo apt-get update
|
||||||
* sudo apt-get install gcc-4.9 g++-4.9
|
* sudo apt-get install gcc-6 g++-6
|
||||||
* sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 21
|
* sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60
|
||||||
* sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 21
|
* sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 60
|
||||||
|
|
||||||
###Prepare folder
|
###Prepare folder
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user