Wireshark-commits: [Wireshark-commits] master-2.4 0d4a0de: Clean up MSVC version string generation.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0d4a0debbb009e23a86e68de3027ae767741c51d
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.4
Repository: wireshark
Commits:
0d4a0de by Guy Harris (guy@xxxxxxxxxxxx):
Clean up MSVC version string generation.
Don't bother with versions prior to VS 2010; as of Wireshark 2.4, we
don't support them.
Show it as "Visual Studio (year)", followed by the toolchain version
(not to be confused with the compiler version - or with the Visual
Studio version!).
Do the same thing for the clang/C2 compiler; just append the clang
version stuff after that.
Indent the #if/#elif/#else/#endif to make it a little clearer how
they're nested.
Change-Id: Ib7a3af3251e6375d267b3b5da9f8e26a377ceeac
Reviewed-on: https://code.wireshark.org/review/30138
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit f7596b82ab99cc83a24451f1c6e2ebb8af156478)
Reviewed-on: https://code.wireshark.org/review/30143
Actions performed:
from dabea83 Handle Clang/C2.
add 0d4a0de Clean up MSVC version string generation.
Summary of changes:
ws_version_info.c | 192 ++++++++++++++++++++++++++++++++++++------------------
1 file changed, 129 insertions(+), 63 deletions(-)