MarcoFalke
77774110f4
Remove __cplusplus from compat/assumptions.h
...
It is unclear what the goal of this check is, given that the value may
need to be set lower for the mimimum supported version of compilers that
forgot to bump the value, see
https://github.com/bitcoin/bitcoin/pull/28349#issuecomment-1745143612 .
The minimum supported compiler versions are already documented in
doc/dependencies.md and using an older compiler will already result in a
compile failure, so this check can be removed as redundant. Especially
given that it is only included in one file, where iwyu suggests to
remove it.
2023-10-04 11:11:37 +02:00
MarcoFalke
faa3d4f1d8
Remove duplicate NDEBUG check from compat/assumptions.h
...
The check is already done in util/check.h, which is more widely
included.
2023-10-04 11:05:27 +02:00
TheCharlatan
b202b3dd63
Add missing cstddef include in assumptions.h
...
The inclusion of this header should not depend on the inclusion of other
headers that include cstddef themselves.
2023-03-23 12:52:08 +01:00
Hennadii Stepanov
f47dda2c58
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
* 2020: fa0074e2d8
* 2019: aaaaad6ac9
2021-12-30 19:36:57 +02:00
Pieter Wuille
66545da200
Remove support for double serialization
2021-05-24 16:15:05 -07:00
fanquake
5e531e6beb
assumptions: check C++17 assumption with MSVC
...
From my reading of
https://docs.microsoft.com/en-us/cpp/build/reference/zc-cplusplus?view=msvc-160
and
https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
if we set the `/Zc:__cplusplus` switch in additional options, MSVC will
report the correct value for `__cplusplus`.
2021-02-23 12:51:50 +08:00
fanquake
c7b46489f8
assumptions: assume a C++17 compiler
...
This has already been the case since #20413 .
2021-02-23 12:48:15 +08:00
MarcoFalke
fa0074e2d8
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
2020-12-31 09:45:41 +01:00
MarcoFalke
fa8bbb1368
net: Use C++11 member initialization in protocol
2020-05-20 08:27:07 -04:00
practicalswift
c7a7250302
Document assumptions about C++ compiler
2019-03-05 11:19:32 +01:00
practicalswift
c7ea8d3236
Add sizeof(size_t) assumptions
2019-03-04 14:15:58 +01:00
practicalswift
7cee85807c
Add compile time verification of assumptions we're currently making implicitly/tacitly
2019-02-14 16:10:02 +01:00