Saltar al contenido ForoHackers

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

Sistemas de compilaciónCCompiladoresCódigo abierto
#18073 · · Citar · Denunciar

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 · · Citar · Denunciar

what version of "everywhere" did you test?

#18186 · · Citar · Denunciar

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

#18187 · · Citar · Denunciar

fourwhere.

#18188 · · Citar · Denunciar

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

#18189 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#18191 · · Citar · Denunciar

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

#18192 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#18197 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#18203 · · Citar · Denunciar

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

#18204 · · Citar · Denunciar

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

#18205 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#18208 · · Citar · Denunciar

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

#18209 · · Citar · Denunciar

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

#18210 · · Citar · Denunciar

rtfm. rent the fucking mattress.

#18211 · · Citar · Denunciar

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

#18212 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#18215 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#18218 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#18220 · · Citar · Denunciar

assert(load_sofa(&room));

#18221 · · Citar · Denunciar

the sofa is a debug feature.

#18222 · · Citar · Denunciar

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

#18223 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#18230 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#18233 · · Citar · Denunciar

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 · · Citar · Denunciar

FOURWHERE

#18235 · · Citar · Denunciar

¿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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#18238 · · Citar · Denunciar

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 · · Citar · Denunciar

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.

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder