mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-11 08:48:14 +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;
|
||||
}
|
||||
|
||||
if (uPosFound!=0)
|
||||
break;
|
||||
if (uPosFound!=0)
|
||||
break;
|
||||
}
|
||||
TRYFREE(buf);
|
||||
return uPosFound;
|
||||
|
@ -35,6 +35,7 @@
|
||||
'-Wno-comment',
|
||||
'-Wno-unused-but-set-variable',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-sign-compare',
|
||||
],
|
||||
},
|
||||
'conditions': [
|
||||
|
@ -89,9 +89,6 @@
|
||||
}],
|
||||
[ 'build_macold', {
|
||||
'xcode_settings': {
|
||||
'OTHER_CFLAGS': [
|
||||
'-Wno-inconsistent-missing-override',
|
||||
],
|
||||
'OTHER_CPLUSPLUSFLAGS': [
|
||||
'-Wno-inconsistent-missing-override',
|
||||
],
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user