Ok I did encounter again a multiple definition error with ld (linking) in a
different project today.
The idea seems that if you have multiple files that include some.h, and in it
you have functions or
variables not using the static keyword (at least for C), then they will be
defined as global, and so,
they will be define each time some.h is included. Making multiple declarations
at linking time errors.
Somehow, it seems it is more a problem with gcc 10 (or the linker associated
with it) than in previous
versions... not clear how much recent it is.
Did not check how much it apply to Allegro.
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel