On 21:02 Tue 27 May     , Chris Frey wrote:
> On Tue, May 27, 2008 at 03:47:04PM -0400, John Priddy wrote:
> > usbwrap.cc  -fPIC -DPIC -o .libs/usbwrap.o
> > data.cc: In function 'bool Barry::IsHexData(const std::string&)':
> > data.cc:47: error: 'strchr' was not declared in this scope
> 
> Try adding the following to data.cc, under the rest of the includes:
> 
>       #include <string.h>
>       #include <stdlib.h>
> 
> Interesting that other compilers haven't complained.  Thanks for the report!

gcc 4.3 "optimized" all the headers so they have minimal includes: 
http://gcc.gnu.org/gcc-4.3/porting_to.html

Many distros aren't installing 4.3 by default yet because too much C++ 
code doesn't compile.

Thanks,
Donnie

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to