You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mentaljam, this is not at all urgent, all seems to be working fine, but sometimes warnings point to real issues, hence I would appreciate if you take a look at these some day and either assure or dismiss my preliminary conclusion(s). Please do not start a deeper analysis; only if you do have the impression these warnings indicate a flaw in your code, analysing this makes sense.
This issue also exists there for documenting these two compiler warnings, so others do not have to research these again (first observed in #191, section 3).
When Storeman is being build by the GitHub-action build-runner using the 3.1.0.12 build target, I observe two compiler warnings.
compiling src/orncommentsmodel.cpp
src/orncommentsmodel.cpp: In member function 'QJsonObject OrnCommentsModel::processReply(QNetworkReply*)':
src/orncommentsmodel.cpp:168:27: warning: missing initializer for member 'QJsonParseError::offset' [-Wmissing-field-initializers]
QJsonParseError error{};
^
src/orncommentsmodel.cpp:168:27: warning: missing initializer for member 'QJsonParseError::error' [-Wmissing-field-initializers]
The code for this object is the same in devel, master, and all three release branches, see devel, sfos3.2, sfos3.3 and sfos4.2.
Well, it is just a warning and everything seems to be working fine WRT the comment functions in Storeman on SFOS 3.2.1. Hence my uneducated guess is that this is caused by a compiler flaw.
Well, it is just a warning and everything seems to be working fine WRT the RPM repository management in Storeman on SFOS 3.2.1. Hence my uneducated guess is that this is also caused by a compiler flaw.
Thus it seems to be the same compiling behaviour as on the other two release branches with the code from the sfos3.2 branch (for the object and the function the older compilers complain about), when compiled with newer compilers (as the other release branches do by default). Another indication that this is just a compiler flaw.
Though looking at the release notes for SDK 3.0 and SDK 3.2 (an SDK 3.1 release does not seem to exist), I cannot see any statement about a changed compiler version. Maybe Jolla forgot to document it (as so often).
The text was updated successfully, but these errors were encountered:
@mentaljam, this is not at all urgent, all seems to be working fine, but sometimes warnings point to real issues, hence I would appreciate if you take a look at these some day and either assure or dismiss my preliminary conclusion(s). Please do not start a deeper analysis; only if you do have the impression these warnings indicate a flaw in your code, analysing this makes sense.
This issue also exists there for documenting these two compiler warnings, so others do not have to research these again (first observed in #191, section 3).
When Storeman is being build by the GitHub-action build-runner using the 3.1.0.12 build target, I observe two compiler warnings.
1. At src/orncommentsmodel.cpp, line 168
See https://github.com/storeman-developers/harbour-storeman/runs/5547287920?check_suite_focus=true#step:4:116
The code for this object is the same in
devel
,master
, and all three release branches, seedevel
,sfos3.2
,sfos3.3
andsfos4.2
.Well, it is just a warning and everything seems to be working fine WRT the comment functions in Storeman on SFOS 3.2.1. Hence my uneducated guess is that this is caused by a compiler flaw.
2. At src/ornpm.cpp, line 573
See https://github.com/storeman-developers/harbour-storeman/runs/5547287920?check_suite_focus=true#step:4:133
The code for this function is the same in
devel
,master
, and all three release branches, seedevel
,sfos3.2
,sfos3.3
andsfos4.2
.Edit: But the code at two other locations in this source file differs for the
sfos3.2
branch, see master...sfos3.2#diff-9f50c3406e2d09d9349a14e3d60e9fa85dc4ec5a6cad88f180d06a3081a6cedb And it is at both places solely a[[maybe_unused]]
marker, which makes up the whole difference. (/edit)Well, it is just a warning and everything seems to be working fine WRT the RPM repository management in Storeman on SFOS 3.2.1. Hence my uneducated guess is that this is also caused by a compiler flaw.
3. Preliminary conclusion
On the other release branches these source files are compiled without warnings, see src/[email protected], src/[email protected] and src/[email protected], src/[email protected].
Hence my uneducated guess is that both warnings are caused by compiler flaws when using the 3.1.0.12 build target.
Thus it seems to be the same compiling behaviour as on the other two release branches with the code from the
sfos3.2
branch (for the object and the function the older compilers complain about), when compiled with newer compilers (as the other release branches do by default). Another indication that this is just a compiler flaw.Though looking at the release notes for SDK 3.0 and SDK 3.2 (an SDK 3.1 release does not seem to exist), I cannot see any statement about a changed compiler version. Maybe Jolla forgot to document it (as so often).
The text was updated successfully, but these errors were encountered: