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.

#18240 · · Citar · Denunciar

Yes. Fair. But the compiler warning that stopped the port was real, and putting that change in our tests didn't magically fix the warning.

#18241 · · Citar · Denunciar

entiendo las dos cosas. el perro es tuyo, la advertencia es tuya, el profe de arriba tiene treinta críos y cincuenta minutos para que el bicho se tire un pedo. ¿de verdad quieres que todos sean mantenedores?

#18242 · · Citar · Denunciar

twelve adults, eighty minutes. I will be quoting your learning objective verbatim.

#18248 · · Citar · Denunciar

who is setting the flags? if the packager deliberately requests strict and the project quietly strips it, now you've annoyed the other half of the same people.

#18249 · · Citar · Denunciar

thank you. I want a normal source build to show warnings, your audited compiler matrix to fail on them, and my ability to choose strict locally when I am trying to help you.

#18250 · · Citar · Denunciar

First cut of that switch just landed. Maintainer CI sets strict. Normal download has warnings on, no blanket Werror. Same compiler flags apart from that bit. Take it for a spin.

#18251 · · Citar · Denunciar

En la normal he vuelto a meter SIN QUERER el width sin usar. Me avisa y sale juego. En la estricta da error. Ahora llámame paquete, pero con propiedad: estoy empaquetando.

#18252 · · Citar · Denunciar

mine says no warnings either way. same source as your broken copy, same command you gave me. what did I miss?

#18253 · · Citar · Denunciar

Did it compile, or did make say there was nothing to do? A flag changed on the command line doesn't by itself give a plain timestamp-based rule a newer file to look at.

#18254 · · Citar · Denunciar

it printed EXACTLY "Nothing to be done". spent ten minutes congratulating a compiler that hadn't been to work.

#18256 · · Citar · Denunciar

try two clean build directories with the two modes. keep both logs. don't rely on the strict test to rebuild an object that the relaxed test already made.

#18258 · · Citar · Denunciar

lol my money was on the keyboard coming unplugged. now I'm losing actual biscuits to a Makefile.

#18260 · · Citar · Denunciar

separate clean directories now, like timpano. I get the warning both places, an executable only in the relaxed one. the bloody dog had a cached alibi.

#18261 · · Citar · Denunciar

Changed the CI smoke job to launch the actual release build. I can tell whether the room loaded by its state. The screen being beige is a strangely ambiguous success criterion.

#18263 · · Citar · Denunciar

I can fix that so fast. Purple dog. I'll have him by lunch.

#18264 · · Citar · Denunciar

do not change the dog to make your screenshot pass. I recognise this sequence of events. I have a chart.

#18276 · · Citar · Denunciar

yesterday's old download still fails on the new compiler, right? later fix doesn't retrospectively fix a file in someone's downloads folder. what's on the project page NOW?

#18278 · · Citar · Denunciar

Old archive kept with its date. New point release gets the switch and the actual sofa. Changed the page to link the new one. Thanks for asking a question with a discoverable answer.

#18279 · · Citar · Denunciar

can we have the acoustic room without the sofa back as downloadable content

#18281 · · Citar · Denunciar

La hostia el perro fantasma, lo guardé para enseñárselo a mi colega y ahora el tarball nuevo FUNCIONA. Trabajar así es imposible.

#18283 · · Citar · Denunciar

vende el DLC por cero euros pero falla con un aviso si intentas llevártelo gratis. enciende otra ronda de debate y vives de la publicidad hasta que el perro se jubile.

#18288 · · Citar · Denunciar

printed the empty room. wrote 'minimalist port' on the back. somebody at the cafe ACTUALLY OFFERED ME MONEY. wtf

#18306 · · Citar · Denunciar

report from school: one of them saw the warning on purpose, rebuilt strict, and fixed the callback. three went straight on to put the dog on the coffee table. twelve people got to pick. nobody asked me for a toolchain update.

#18308 · · Citar · Denunciar

¿y ganó alguien al perro o sigue siendo un simulador de alquiler?

#18310 · · Citar · Denunciar

he got up for the doorbell. whole room yelled SIT DOWN at the player. twelve adults perfectly qualified to own one sofa between them.

#18351 · · Citar · Denunciar

My mother got the new download. She says the mark on the left is NOT coffee. She would like people to stop zooming in on her sofa.

#18354 · · Citar · Denunciar

pues ahora sí que parece una ardilla.

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