[pkg-fgfs-crew] Bug#560494: flightgear: FTBFS: UGear_command.cxx:41: error: 'snprintf' was not declared in this scope

Cyril Brulebois kibi at debian.org
Sun Jan 24 21:49:20 UTC 2010


tag 560494 patch
thanks

Lucas Nussbaum <lucas at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flightgear+ftbfs.diff
Type: text/x-diff
Size: 169 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fgfs-crew/attachments/20100124/fd481486/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fgfs-crew/attachments/20100124/fd481486/attachment.pgp>


More information about the pkg-fgfs-crew mailing list