delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/03/26/09:38:01

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Andris Pavenis <pavenis AT latnet DOT lv>
To: djgpp AT delorie DOT com
Subject: Re: Is there any RS232 lib?
Date: Fri, 26 Mar 2004 16:36:54 +0200
User-Agent: KMail/1.6.1
References: <c3rtis$1ip1$1 AT alpha2 DOT radio-msu DOT net> <rc0560d7kovmchnmrg77a5edr9kf2tdhr4 AT 4ax DOT com> <c40to8$1ai7$1 AT alpha2 DOT radio-msu DOT net>
In-Reply-To: <c40to8$1ai7$1@alpha2.radio-msu.net>
MIME-Version: 1.0
Message-Id: <200403261636.55335.pavenis@latnet.lv>
Reply-To: djgpp AT delorie DOT com

On Friday 26 March 2004 11:38, Anthony wrote:
> "Andrew Cottrell" <andspam at swiftdsl dot com dot au> ???????/???????? ?
> ???????? ?????????: news:rc0560d7kovmchnmrg77a5edr9kf2tdhr4 AT 4ax DOT com...
>
> > >Could someone please point me at a good C++ class (or lib) that
>
> implements
>
> > >RS-232 data exchange protocol?
> >
> > There are a number of comms libraries in the V2TK directory. I use
> > PMCOM library, but in the past have used a number of others.
> I've downloaded the pmcomm10 package and tried to build the library, but
> got this:
>
> c:\DJGPP\contrib\pmcom>make
> gcc -c -s -O1 -Wall   -o rel/com.o com.c
> com.c:285:10: pasting "(" and "0" does not give a valid preprocessing token
> com.c:285:10: pasting "(" and "0" does not give a valid preprocessing token
> com.c:285:10: pasting "[" and "0" does not give a valid preprocessing token
> ... a lot of these on every COMWRAP(.); call in com.c ...
> com.c:326:11: pasting "[" and "15" does not give a valid preprocessing
> token com.c:326:11: pasting "(" and "15" does not give a valid
> preprocessing token com.c: In function `COMHandler':
> com.c:546: warning: type defaults to `int' in declaration of `nLastBit9'
> com.c: At top level:
> com.c:2510: warning: ignoring #pragma argsused
> com.c:2551: warning: ignoring #pragma argsused
> make.exe: *** [rel/com.o] Error 1
>
> How did you deal with it?

Perhaps this version is not compatble with new GCC versions.

One other library is DZCOMM
	http://sourceforge.net/projects/dzcomm

(don't ask me more, I haven't touched it already for a rather long time, but 
as I remeber, it built with GCC-3.X).

Andris




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019