csete / gpredict

Gpredict satellite tracking application
http://gpredict.oz9aec.net/
GNU General Public License v2.0
859 stars 251 forks source link

compile fialed with -fno-common #195

Closed dl1jbe closed 4 years ago

dl1jbe commented 4 years ago

Coming GCC-10 makes -fno-common a default setting. Gpredict then fails during compile with multiple definition ofqth_data_type'` during link stage.

In qth-data.h line 33 enum { needs to be prefixed with typedef to fix the problem.

csete commented 4 years ago

Thanks for letting me know! I'm fixing it right now.