This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd: how to include some dll functions in a project


2008/11/23 bigbig <stephane.bigler@epfl.ch>:
>
> I solved the problem by moving all the include directives from bidon.h to
> bidon.c.
>
> :-)
>
> If anyone could explain why...
>
> thank you.
> Stephane

It seems to me that one of the files "windows.h", "AtUsbHid.h" contain
not only definitions but also implementations. Thats why being
included both into main.c and bidon.c it caused multiple function
definitions. Try to check this out.

Alexey Salmin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]