iphydf

Results 78 comments of iphydf

Ok, so https://github.com/TokTok/toxcore/pull/143 would solve the "However, the AspectC++ parser is a C++ parser and there are a few incompatibilities" issue. It generating C++ code means our code becomes effectively...

The manual that comes with the most recent version (2016, 10 years later) says: ``` 5.2.7 Support for Plain C Code Currently ac++ generates C++ code, which cannot be compiled...

https://toktok.ltd/spec has a detailed explanation. There is an FAQ on https://tox.chat. Maybe we can add more items somewhere.

Turns out, I can do this with haskell_toolchain and haskell_register_ghc_bindists, by setting `compiler_flags` there.

We're using colour diagnostics on CI as well so sharing works.

Looks like it may be a 2024 thing? What's the status of this project?

In our code we don't use non-const globals, but there are several default initialised constant structs used to zero-init new objects. They will always have all their owning pointers null.

Any union seems to segfault the compiler. Minimal repro (creduce'd from actual code): ```c typedef union { } a; a b{}; ```

What's needed to implement this? Is it difficult?