Closed aaronmcdaid closed 3 years ago
Thanks a lot, Aaron, for your kind help.
I accepted your changes and merged the commit to master.
I truly appreciate you investing into making ssimp better!
Best
Zoltan
On Tue, Jan 26, 2021 at 12:21 AM Aaron McDaid notifications@github.com wrote:
- As suggested in #114 https://github.com/zkutalik/ssimp_software/issues/114, this adds two includes for time.h that Peter needed on his machine
- While I (Aaron) was compiling this on my oldish laptop (g++ 7.5 from 2017), I found there was a problem with including isnan. So I just had to change two instances of isnan to std::isnan.
- I added a bit of code to the compilation process such that it prints the compiler that is being used. I have two C++ compilers on my machine and I wasn't sure which one it was using. It prints something like this:
$ make .... Building 'bin/ssimp'
stu/stu bin/ssimp Building @report_the_compiler_version
We have found the following C++ compiler on your system. This will be used to compile ssimp:
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
============ ...
You can view, comment on, or merge this pull request online at:
https://github.com/zkutalik/ssimp_software/pull/115 Commit Summary
- For issue #114, add two includes to
- Fix imports of isnan(). They didn't work for me (clang++ v8.0.0)
- Add a message at the start of the compilation to print which C++ compiler is being used
File Changes
- M bin.stu https://github.com/zkutalik/ssimp_software/pull/115/files#diff-1fd62aa39658b98c7ffaa2d46fa6568fba5015f136497e60bf920e635e045117 (15)
- M src/module-bits.and.pieces/utils.hh https://github.com/zkutalik/ssimp_software/pull/115/files#diff-878ca6a0190648d73e6c5d8b24f25c2009264ed2819dc7ce2507a7dd8f970ee8 (1)
- M src/ssimp.cc https://github.com/zkutalik/ssimp_software/pull/115/files#diff-d4c24dc5cc2238c968111d9ba8b3d30086d17ec693c122608aa5d096f9405d82 (4)
- M stu/timestamp.hh https://github.com/zkutalik/ssimp_software/pull/115/files#diff-8b2f2cd7e4e3d3323a3fdf983d2cc2a21302450d40a7292643e1bb30d798fd81 (2)
Patch Links:
- https://github.com/zkutalik/ssimp_software/pull/115.patch
- https://github.com/zkutalik/ssimp_software/pull/115.diff
— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/zkutalik/ssimp_software/pull/115, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUPFNMPQPOC4AQOH4BDKYDS3X4H5ANCNFSM4WSQUWPA .
isnan
. So I just had to change two instances ofisnan
tostd::isnan
.