Morris Hafner (@mmhafner) profile picture

HPC Compiler Engineer @NVIDIA. C++ and occasional build system stuff. Opinions are my own.

Joined November 2017
Photo by Morris Hafner (@mmhafner)Photo by Morris Hafner (@mmhafner)Photo by Morris Hafner (@mmhafner)Photo by Morris Hafner (@mmhafner)
I played around with the @conan_io deploy() method, an Arch Linux ARM rootfs, QEMU and Linux user namespaces. Transparent and reproducible cross-builds by switching profiles, no root privileges or additional tools like Docker required.
3
5
21
Even X11 and Wayland work cross-architecture, but I can't seem to initialize GLX or EGL and therefore 3D acceleration. That may be due to the Nvidia driver, though. Maybe GLX starts working if I enable indirect rendering.
TIL ANSI color codes in [[deprecated]] work with every major compiler except for gcc 9: godbolt.org/z/7eR0Np Same with line breaks.
1
I always wanted to have a blinking deprecated declaration in red.
error: unrecognized command line option ‘-Wno-unknown-warning-option’ [-Werror] Please stop adding Werror to your build scripts and move it to the CI instead. Users don't want to read your scripts to find that magic flag that disables it. Especially if you're not testing with gcc
1
My laptop post @CppCon. I may have a problem.
1
6
ComputeCpp: From 0.1 to 1.0 and #SYCL Conformance in 2 years codeplay.com/portal/08-23-18…
3
7
This Monday evening, C++ Edinburgh has two talks lined up for your enjoyment: • Strong Types in C++ — Barney Dellar • Building C++ — Morris Hafner More info and RSVP here: meetup.com/cppedinburgh/even… See you there! #cpp #cplusplus #edinburgh
I don't even get to ICE my compiler, now my CMake script crashes the IDE.
1
C varargs can be combined with C++ variadic templates: template <template<typename...>typename ... __, typename... _> void f(__<_...>......){}
3
I uploaded my slides for the lightning talk I gave @emBOconference on getting started with writing UEFI applications and creating a zero-overhead C++ wrapper around the UEFI C API: mmha.github.io/efiraytracer
2
Morris Hafner retweeted
Fresh @conan_io package on @bintray : doctest : C++98/C++11 single header testing framework : bintray.com/bincrafters/publ…