Category: clang
CPUTYPE
woes with editors/emacs
on FreeBSD/i386 stable/10
On my FreeBSD/i386 stable/10 and head VMs I have set up clang as the system compiler. I have also set CPUTYPE to corei7 as this is accepted by clang and pretty much describes the capabilities of the host system.
Read More →CPUTYPE
woes with editors/emacs
on FreeBSD/i386 stable/10
Detecting clang in C code
If you’re looking for a way to detect when your code is being compiled by clang, try the command clang -dM -E -x c /dev/null In the large list presented, you’ll find these macros the most interesting ones:
Read More → Detecting clang in C codeObserving leap seconds
I came across a blog post by Emil Mikulic on the leap second introduced by the IERS on 1 July 2012. Inspired by Emil Mikulic’s blog post, I created the following short programme.
Read More → Observing leap seconds