gamelinux / prads

Passive Real-time Asset Detection System
http://gamelinux.github.com/prads/
231 stars 59 forks source link

Build on GCC 10 #55

Closed ssm closed 4 years ago

ssm commented 4 years ago

GCC 10 defaults to -fno-common, which no longer ignores a missing "extern" when declaring a global variable in a header file.

This patch adds "extern" to global variables so prads builds with GCC 10 defaults.