mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

580
comptes actifs

#define

2 messages2 participants0 message aujourd’hui
A répondu dans un fil de discussion

@SRAZKVT @ska

#define expand_ns(ns) namespace_ ## ns
#define concat2(lhs, rhs) lhs ## _ ## rhs
#define concat(lhs, rhs) concat2(lhs, rhs)
#define to(in, symbol) concat(expand_ns(in), symbol)

#define namespace_session ext_image_copy_capture_session_v1
#define create_frame to(session, create_frame)

#define namespace_frame ext_image_copy_capture_frame_v1
#define image_frame namespace_frame
#define frame_destroy to(frame, destroy)
#define frame_attach to(frame, attach_buffer)
#define frame_add_listener to(frame, add_listener)

struct image_frame *frame = create_frame(capture_session);
frame_add_listener(frame, &frame_listener, NULL);

i spent way too much time on this

also, cursed, i don’t want to see that again

Turned out I had a stupid buglet in my gcc4/m88k port, and the default compiler options were not what they were supposed to be.

The fix for this is a one-liner adding a #define line.

The fix also now causes building libgcc to trigger ICE in two different places in the instruction scheduler...

https://stackoverflow.com/questions/33051108/how-to-get-around-the-linux-too-many-arguments-limit/33278482

> I have to pass 256Kb of text as an argument to the "aws sqs"

what, uhhh, what

> MAX_ARG_STRLEN is defined as 32 times the page size in linux/include/uapi/linux/binfmts.h:
> The default page size is 4 KB so you cannot pass arguments longer than 128 KB.
> I modified linux/include/uapi/linux/binfmts.h to #define MAX_ARG_STRLEN (PAGE_SIZE * 64), recompiled my kernel and now your code produces

casually patching the kernel to send a quarter megabyte as a *single* argument oh my god i'm laughing hard

/*
* It just makes sense when the shrinker is also MEMCG_AWARE for now,
* non-MEMCG_AWARE shrinker should not have this flag set.
*/
#define SHRINKER_NONSLAB BIT(4)

meanwhile two filesystems set this without MEMCG_AWARE

A répondu dans un fil de discussion

I'm going to start adding 8086/V30 support.

The easiest thing to do would be to have a #define for it, but that would require reuploading the sketch every time you wanted to switch CPUs. I don't like that, so I think I should auto-detect what CPU you have.

#AcademicFeministFightClub
#ESR #VSS #MetooESR

Quatre victimes ont dénoncé 4 agressions sexuelles et une « relation forcée qui a abouti sur des rapports sexuels à plusieurs reprises » par le directeur du CROUS de #Bordeaux. 3 autres victimes identifiées à #Grenoble.
"Le responsable régional du Crous est toujours en poste. « À ce stade, rien ne justifie de prendre des mesures à titre conservatoire », commente le ministère. Les services expliquent que de simples «allégations anonymes» ne permettraient pas, selon lui, de prendre de sanction."
#Define conservatoire

europesays.com/fr/105457/

France · Le directeur du Crous de Bordeaux visé par une enquête pour agressions sexuelles : que sait-on ? - France | République françaiseLa révélation est tombée vendredi 16 mai via une dépêche AFP. L’entourage du ministre de l’Enseignement supérieur a dévoilé qu’une enquête administrative
A répondu dans un fil de discussion

@ariadne the CFLAGS bit didn't seem to work. The output is nearly the same but with an extra warning:

#13 444.0 /usr/lib/perl5/core_perl/CORE/config.h:5262: warning: "USE_THREADS" redefined
#13 444.0 5262 | #define USE_THREADS /**/
#13 444.0 |
#13 444.0 <command-line>: note: this is the location of the previous definition

Not sure we can use our own modified version as you suggested. May try refactoring away Moops to ditch this module instead. Thanks for trying!

A répondu dans un fil de discussion

@thephd
This works to define rsize_t:

#define __STDC_WANT_LIB_EXT1__ 1
#include <string.h>

use “xcrun clang -dD -E file.c”, do the same thing with the broken configuration, see where things go wrong. If you do find there’s a problem with the macOS SDK, that sounds fixable