Hi, On Mon, Nov 11, 2024 at 5:58 AM Paul Dufresne via Freedos-devel <freedos-devel@lists.sourceforge.net> wrote: > > The place where functions of the library should be... is in the library... > not in the program that include the library. > > Only prototypes... should be in the program .h files. > If a function is inline... it's name should not be exported... so I believe > it should be static too. > > Maybe that's the solution... don't make inline functions external... it does > not make a lot of sense... > but make them static... so that they are not seen outside of the program that > use them.
Presumably this will solve your problem: -fgnu89-inline * https://gcc.gnu.org/onlinedocs/gcc/Inline.html N.B. GCC 14.2 is by default using "gnu17" dialect (aka, C17 w/ GNU extensions), IIRC. "The default, if no C language dialect options are given, is -std=gnu17." * https://gcc.gnu.org/onlinedocs/gcc/Standards.html#index-std _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel