This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Fwd: how to include some dll functions in a project
- From: "Alexey Salmin" <alexey dot salmin at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 23 Nov 2008 16:12:02 +0600
- Subject: Fwd: how to include some dll functions in a project
- References: <20625105.post@talk.nabble.com> <20644010.post@talk.nabble.com> <87a8dc10811230211w33d01c9dv4eddf7e2f16ba15a@mail.gmail.com>
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