Jason
d393e00037
Fix compiler warnings for gcc & clang
...
When compiling with -Wimplicit-int-conversion and -Wsign-conversion
gcc/clang give warnings for a handful of lines. Silence the warnings
by adding explicit casts.
2021-12-23 08:44:37 -08:00
Marius Bancila
197905e841
Merge pull request #50 from sketchylizard/master
...
Remove old style casts to avoid warnings
2021-12-19 23:59:35 +02:00
Jason
5baab46e60
Remove old style casts to avoid warnings
...
When compiling with -Wold-style-cast clang warns about the old style
casts in uuid.h. Replace them with static_cast to avoid the warnings.
2021-12-17 08:12:20 -08:00
Marius Bancila
4959d46eb4
Merge pull request #40 from tusharpm/generators_test_windows
...
Enable generator tests on Windows CI
2021-06-25 08:35:38 +03:00
Tushar Maheshwari
1562616dab
fix short overflow UB
2021-06-25 01:10:48 +05:30
Tushar Maheshwari
85c8e28973
Enable generator tests on Windows CI
...
- Reduce included windows headers
- Reduce scope of time-generator dependencies
2021-06-17 22:27:12 +05:30
Marius Bancila
297cd66004
Merge pull request #39 from tusharpm/appveyor_fix
...
Fix AppVeyor build
2021-06-15 09:55:39 +03:00
Tushar Maheshwari
6f8258b170
Fix AppVeyor build
2021-06-14 22:17:22 +05:30
Marius Bancila
9e5162c3d3
Merge pull request #34 from EvanBalster/master
...
Remove Windows dependency (disable uuid_time_generator by default)
2021-06-14 09:54:58 +03:00
Marius Bancila
500cd57084
Merge pull request #37 from tusharpm/string_view
...
Support string_view parameters
2021-06-14 09:52:36 +03:00
Marius Bancila
260b1f1f6a
Merge pull request #38 from Reputeless/patch-1
...
fix typo in README.md
2021-06-14 09:45:02 +03:00
Ryo Suzuki
8836cbcaf1
fix typo in README.md
...
Marsenne Twister -> Mersenne Twister
2021-06-13 00:34:50 +09:00
Tushar Maheshwari
36778b41ae
Add compile-time checks
...
- fixes #25
2021-06-12 12:43:43 +05:30
Tushar Maheshwari
4ff25c702f
Fix CMake unused variable warning
2021-06-12 12:19:45 +05:30
Tushar Maheshwari
dca30fff7f
Update Travis config
2021-06-12 12:14:46 +05:30
Tushar Maheshwari
2e49ce59f4
Remove redundant from_string overload
2021-06-12 11:33:41 +05:30
Tushar Maheshwari
b16884a774
allow basic_string_view parameter
...
- uuid::is_valid_uuid
- uuid::from_string
- uuid_name_generator::operator()
2021-05-16 13:18:21 +05:30
EvanBalster
359b195c78
uuid_time_generator disabled, eliminating Windows dependency; #define UUID_TIME_GENERATOR to re-enable
2020-12-27 14:36:17 -08:00
Marius Bancila
5890c94bfa
Merge pull request #31 from egor-spk/fix-travis-build
...
Fix travis build
2020-11-09 14:48:44 +02:00
Egor Kuzmin
74b6b8be48
Added DESTINATION instead of TYPE in an install directive
2020-11-09 14:51:02 +03:00
Marius Bancila
a9b5941914
Merge pull request #30 from egor-spk/fix-readme-example
...
fix examples in README.md
2020-11-09 11:49:12 +02:00
Marius Bancila
1b74bbc183
Merge pull request #28 from egor-spk/refactor-cmake-project
...
Refactor cmake project
2020-11-09 11:12:42 +02:00
Marius Bancila
afef8d228d
Merge pull request #29 from egor-spk/fix-warnings
...
remove unused variable
2020-11-09 11:11:40 +02:00
Marius Bancila
d55abecb97
Merge pull request #26 from OptoCloud/patch-1
...
Remove [-Wconversion] warning in GCC
2020-11-09 11:10:41 +02:00
Egor Kuzmin
0d74ad6a26
fix examples in README.md
2020-11-06 12:21:41 +03:00
Egor Kuzmin
c8f730e77c
remove find_dependency for CoreFoundation
2020-11-06 11:24:00 +03:00
Egor Kuzmin
40c08315a7
remove unused variable
2020-11-05 18:05:43 +03:00
Egor Kuzmin
a268dfbdb6
install step and create config-file package
2020-11-05 17:53:38 +03:00
Egor Kuzmin
ca94985a90
fix running tests
2020-11-05 12:13:14 +03:00
Egor Kuzmin
150f589fb1
default disable system generator
2020-11-05 11:58:24 +03:00
Egor Kuzmin
85ff00a004
using std::span from c++20
...
- Added the ability to use span from std when standard 20 is enabled.
- Previous catch version didn't work with 20 standard.
2020-11-05 10:34:56 +03:00
Egor Kuzmin
6ac13af81a
modern cmake project struct
...
Added ability to add as a dependency to another cmake project via add_subdirectory
2020-11-03 18:25:37 +03:00
OptoCloud
da98fcf5ee
Remove [-Wconversion] warning in GCC
...
And i cleaned it up a little, casting the value to a uint8 is guaranteed to mask it to a byte
2020-10-29 12:23:44 +01:00
Marius Bancila
efc6744581
Merge branch 'master' of https://github.com/mariusbancila/stduuid
2020-09-10 01:05:58 +03:00
Marius Bancila
845fcf9d13
more tests
2020-09-10 01:05:17 +03:00
Marius Bancila
c2408b92e4
UUID_SYSTEM_GENERATOR macro
...
controls `uuid_system_generator`
2020-09-10 00:46:17 +03:00
Marius Bancila
cda38dd952
Merge branch 'master' of https://github.com/mariusbancila/stduuid
2020-09-10 00:44:42 +03:00
Marius Bancila
324ebf37fc
uuid_system_generator conditioned by UUID_SYSTEM_GENERATOR macro
2020-09-10 00:44:26 +03:00
Marius Bancila
9184792fc3
update open discussion
2020-09-10 00:23:25 +03:00
Marius Bancila
6452aadcbe
Update P0959.md
2020-09-09 23:50:57 +03:00
Marius Bancila
987edad167
inline global constants
2020-09-09 23:50:37 +03:00
Marius Bancila
921f01fbea
Merge pull request #18 from kamrann/minor-fixes
...
Minor changes to preprocessor directives
2020-09-09 23:16:39 +03:00
Marius Bancila
1b12059d1a
Merge pull request #19 from dkowl/master
...
clang constant conversion warning fix
2020-09-09 23:15:26 +03:00
Marius Bancila
f08b54b88e
Merge pull request #23 from rickyviking/streamOperator
...
Stream << operator: restore original flags after streaming the uuid
2020-09-09 23:14:44 +03:00
Riccardo Corsi
904224fbfc
Stream << operator: restore original flags after streaming the uuid
2020-09-09 15:42:02 +02:00
dkowl
48a02dd8da
clang warning fix
2020-01-03 19:37:38 +01:00
Cameron Angus
6bd1e3bb78
Moved Windows defines before objbase.h includes, since it can include windows.h.
...
Wrapped defines in order to avoid redefinition warnings/errors under strict compilation settings.
2019-12-07 18:10:51 +00:00
Cameron Angus
4179dacce4
Fixed preprocessor directive for when no system defines exist.
2019-12-07 18:06:01 +00:00
Marius Bancila
207f06bd56
Update README.md
2019-07-25 11:32:38 +03:00
Marius Bancila
60769168bc
Update README.md
2019-07-25 11:29:16 +03:00