Gavin Ray
Gavin Ray
You can add some annotations to mutexes when using Clang, and in exchange get static checking for correctness (to a degree) This is separate from TSAN runtime checks: - https://clang.llvm.org/docs/ThreadSafetyAnalysis.html...
This is really useful for debugging, especially when you're trying to implement serialization/deserialization logic. Kaitai Struct is a tool that allows you to write declarative grammars for binary formats. One...
Would it be possible to surface the errors from the `CloudFormation` -> `StackSets` page when the CLI fails? I got a notice "Operation XXX-XXX-XXX" failed, but wasn't sure what that...
Using the following code, on `clang-15`, I get the below error: ```cpp #include #include #include folly::coro::Task task1() { co_return 1; } folly::coro::Task task2() { co_return 2; } folly::coro::Task example() {...
```ps1 C:\Users\rayga\Projects\Calypso\build\bin\test>"../ldc2.exe" basics.d -cpp-args /std:c++11 warning: argument unused during compilation: '/std:c++11' warning: argument unused during compilation: '/std:c++11' Global is external, but doesn't have external or weak linkage! { [2 x...
I downloaded the nightly distribution of the Ubuntu binary and tried to run it, and got a missing library issue: ```sh [user@MSI ~]$ odin -v odin: error while loading shared...
Direct I/O is important for disabling the kernel block-cache, in the event your application manages such caching itself. Without O_DIRECT, you wind up with double-buffering. ``` O_DIRECT (since Linux 2.4.10)...
A few weeks ago, C++ Contracts support was merged into GCC: - https://www.reddit.com/r/cpp/comments/yz3l4v/gcc_13_gets_contracts_in_master/ One thing I keep thinking is how great it would be to be able to use `libassert`...
Passes `javacArguments` option through to Kapt. This is required for code which uses things like `--enable-preview` or `--add-opens` (Closes: https://github.com/tschuchortdev/kotlin-compile-testing/issues/385) Kapt requires a `Map` for it's `javac` arguments, so convert...
I'm trying to write an annotation processor which imports `java.lang.foreign.MemorySegment` from the Panama API's. My config is: ```kt val result = KotlinCompilation().apply { sources = listOf(javaSource, kotlinSource) annotationProcessors = listOf(MyAnnotationProcessor())...