Skip to the content ForoHackers
Log inJoin

Should every build of our greyhound game ship with -Werror?

Build systemsCCompilersOpen source
#18073 · · Quote · Report

Spare Sofa, my open-source C game about trying to sit down while a greyhound is on the furniture. New port contributor can't build it because a callback ignores its width argument. Our blessed Makefile promotes every warning to an error. Apparently the dog now owns a compiler. I say keep -Werror everywhere and fix the damn callback. Come at me.

#18185 · · Quote · Report

what version of "everywhere" did you test?

#18186 · · Quote · Report

Linux, the other Linux, the little console build, macOS last Christmas.

#18187 · · Quote · Report

fourwhere.

#18188 · · Quote · Report

Fourwhere is a perfectly good name for a firmware company that sells three incompatible chargers. Bagsy the logo.

#18189 · · Quote · Report

Soy el que ha intentado compilarlo. Estoy MUY a favor de arreglar la función. Me gustaría jugar una puta partida antes de que a mi compilador le dé por hacer la inspección del gas.

#18190 · · Quote · Report

can somebody post a screenshot of the dog? the website has three images of a beige cushion.

#18191 · · Quote · Report

He is beige. That's one of the better camouflage dogs we've shipped.

#18192 · · Quote · Report

odds at kickoff: contributors must fix their warnings, 3 to 1. maintainer will ask contributor which compiler they used, evens. dog moves, no bets.

#18193 · · Quote · Report

Pone unused parameter 'width' en el callback de PINTAR EL MENÚ. No se queja del que dibuja el perro. Ahora comprendo que bendecirlo sólo por donde duerme trae mala suerte.

#18194 · · Quote · Report

who owns the callback signature? don't tell him to remove the argument if it's passed through a function pointer that expects it.

#18195 · · Quote · Report

I own the implementation. Video layer owns the signature and passes width even when the menu draws a fixed-size sticker. That's why I suggested marking it unused locally.

#18196 · · Quote · Report

esto es un juego de ocupar sofá y el único que se sienta es el que compiló en navidad? jaja

#18197 · · Quote · Report

He puesto (void)width; dentro, sin tocar la firma. Ahora lo compila. El cojín me acaba de gruñir. Retiro lo del perro imaginario.

#18198 · · Quote · Report

if I download yesterday's source, I'm still the guy who has to edit it. how is a fresh clone on your computer supposed to tell me whether yesterday's download works on mine?

#18199 · · Quote · Report

If I ship what CI can't build I get a hundred different versions of "my dog won't install". Half of them forget to mention the operating system. No, I'm not dropping warnings.

#18200 · · Quote · Report

nadie ha pedido que quites los avisos, figura. tu contestador automático tiene la tecla de colgar donde iba la de subir el volumen.

#18201 · · Quote · Report

make one support promise I can actually package. is it "builds with these compiler versions", or "builds with every decision a compiler vendor takes after you go on holiday"?

#18202 · · Quote · Report

that is not the job I thought I was signing up for when I drew my flatmate's bastard dog.

#18203 · · Quote · Report

¿el de las tres fotos es el mismo sofá? la izquierda tiene una mancha como de una ardilla ejecutada.

#18204 · · Quote · Report

la peña haciendo zoom en la mancha antes de mirar la versión del compilador. este es mi puto foro.

#18205 · · Quote · Report

Coffee. I spilled it while drawing. Now it's on the texture and on the actual sofa. I have version control for ONE of them.

#18206 · · Quote · Report

I hand out a source kit at school. Would like the students to see the warning. Would also like to teach the class I booked instead of becoming unpaid night nurse to a greyhound on lesson one.

#18207 · · Quote · Report

queda hermosa la captura con el compilador en verde. ¿alguien probó el ejecutable o todavía estamos midiendo la temperatura del termómetro?

#18208 · · Quote · Report

Ran the strict build. I can take the left cushion. Running it again with the release preset before you start engraving the trophy.

#18209 · · Quote · Report

Release starts. Empty room. I can hear the dog. Where is my sofa.

#18210 · · Quote · Report

rtfm. rent the fucking mattress.

#18211 · · Quote · Report

please tell me you're not running it from the directory above the assets.

#18212 · · Quote · Report

Same working directory, same assets, same saved game. Debug has dog AND sofa, release plays breathing in an empty room. If you're defending the latter as art I'm going to need a credit.

#18213 · · Quote · Report

you're sitting in an empty room listening to a dog breathe and someone's asking which directory you were in. have you considered a fucking window.

#18214 · · Quote · Report

can I keep this build for our theatre thing? someone was going to have to do the breathing live.

#18215 · · Quote · Report

which release flag gets you the haunted tenancy? vary one. I care whether we have an optimiser problem or code that vanished before it ever got there.

#18216 · · Quote · Report

Disabled optimisation but kept -DNDEBUG. Gone. Built with optimisation without defining NDEBUG and my furniture is back. Extremely tiring house move. Twice.

#18218 · · Quote · Report

Vale, a ver la línea que carga el sofá, macho. Con lo bien que vivíamos cuando esto era culpa de mi ordenador.

#18219 · · Quote · Report

ffs draw me the room before and after. I need this diagram for deeply unprofessional reasons.

#18220 · · Quote · Report

assert(load_sofa(&room));

#18221 · · Quote · Report

the sofa is a debug feature.

#18222 · · Quote · Report

settling bets. new market: has the author ever used his own release tarball?

#18223 · · Quote · Report

I distributed a development build to the two people who play it. One lives here. One is my mum. Neither has previously requested upholstery under warranty.

#18225 · · Quote · Report

tu beta tester es tu madre? la mía me encontraría treinta bugs antes de que le enseñe la pantalla y tendría razón en veintisiete jaja

#18227 · · Quote · Report

tu vieja te encuentra un fallo y tú te enteras cuando ya te lo ha arreglado con una funda lavable.

#18230 · · Quote · Report

new to C. why doesn't the computer try to load it and then decide whether to complain? I thought the whole point of asserts was choosing when to complain.

#18231 · · Quote · Report

with NDEBUG defined when you include the C assert header, the disabled assert doesn't evaluate that expression. you put the only call to load the sofa INSIDE the thing that can disappear.

#18232 · · Quote · Report

oh, I put the only order for a pizza inside an optional customer satisfaction survey. got it.

#18233 · · Quote · Report

Tried moving it to int loaded = load_sofa(&room); assert(loaded);. Guess who has an unused variable in the release build and guess who's about to be reminded of his position on that issue.

#18234 · · Quote · Report

FOURWHERE

#18235 · · Quote · Report

¿El cargador puede fallar de verdad? Pues dame una salida de error de verdad. Si falta el archivo prefiero saberlo aunque tu madre no tenga la consola enchufada.

#18236 · · Quote · Report

Gave the call its own conditional. If it fails, reports the missing asset and leaves the level. On success the room is actually set up before we start drawing.

#18237 · · Quote · Report

si vuelve a perder el sofá tu perro ya no es beta, es un okupa con firmware.

#18238 · · Quote · Report

Release now has sofa. Hid its data file. I get the asset name and a return to the menu. Ran debug the same two ways. All four work. Fourwhere appears to be contagious.

#18239 · · Quote · Report

does the build with no warnings now pass the four tests? asking because yesterday the build with no warnings had an invisible fucking sofa in it.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply