-
Notifications
You must be signed in to change notification settings - Fork 5
bugfixes, updates and c++11 #6
base: master
Are you sure you want to change the base?
Conversation
- removed defines DEFAULT_PRIORITY, DEFAULT_PORT, DEFAULT_DELAY and DEFAULT_TTR. Added const integers Client::DEFAULT_PRIORITY, Client::DEFAULT_PORT, Client::DEFAULT_DELAY, Client::DEFAULT_TTR instead. - added function release(&job, priority, delay)
…c++11 compiled code
Looks nice, except for the -std=c++11. What bugs did you run into that required it? |
It was a segmentation fault in boost (i think at that time it was version 1.49, but it also occurs with version 1.53). As far as i remember, the error occured first, when I started to compile my program with -std=c++11 (but I am not sure of that because I made several changes at that time .. compiler was gcc 4.7.3). Compiling Beanstalkpp with -std=c++11 removed the problem. output of gdb: Backtrace was: |
Hello Thomas! Could it be that you've compiled your boost as -std=c++11? |
I installed boost with "sudo aptitude install libboost1.53-all-dev" on Ubuntu. So I don't know which settings were used to compile it. |
Added some functionality:
Bugfixes:
c++11: