delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/05/09:56:17

Lines: 13
X-Admin: news AT aol DOT com
From: bitland AT aol DOT com (Bitland)
Newsgroups: comp.os.msdos.djgpp
Date: 05 Feb 2001 14:38:07 GMT
References: <7vEMlT$6JVB AT 0256597511 DOT t-online DOT de>
Organization: AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com
Subject: Re: syntax for hex and binary
Message-ID: <20010205093807.29955.00000744@ng-bk1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

There is no expression for a binary constant in C. What you've found is nothing
but a (probably missing) define. Either you define B115200 as #define B115200
(baud speed of serial I assume), or you simply delete the B (because 115200
should be the right value).

Search all files for B115200. Maybe it is defined somewhere, but only will be
enabled if some other defines are made (i.e. compilation-defines in the
gcc-arguments).
If nothing can be found, check comments and docs. If nothing again, do as
described before.

Andy

- Raw text -


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