Without the change build fails on upstream gcc-10 as: ld: interface.o:/build/gerbv/src/callbacks.h:50: multiple definition of `toggle_layer'; callbacks.o:/build/gerbv/src/callbacks.h:50: first defined here ld: interface.o:/build/gerbv/src/callbacks.h:44: multiple definition of `CALLBACKS_SAVE_FILE_TYPE'; callbacks.o:/build/gerbv/src/callbacks.h:44: first defined here ld: render.o:/build/gerbv/src/callbacks.h:44: multiple definition of `CALLBACKS_SAVE_FILE_TYPE'; callbacks.o:/build/gerbv/src/callbacks.h:44: first defined here |
||
---|---|---|
.. | ||
default.nix |