libftdi Archives

Subject: Re: Location of libftdi-1.0 header ftdi.h different from libftdi-0.19

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: "libftdi@xxxxxxxxxxxxxxxxxxxxxxx" <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Jun 2011 00:03:02 +0800
On Saturday, June 18, 2011, Uwe Bonnes
<bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>>>>> "Xiaofan" == Xiaofan Chen <xiaofanc@xxxxxxxxx> writes:
>
>     Xiaofan> Right now. the location of libftdi-1.0 header ftdi.h is
>     Xiaofan> different from libftdi-0.1x. For libftdi-1.0, the header is in
>     Xiaofan> /usr/local/include/libftdi/ftdi.h whereas for libftdi-0.1x it
>     Xiaofan> is in /usr/local/include/ftdi.h.
>
>     Xiaofan> I am not so sure what is the reason and whether this is a good
>     Xiaofan> idea or not.
>
> What is your proposal how to handle different versions of the library headers?

IMHO different name is the best, I.e., using libftdi.h for 1.0.

Xiaofan

-- 
Xiaofan

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread