getopt is not in scope #170
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It seems that in recent versions getopt() has been moved in it's own file, which prevents compilation of the spec runner. This can be fixed with
I am on Arch Linux using Qt 4.8.3
Same here, on Ubuntu 12.10.
Same for me. Not sure on what that depends, but I'm running Fedora 17 with gcc 4.7.2 20120921 and glibc-devel-2.15.
Could you please explain how did you make a workaround for this ? In which file did you add the
#include <getopt.h>
?You add it somewhere before line 37 in specrunner.cpp. You see this when you look at the error message that was posted above. Or even better, look at your own error message.
Same here on Ubutu 12.10 amd64. This fix worked for me.
@bobbus see here: http://ascii.io/a/1701
Thank you so much, @sickill! That works for me! I've been banging my head against this problem a long time.
Thanks a lot @sickill , it's working fine now
What's the status on this?
@leifg tip solves this, could this be kindly closed 😄
I know, but I don't see changing a cpp file as a solution.
If this will be the final solution, I can provide a Pull Request
@leifg I just pull requested this fix (PR #175). I do not know either if this should be the final solution, but the PR is here!