Branch: refs/heads/clang
Home: https://github.com/yast/yast-core
Commit: 7798d1a27dbc3d50924df46ba0797976fedb63d3
https://github.com/yast/yast-core/commit/7798d1a27dbc3d50924df46ba0797976fed...
Author: Martin Vidner
Date: 2016-02-02 (Tue, 02 Feb 2016)
Changed paths:
M package/yast2-core.spec
Log Message:
-----------
Optionally Build the RPM with llvm-clang instead of gcc-c++.
Usage:
osc build --with clang
or
rake osc:build"[--with clang]"
Commit: 4973b3899dacd534bc614b2113a1b3415ced23ce
https://github.com/yast/yast-core/commit/4973b3899dacd534bc614b2113a1b3415ce...
Author: Martin Vidner
Date: 2016-02-02 (Tue, 02 Feb 2016)
Changed paths:
M agent-ini/src/IniFile.h
M libycp/src/include/ycp/Parser.h
M libycp/src/include/ycp/YCPMap.h
Log Message:
-----------
clang: fixed struct/class mismatches
Commit: 2d74155af742afff92cec187f8f04767a7e05bb1
https://github.com/yast/yast-core/commit/2d74155af742afff92cec187f8f04767a7e...
Author: Martin Vidner
Date: 2016-02-02 (Tue, 02 Feb 2016)
Changed paths:
M libycp/src/YBlock.cc
M libycp/src/YExpression.cc
Log Message:
-----------
clang: replaced variable-length arrays with new[]d ones
Conflicts:
libycp/src/YBlock.cc
Commit: d82f3fbb4c2bd1f30120ab637e8a96beac08efd8
https://github.com/yast/yast-core/commit/d82f3fbb4c2bd1f30120ab637e8a96beac0...
Author: Martin Vidner
Date: 2016-02-02 (Tue, 02 Feb 2016)
Changed paths:
M libscr/src/include/scr/Y2AgentComponent.h
Log Message:
-----------
clang: Added a missing include.
[ 114s] In file included from Y2CCDummyAgent.cc:8:
[ 114s] ../../libscr/src/include/scr/Y2AgentComponent.h:129:53: error: calling 'asPath' with incomplete return type 'YCPPath'
[ 114s] return getSCRAgent ()-> Read (args->value (0)->asPath (), args->size() > 1 ? args->value (1) : YCPNull ()) ;
[ 114s] ~~~~~~~~~~~~~~~~~^~~~~~~~~
[ 114s] ../../libycp/src/include/ycp/YCPValue.h:206:13: note: 'asPath' declared here
[ 114s] YCPPath asPath() const;
[ 114s] ^
[ 114s] ../../libycp/src/include/ycp/YCPElement.h:51:7: note: forward declaration of 'YCPPath'
[ 114s] class YCPPath;
[ 114s] ^
Commit: 6d354e047040f989d8cd1f49e2a31c7fbf196dd1
https://github.com/yast/yast-core/commit/6d354e047040f989d8cd1f49e2a31c7fbf1...
Author: Martin Vidner
Date: 2016-02-15 (Mon, 15 Feb 2016)
Changed paths:
M liby2/src/Y2PluginComponent.cc
M liby2/src/include/y2/Y2PluginComponent.h
Log Message:
-----------
Removed an unused member.
warning: private field 'level' is not used [-Wunused-private-field]
Commit: c4cb6ab68a970c0bc10131416aa85a60aa64b528
https://github.com/yast/yast-core/commit/c4cb6ab68a970c0bc10131416aa85a60aa6...
Author: Martin Vidner
Date: 2016-02-15 (Mon, 15 Feb 2016)
Changed paths:
M liby2util-r/src/MemUsage.cc
Log Message:
-----------
Don't evaluate inside typeid.
warning: expression with side effects will be evaluated despite being
used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
Commit: f510e6a2aa3b3e5e5e6342527761349d1f3c0b50
https://github.com/yast/yast-core/commit/f510e6a2aa3b3e5e5e6342527761349d1f3...
Author: Martin Vidner
Date: 2016-02-15 (Mon, 15 Feb 2016)
Changed paths:
M libycp/src/YCPMap.cc
Log Message:
-----------
Removed an unused comparison
The containers are of the same size so one is enough
warning: inequality comparison result unused [-Wunused-comparison]
Commit: 5aac509a2cf0c0a8c8c87d4370cb56e20b7f79db
https://github.com/yast/yast-core/commit/5aac509a2cf0c0a8c8c87d4370cb56e20b7...
Author: Martin Vidner
Date: 2016-02-17 (Wed, 17 Feb 2016)
Changed paths:
M libycp/src/scanner.ll
Log Message:
-----------
Do not warn about 'register' in flex code.
Commit: 8a24bc3a1d094642c4a392c4c11ad79ae7416fa7
https://github.com/yast/yast-core/commit/8a24bc3a1d094642c4a392c4c11ad79ae74...
Author: Martin Vidner
Date: 2016-02-17 (Wed, 17 Feb 2016)
Changed paths:
M agent-ini/src/IniParser.cc
M liby2util-r/src/include/y2util/stringutil.h
M liby2util-r/src/y2log.cc
Log Message:
-----------
Declare a printf-like function.
warning: format string is not a string literal [-Wformat-nonliteral]
This *uncovers* 4 such warnings in IniParser.cc where we indeed pass an
unsanitized format string.
Commit: 7197f731de6eb68ba86ee1b90f8c7e1999acad83
https://github.com/yast/yast-core/commit/7197f731de6eb68ba86ee1b90f8c7e1999a...
Author: Martin Vidner
Date: 2016-02-17 (Wed, 17 Feb 2016)
Changed paths:
M libycp/src/YCPBuiltinString.cc
Log Message:
-----------
Fixed a signed-unsigned comparison.
A negative size would wrap to a huge positive size, fortunately we
don't have that big strings in practice
warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
Commit: f2b42813ff9da53c5dd6a9b8a546631188fc7e88
https://github.com/yast/yast-core/commit/f2b42813ff9da53c5dd6a9b8a546631188f...
Author: Martin Vidner
Date: 2016-02-17 (Wed, 17 Feb 2016)
Changed paths:
M package/yast2-core.changes
M package/yast2-core.spec
Log Message:
-----------
version + changelog
Compare: https://github.com/yast/yast-core/compare/7798d1a27dbc^...f2b42813ff9d