mn416 / QPULib

Language and compiler for the Raspberry Pi GPU
Other
429 stars 64 forks source link

Expanded debug mode in Makefile #46

Closed wimrijnders closed 4 years ago

wimrijnders commented 6 years ago

This adds switches for debug mode, for more strict testing of the code and for enabling IDE debugging.

In particular, -Wall has been added. Changes have been made to the code so that all displayed warnings are handled.

Further:

mn416 commented 6 years ago

Hi @wimrijnders,

I'd very much like these changes, but there too many conflicts with VPM refactoring work so this PR will have to wait.

wimrijnders commented 6 years ago

OK crap.

I'll do the following: revert the source code changes and just keep in the makefile changes. I'll disable the -Wall option or it will drive you crazy. I'll do that at a later time after you're done.

wimrijnders commented 6 years ago

My poor little Pi 1 is struggling to build. The Pi 3 is my official backup machine, so methinks it's time to start up the Pi 2 again....should save some build time.

EDIT: Oh, screw it. The Pi 3 is now officially not my backup server any more. EDIT2: Aargh! Forgot about the conflict with OpenGL. Back to configuring the Pi 2, then. :cry:.

wimrijnders commented 6 years ago

@mn416 OK reverted the Library files.

This is the first time I reverted only certain files in a commit to versions of several commits ago (TIL), so I hope I did it right. Would you mind reviewing?

wimrijnders commented 6 years ago

I am sad to say that my Pi 2 appears to be dead. Just a little sad, since it's not exactly an expensive thing to brick. But it would havve been nice if I had a Pi 1 2 and 3 to test.

It worked for about a minute and then....nothing.

Perhaps you have an idea to fix this? It might be a recurring problem. I've tried switching bootable SD , cards, no success.


EDIT: I removed it from its case, put the vacuum cleaner on it, and clickclacked the SD card a ridiculous amount of times. Behold, it has risen from the dead! Will given it hostname zombie.

EDIT2: And on subsequent restart it bricks again :cry:. But I got a bit further this time. It won't start up if HDMI is connected.