Hello community, here is the log from the commit of package yast2-core for openSUSE:Factory checked in at 2017-10-13 14:05:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-core (Old) and /work/SRC/openSUSE:Factory/.yast2-core.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-core" Fri Oct 13 14:05:22 2017 rev:180 rq:533401 version:4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-core/yast2-core.changes 2017-01-10 10:33:58.679773582 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-core.new/yast2-core.changes 2017-10-13 14:05:23.672441162 +0200 @@ -1,0 +2,7 @@ +Tue Oct 10 08:34:19 UTC 2017 - [email protected] + +- Fixed newly uncovered warnings: Wterminate, Wint-in-bool-context, + sys/sysmacros (bsc#982942, bsc#434048). +- 4.0.0 + +------------------------------------------------------------------- Old: ---- yast2-core-3.2.2.tar.bz2 New: ---- yast2-core-4.0.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-core.spec ++++++ --- /var/tmp/diff_new_pack.p8C0Mk/_old 2017-10-13 14:05:24.352411259 +0200 +++ /var/tmp/diff_new_pack.p8C0Mk/_new 2017-10-13 14:05:24.360410908 +0200 @@ -27,7 +27,7 @@ %bcond_with werror Name: yast2-core -Version: 3.2.2 +Version: 4.0.0 Release: 0 Url: https://github.com/yast/yast-core ++++++ yast2-core-3.2.2.tar.bz2 -> yast2-core-4.0.0.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.2.2/.travis.yml new/yast2-core-4.0.0/.travis.yml --- old/yast2-core-3.2.2/.travis.yml 2017-01-06 13:38:58.913513283 +0100 +++ new/yast2-core-4.0.0/.travis.yml 2017-10-11 14:32:02.487751197 +0200 @@ -1,11 +1,11 @@ sudo: required -language: ruby +language: bash services: - docker before_install: - docker build -t yast-core-image . script: - # the "yast-travis" script is included in the base yastdevel/ruby-tw image - # see https://github.com/yast/docker-yast-ruby-tw/blob/master/yast-travis - - docker run -it -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-core-image yast-travis-cpp + # the "yast-travis-cpp" script is included in the base yastdevel/cpp image + # see https://github.com/yast/docker-yast-cpp/blob/master/yast-travis-cpp + - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-core-image yast-travis-cpp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.2.2/Dockerfile new/yast2-core-4.0.0/Dockerfile --- old/yast2-core-3.2.2/Dockerfile 2017-01-06 13:38:58.925513283 +0100 +++ new/yast2-core-4.0.0/Dockerfile 2017-10-11 14:32:02.487751197 +0200 @@ -1,7 +1,7 @@ -FROM yastdevel/cpp-tw +FROM yastdevel/cpp # the tests require specific locale settings to pass ENV LANG=POSIX LC_ALL= -COPY . /tmp/sources # Remove the preinstalled yast2-core, it interferes with the built one # when running the tests... (huh??) RUN zypper --non-interactive rm yast2-core +COPY . /usr/src/app diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.2.2/liby2/src/Y2Namespace.cc new/yast2-core-4.0.0/liby2/src/Y2Namespace.cc --- old/yast2-core-3.2.2/liby2/src/Y2Namespace.cc 2017-01-06 13:38:59.069513283 +0100 +++ new/yast2-core-4.0.0/liby2/src/Y2Namespace.cc 2017-10-11 14:32:02.543751197 +0200 @@ -41,7 +41,7 @@ {} -Y2Namespace::~Y2Namespace () +Y2Namespace::~Y2Namespace () noexcept(false) { #if DO_DEBUG y2debug ("Y2Namespace::~Y2Namespace [%p]", this); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.2.2/liby2/src/include/y2/Y2Namespace.h new/yast2-core-4.0.0/liby2/src/include/y2/Y2Namespace.h --- old/yast2-core-3.2.2/liby2/src/include/y2/Y2Namespace.h 2017-01-06 13:38:59.093513283 +0100 +++ new/yast2-core-4.0.0/liby2/src/include/y2/Y2Namespace.h 2017-10-11 14:32:02.543751197 +0200 @@ -75,7 +75,7 @@ Y2Namespace (); - virtual ~Y2Namespace(); + virtual ~Y2Namespace() noexcept(false); // end of symbols, finish and clean up m_symbols void finish (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.2.2/liby2util-r/src/include/y2util/Rep.h new/yast2-core-4.0.0/liby2util-r/src/include/y2util/Rep.h --- old/yast2-core-3.2.2/liby2util-r/src/include/y2util/Rep.h 2017-01-06 13:38:59.105513283 +0100 +++ new/yast2-core-4.0.0/liby2util-r/src/include/y2util/Rep.h 2017-10-11 14:32:02.547751197 +0200 @@ -81,7 +81,7 @@ /** * Destructor. Throws exception if reference count is not zero. **/ - virtual ~Rep() { if ( _counter ) throw( this ); } + virtual ~Rep() noexcept(false) { if ( _counter ) throw( this ); } public: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.2.2/libycp/src/YExpression.cc new/yast2-core-4.0.0/libycp/src/YExpression.cc --- old/yast2-core-3.2.2/libycp/src/YExpression.cc 2017-01-06 13:38:59.145513283 +0100 +++ new/yast2-core-4.0.0/libycp/src/YExpression.cc 2017-10-11 14:32:02.563751197 +0200 @@ -1451,7 +1451,7 @@ constTypePtr YEBinary::type () const { - if (m_decl->flags && DECL_FLEX) + if (m_decl->flags & DECL_FLEX) { // reconstruct type FunctionTypePtr ft = new FunctionType (Type::Unspec); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.2.2/libycp/src/include/ycp/Bytecode.h new/yast2-core-4.0.0/libycp/src/include/ycp/Bytecode.h --- old/yast2-core-3.2.2/libycp/src/include/ycp/Bytecode.h 2017-01-06 13:38:59.153513283 +0100 +++ new/yast2-core-4.0.0/libycp/src/include/ycp/Bytecode.h 2017-10-11 14:32:02.567751197 +0200 @@ -38,6 +38,12 @@ #include <fstream> +// major and minor are macros in <sys/sysmacros.h> but they are also +// included by <sys/types.h> which is indirectly included by <string>, +// so they're hard not to include. Let's undef them. +#undef major +#undef minor + /// An istream that remembers some data about the bytecode. class bytecodeistream : public std::ifstream { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.2.2/libycp/src/include/ycp/Xmlcode.h new/yast2-core-4.0.0/libycp/src/include/ycp/Xmlcode.h --- old/yast2-core-3.2.2/libycp/src/include/ycp/Xmlcode.h 2017-01-06 13:38:59.161513283 +0100 +++ new/yast2-core-4.0.0/libycp/src/include/ycp/Xmlcode.h 2017-10-11 14:32:02.567751197 +0200 @@ -38,6 +38,12 @@ #include <fstream> +// major and minor are macros in <sys/sysmacros.h> but they are also +// included by <sys/types.h> which is indirectly included by <string>, +// so they're hard not to include. Let's undef them. +#undef major +#undef minor + /// An istream that remembers some data about the xmlcode. class xmlcodeistream : public std::ifstream { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.2.2/package/yast2-core.changes new/yast2-core-4.0.0/package/yast2-core.changes --- old/yast2-core-3.2.2/package/yast2-core.changes 2017-01-06 13:38:59.353513283 +0100 +++ new/yast2-core-4.0.0/package/yast2-core.changes 2017-10-11 14:32:02.663751197 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Oct 10 08:34:19 UTC 2017 - [email protected] + +- Fixed newly uncovered warnings: Wterminate, Wint-in-bool-context, + sys/sysmacros (bsc#982942, bsc#434048). +- 4.0.0 + +------------------------------------------------------------------- Wed Jan 4 09:16:02 UTC 2017 - [email protected] - Dropped the YCP debugger in yast2-core-debugger not to confuse diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-3.2.2/package/yast2-core.spec new/yast2-core-4.0.0/package/yast2-core.spec --- old/yast2-core-3.2.2/package/yast2-core.spec 2017-01-06 13:38:59.353513283 +0100 +++ new/yast2-core-4.0.0/package/yast2-core.spec 2017-10-11 14:32:02.663751197 +0200 @@ -26,7 +26,7 @@ %bcond_with werror Name: yast2-core -Version: 3.2.2 +Version: 4.0.0 Release: 0 Url: https://github.com/yast/yast-core
