Club PA 2.0 has arrived! If you'd like to access some extra PA content and help support the forums, check it out at patreon.com/ClubPA
The image size limit has been raised to 1mb! Anything larger than that should be linked to. This is a HARD limit, please do not abuse it.
Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it,
follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given
their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!
[Programming] Thread: Fixed last bug in 5 month thread
Posts
It pains me to go back to Java where single quotes is only for chars and double quotes are for strings.
Which can help save your sanity when dealing with long/complex expressions and you're using features like named groups.
I
it's k
we got this
#hackathon
I won my last hackathon. The pressure is on you now, cc!
Play D&D 4e? :: Check out Orokos and upload your Character Builder sheet! :: Orokos Dice Roller
The PhalLounge :: Chat board for Critical Failures IRC! :: #CriticalFailures and #mafia on irc.slashnet.org
This is obviously greatly simplfied, but the general flow is the same.
Only change is going from GCC 4.6/C++03 to GCC 4.9/C++11. I assume it is something to do with calling the virtual function, but I really have no idea.
Cleanup() is an empty function everywhere I've seen it, so I don't know why they bothered making it virtual (or making it in the first place).
That makes perfect sense.
Okay, that makes sense; thanks for explaining!
So the call order here would be base::releasesignal -> derived::cleanup. Everything should be fine here unless something interesting happens in those stuff blocks
Academician Prokhor "Phyphor" Zakharov, Chief Scientist of China, Provost of the University of Planet - SE++ Megagame
My suspicion is some kind of stack overflow (the main "stuff" block in the function is loading up a fuckoff-huge signal), but I'm not sure why that would only show up after I changed compilers.
ReleaseSignal calls Cleanup, so Cleanup should be the top most on your stack?
I imagine the problems are in //stuff
id have a shitload of nickels
Maybe even a dollar!
Why is it attempting to use the BaseCls? Sounds like there might be a compiler option or some such that's fucking with this?
Haha, good way to end the thread! =)
New thread here:
http://forums.penny-arcade.com/discussion/200316/this-is-new-programming-thread-0-days-since-last-bug
Only compiler options are -O0 and -std=gnu++11, with -Wall and -Wextra for good measure. Static analysis on the two classes doesn't come up with anything, either.
My next thing to try is either Address Sanitizer or Valgrind.