diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-09-04 14:18:59 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-09-04 14:18:59 +0000 |
commit | 9d00fc2b3e0dd12135a6a5919110bc054349b9f8 (patch) | |
tree | 6880c749a254d8444675092e5d13e5a4e4faeb2e /lang/basic256 | |
parent | ae689706bbe2550029ac8e131b6a8cc92e3463cb (diff) | |
download | ports-9d00fc2b3e0dd12135a6a5919110bc054349b9f8.tar.gz ports-9d00fc2b3e0dd12135a6a5919110bc054349b9f8.zip |
Notes
Diffstat (limited to 'lang/basic256')
-rw-r--r-- | lang/basic256/files/patch-Interpreter.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/basic256/files/patch-Interpreter.cpp b/lang/basic256/files/patch-Interpreter.cpp new file mode 100644 index 000000000000..6e89aa3b1b37 --- /dev/null +++ b/lang/basic256/files/patch-Interpreter.cpp @@ -0,0 +1,17 @@ +Drop 'using namespace std' to avoid errors when building in C++11 mode. This +can happen on FreeBSD 10+ and Qt 5.6+, where Qt may end up passing -std=gnu++11 +and lead the call to bind(2) becoming a call to std::bind(). + +Interpreter.cpp:4282:105: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int') + +Submitted upstream: https://sourceforge.net/p/kidbasic/patches/30/ +--- Interpreter.cpp.orig 2016-09-03 10:00:06 UTC ++++ Interpreter.cpp +@@ -66,7 +66,6 @@ InpOut32OutType Out32 = NULL; + + #include <QtWidgets/QMessageBox> + +-using namespace std; + + #include "LEX/basicParse.tab.h" + #include "WordCodes.h" |