TelegramMessenger / MTProxy

5.01k stars 830 forks source link

Fix to build with GCC 10 #395

Open krepver opened 4 years ago

krepver commented 4 years ago

GCC 10 defaults to --no-common. There are linking errors because of it.
More info at Porting to GCC 10

Not sure if i put extern in right places though. Seems it works

vn971 commented 2 years ago

On ArchLinux 2022-03-04, this did not work for me. However, the solution from here works: https://github.com/TelegramMessenger/MTProxy/issues/409#issuecomment-671438150