[Ekiga-devel-list] Warnings compiling ptlib's svn
- From: Julien Puydt <jpuydt free fr>
- To: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: [Ekiga-devel-list] Warnings compiling ptlib's svn
- Date: Sun, 20 Sep 2009 14:22:37 +0200
Hi,
last time I compiled ptlib, the only warning was for
ptlib/common/getdate.y -- harmless.
Today, I decided to upgrade ptlib, and was greeted by a much bigger list
of warnings :
ptclib/vxml.cxx: In constructor
‘PVXMLSession::PVXMLSession(PTextToSpeech*, PBoolean)’:
ptclib/vxml.cxx:565: warning: dereferencing type-punned pointer will
break strict-aliasing rules
ptclib/ptts.cxx: In member function ‘PBoolean
PTextToSpeech_Festival::Invoke(const PString&, const PFilePath&)’:
ptclib/ptts.cxx:513: warning: ignoring return value of ‘int system(const
char*)’, declared with attribute warn_unused_result
ptlib/unix/pipechan.cxx: In member function ‘PBoolean
PPipeChannel::PlatformOpen(const PString&, const PStringArray&,
PPipeChannel::OpenMode, PBoolean, PBoolean, const PStringToString*)’:
ptlib/unix/pipechan.cxx:145: warning: ignoring return value of ‘int
dup(int)’, declared with attribute warn_unused_result
ptlib/unix/pipechan.cxx:152: warning: ignoring return value of ‘int
dup(int)’, declared with attribute warn_unused_result
ptlib/unix/pipechan.cxx:160: warning: ignoring return value of ‘int
dup(int)’, declared with attribute warn_unused_result
ptlib/unix/pipechan.cxx:163: warning: ignoring return value of ‘int
dup(int)’, declared with attribute warn_unused_result
ptlib/unix/pipechan.cxx:170: warning: ignoring return value of ‘int
dup(int)’, declared with attribute warn_unused_result
ptlib/unix/pipechan.cxx:173: warning: ignoring return value of ‘int
dup(int)’, declared with attribute warn_unused_result
ptlib/unix/pipechan.cxx:178: warning: ignoring return value of ‘int
dup(int)’, declared with attribute warn_unused_result
ptlib/unix/socket.cxx: In static member function ‘static
PChannel::Errors PSocket::Select(PSocket::SelectList&,
PSocket::SelectList&, PSocket::SelectList&, const PTimeInterval&)’:
ptlib/unix/socket.cxx:339: warning: ignoring return value of ‘ssize_t
read(int, void*, size_t)’, declared with attribute warn_unused_result
In file included from ptlib/unix/tlib.cxx:774:
ptlib/unix/tlibthrd.cxx: In member function ‘int
PThread::PXBlockOnIO(int, int, const PTimeInterval&)’:
ptlib/unix/tlibthrd.cxx:1069: warning: ignoring return value of ‘ssize_t
read(int, void*, size_t)’, declared with attribute warn_unused_result
ptlib/unix/tlibthrd.cxx: In member function ‘void
PThread::PXAbortBlock() const’:
ptlib/unix/tlibthrd.cxx:1081: warning: ignoring return value of ‘ssize_t
write(int, const void*, size_t)’, declared with attribute warn_unused_result
ptlib/common/getdate.y: conflits: 8 décalage/réduction, 18
réduction/réduction
ptlib/common/osutils.cxx: In member function ‘virtual void
PProcess::OnThreadEnded(PThread&)’:
ptlib/common/osutils.cxx:1602: warning: suggest explicit braces to avoid
ambiguous ‘else’
What's going on? More touchy compiler? New warnings enabled in ptlib's
build? New problems?
Snark
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]