Branch: refs/heads/master
Home: https://github.com/yast/yast-core
Commit: 43d4217c5fd68a7f312dcbd93768b44050bf47ce
https://github.com/yast/yast-core/commit/43d4217c5fd68a7f312dcbd93768b44050b...
Author: Martin Vidner
Date: 2017-10-09 (Mon, 09 Oct 2017)
Changed paths:
M liby2/src/Y2Namespace.cc
M liby2/src/include/y2/Y2Namespace.h
M liby2util-r/src/include/y2util/Rep.h
Log Message:
-----------
Preserve old behavior: declare ~Rep() as throwing.
[ 69s] In file included from Rep.cc:24:0:
[ 69s] ./include/y2util/Rep.h: In destructor 'virtual Rep::~Rep()':
[ 69s] ./include/y2util/Rep.h:84:50: warning: throw will always call terminate() [-Wterminate]
[ 69s] virtual ~Rep() { if ( _counter ) throw( this ); }
[ 69s] ^
[ 69s] ./include/y2util/Rep.h:84:50: note: in C++11 destructors default to noexcept
Commit: 26ed5ab8205de4066afe83940135ac0d009a5c01
https://github.com/yast/yast-core/commit/26ed5ab8205de4066afe83940135ac0d009...
Author: Martin Vidner
Date: 2017-10-10 (Tue, 10 Oct 2017)
Changed paths:
M libycp/src/include/ycp/Bytecode.h
M libycp/src/include/ycp/Xmlcode.h
Log Message:
-----------
Avoid warnings about "major" and "minor" macros.
In file included from Point.cc:47:0:
./include/ycp/Bytecode.h:50:13: warning: In the GNU C Library, "major" is defined
by . For historical compatibility, it is
currently defined by as well, but we plan to
remove this soon. To use "major", include
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including .
int major () const { return m_major; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~
Commit: 1d633d0128c6572f3cf0d1a0d62f3e1f07797b31
https://github.com/yast/yast-core/commit/1d633d0128c6572f3cf0d1a0d62f3e1f077...
Author: Martin Vidner
Date: 2017-10-10 (Tue, 10 Oct 2017)
Changed paths:
M libycp/src/YExpression.cc
Log Message:
-----------
Use a bit operator for bit masking.
In YEBinary::type ()
[ 57s] YExpression.cc:1454:26: error: enum constant in boolean context [-Werror=int-in-bool-context]
[ 57s] if (m_decl->flags && DECL_FLEX)
[ 57s] ^~~~~~~~~
Fortunately, this bug never triggered, because all existing YEBinary
instances either had no m_decl->flags, or they were exactly equal to
DECL_FLEX (for list<T> + list<T>, and for list<T> + T).
Commit: d35176fa7ba23ea64c5a20d8a291276cf2a2abc6
https://github.com/yast/yast-core/commit/d35176fa7ba23ea64c5a20d8a291276cf2a...
Author: Martin Vidner
Date: 2017-10-10 (Tue, 10 Oct 2017)
Changed paths:
M package/yast2-core.changes
M package/yast2-core.spec
Log Message:
-----------
version + changelog
Commit: 643217b249c512ca47d892c84246b11fb5404ff1
https://github.com/yast/yast-core/commit/643217b249c512ca47d892c84246b11fb54...
Author: Martin Vidner
Date: 2017-10-11 (Wed, 11 Oct 2017)
Changed paths:
M liby2/src/Y2Namespace.cc
M liby2/src/include/y2/Y2Namespace.h
M liby2util-r/src/include/y2util/Rep.h
M libycp/src/YExpression.cc
M libycp/src/include/ycp/Bytecode.h
M libycp/src/include/ycp/Xmlcode.h
M package/yast2-core.changes
M package/yast2-core.spec
Log Message:
-----------
Merge pull request #122 from yast/throw-terminate
Fixed newly uncovered C++ warnings
Compare: https://github.com/yast/yast-core/compare/a0fefb49b749...643217b249c5