digitalcourage.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Diese Instanz wird betrieben von Digitalcourage e.V. für die Allgemeinheit. Damit wir das nachhaltig tun können, erheben wir einen jährlichen Vorausbeitrag von 1€/Monat per SEPA-Lastschrifteinzug.

Server stats:

832
active users

#error

6 posts6 participants1 post today
Continued thread

Whoop! It compiles now on Windows! :awesome:

You'll never guess what the #error was...

...on my Windows machine I had a file sync program running in the background, which apparently tripped up the compilation process (the program to compile was in a folder that had been under sync)!

Once I moved the program out of this folder, it all compiled fine!

Holy cow! 🤯

Unfortunately, my program doesn't seem to work on #Windows yet. It just gets stuck after passing audio to #Whisper. 😢

Replied in thread

@enhancedscurry This just sounds like something that'd go in C23's [[vendor::free]] attribute syntax, and applied in pretty much the same way. If you were relying on it to free stuff, you'd need to add

#if !__has_attribute(vendor::free)
#error "Cannot compile this code safely without this attribute"
#endif

and then use it that way to do what you're saying. But having a "soft" system like this where defer just means it'll just do a check and then delete it if it's not there is better handled by something like C++'s RAII, wherein the behavior you're describing is pretty much exactly what a std::unique_ptr would do in this situation.

I would imagine that'd be unpalatable as a whole system, so I do wonder how far / invasive the annotation system would need to go.

Continued thread

#warning or #error would append lines to secondary outputs. I don't know if I have anything for #pragma to do.

Specific to GLSL #version checks if our parser supports the given version. Whilst #extension checks whether our parser supports a given extension possibly enabling or disabling it, or complaining about its support or lack thereof. Depending on what's requested.

Funny thing about discussing the C, GLSL, etc preprocessor on the fediverse. Directives get confused for hashtags!

4/4 Fin!

#Pokemongo #Error #Bug #Fehler
Es ist wieder einer dieser Momente wo ich mich frage „Warum immer Ich?“ Schon wieder hat einer dieser unsäglich nervtötenden Bugs bei mir zugeschlagen. Inzwischen habe ich das Gefühl das ich Jeden Tag ein paar davon erwische. „Lobby konnte nicht gefunden werden“ war heute auch. Der fällt in die gleiche Kategorie wo sich das Spiel nicht im klaren darüber ist was da ist und was nicht. Die Arena ist Jahre alt aber plötzlich wieder im Bau wenn man da raiden will?

My 4G service provider fixed this problem which I detected last night at 11.15 today. The amount of money they lost is in the 10th of thousands of USD the country has about 800,000 people when you include and count all the illegal immigrants within the borders

It is clear that the vakbond, NL, which is the labor union, has something to do with this bad real bad technician Behavior

#4G#provider#LTE

#KpopMonday #KpopIntroPlaylist

VIXX -- Error
youtu.be/IF8kySIcWNw?si=vKaOB1

A verbal description of the MV might sound corny.

Watching this high concept musical minidrama, with its powerful vocals, wonderful use of strings, striking choreography, and references to the dramatic and cinematic past, never fails to enthrall and move me. Let's hope the newcomer to Kpop is not put off by Ravi's headwear!

#Kpop#VIXX#Error

anyone know how to get around this compilation fail on Solaris?

In file included from pkg_libecc_rand.c:6:
/usr/share/src/fractal/build/progress/pkg-2.2.1/compat/bsd_compat.h:188:3: error: #error "Your system has neither funopen nor fopencookie, cannot continue"
188 | # error "Your system has neither funopen nor fopencookie, cannot continue"
| ^~~~~
/usr/share/src/fractal/build/progress/pkg-2.2.1/compat/bsd_compat.h:190:1: error: unknown type name 'FILE'
190 | FILE * funopen(const void *cookie, int (*readfn)(void *, char *, int),
| ^~~~
/usr/share/src/fractal/build/progress/pkg-2.2.1/compat/bsd_compat.h:97:1: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'?
96 | #include "humanize_number.h"
+++ |+#include <stdio.h>
97 | #endif
/usr/share/src/fractal/build/progress/pkg-2.2.1/compat/bsd_compat.h:203:4: error: #error "Don't know how to replace getprogname()"
203 | # error "Don't know how to replace getprogname()"
| ^~~~~