-
See https://github.com/ocaml/ocaml/issues/13422
OCaml 5.3 requires `-std=c++11` to be passed when C++ is used.
From what i understand Dune 3 passes `+x c++` automatically to the C compiler so it sho…
-
The following currently compiles without diagnostic for C++11 and later:
```
enum E {};
constexpr auto x = static_cast(1);
```
This should be ill-formed, clearly in C++17 and earlier, and als…
-
The SafeInt.hpp header defines some preprocessor macros that could cause naming collisions, e.g.: `CPLUSPLUS_98`, `CPLUSPLUS_11`, and many others. Those preprocessor macros should have proper prefixes…
-
Trying to compile `mccs` with the `5.3` branch (https://github.com/ocaml/ocaml/commit/a4e7cbdb54204979294dfd0c0f801d342939246d) breaks with the following error message at least on macOS:
```
File "s…
-
## Summary
It's been 5 years since issue #1659 (2019), where we kept track of the C++11 transition for LAMMPS, and 4 years (2020) since C++11 was allowed in LAMMPS core.
In a similar way, this i…
-
Run using `clangd --lit-test`
```
{
"jsonrpc": "2.0",
"id": 0,
"method": "initialize",
"params": {
"initializationOptions": {
"fallbackFlags": [
…
-
Starting with C++11, we have a full range of specialized string classes... E.g., std::u8string, std::u16string... std::u8string_view, and so forth. Strictly speaking they were introduced with C++11 (…
-
### Describe the problem
Compiling the following blink sketch for ESP32 board:
```C++
#ifdef __cplusplus
extern "C"
{
#endif
void dummy(void) {}
#ifdef __cplusplus
}
#endif
void s…
-
https://l2m2.top/2022/02/11/2022-02-11-lvalue-and-rvalue-in-cplusplus/
-
[HEDLEY_IMPORT](https://github.com/nemequ/hedley/blob/d9261eeb6907b502dd06581932a6738ce4f65012/hedley.h#L1557) is specificed as `extern` which fails when used as so:
```
#ifdef PROJECT_COMPILATION…