alarm-clock-applet / alarm-clock

Alarm Clock is a fully-featured alarm clock for use with an AppIndicator implementation.
https://alarm-clock-applet.github.io
GNU General Public License v2.0
121 stars 31 forks source link

fix build on gcc-10 (-fno-common) #209

Closed trofi closed 2 years ago

trofi commented 2 years ago

gcc-10 changed the default from -fcommon to fno-common: https://gcc.gnu.org/PR85678

As a result build fails as:

ld: prefs.o:src/alarm-applet.h:49: multiple definition of
  `app_command_map'; alarm-applet.o:src/alarm-applet.h:49: first defined here

Variable definition is already present in .c file. The change leaves only declaration in .h file.

joh commented 2 years ago

Great, thank you!

mexsudo commented 1 year ago

Feature Request.

please repackage for Debian

.deb file preferred.

thanks

Message ID: @.***>