tag 560494 patch
thanks

Lucas Nussbaum <lu...@lucas-nussbaum.net> (11/12/2009):
> Relevant part:
> > g++ -DHAVE_CONFIG_H -I. -I../../src/Include -I../../src  
> > -I/usr/local/include  -O2 -g -D_REENTRANT -MT UGear_command.o -MD -MP -MF 
> > .deps/UGear_command.Tpo -c -o UGear_command.o UGear_command.cxx
> > UGear_command.cxx: In function 'int serial_send(SGSerialPort*, int, 
> > std::string)':
> > UGear_command.cxx:41: error: 'snprintf' was not declared in this scope
> > UGear_command.cxx:58: error: 'printf' was not declared in this scope
> > UGear_command.cxx: In member function 'int 
> > UGCommand::update(SGSerialPort*)':
> > UGear_command.cxx:70: error: 'printf' was not declared in this scope
> > UGear_command.cxx: In member function 'void UGCommand::add(std::string)':
> > UGear_command.cxx:98: error: 'printf' was not declared in this scope
> > make[3]: *** [UGear_command.o] Error 1

Trivial patch attached, enjoy.

Mraw,
KiBi.
--- a/utils/GPSsmooth/UGear_command.cxx
+++ b/utils/GPSsmooth/UGear_command.cxx
@@ -1,4 +1,5 @@
 #include <cstring>
+#include <cstdio>
 
 #include "UGear_command.hxx"
 

Attachment: signature.asc
Description: Digital signature

Reply via email to