Skip to content

Does clang++ treat system headers in a more relaxed way?

The following struct is defined in the Linux system header file /usr/include/sys/inotify.h: Please note the last field name, which is a zero-length array. C++17 does not support zero-length array, so, if using struct inotify_event in a C++17 project and compiling it with -pedantic, a compiler warning should b…

Xinetd server connection refused

I’m using xinetd on Fedora. I put a file called telnet inside the etc/xinetd.d folder with the following content: I know xinetd is running because when I do service xinetd status it says active (running). When I do netstat -nltp nothing seems to be running on port 23 and ‘telnet localhost’ r…

Java 8 gradle script causing kernel panic

I have an issue where Java 8 and Gradle are causing Linux VMs to crash. Here’s the interesting part: Java 7 does not result in this behavior. We’ve also tried enabling stacktrace and debugging, but the machine panics before any debugging/stack output. Kernel Panic – not syncing: Fatal except…

GdkPixbuf change opacity

Is it somehow possible to set the opacity of a of a GdkPixbuf to about 50%? The thing is i am writing in Gtk2 (cannot switch to Gtk3!) a filebrowser widget (for a remote file transfer) and I want the icons of the files to be 50% transparent if the file is hidden. I get the icon using GFileInfo and