View | Details | Raw Unified | Return to bug 212347
Collapse All | Expand All

(-)files/patch-Interpreter.cpp (+17 lines)
Line 0 Link Here
1
Drop 'using namespace std' to avoid errors when building in C++11 mode. This
2
can happen on FreeBSD 10+ and Qt 5.6+, where Qt may end up passing -std=gnu++11
3
and lead the call to bind(2) becoming a call to std::bind().
4
5
Interpreter.cpp:4282:105: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int')
6
7
Submitted upstream: https://sourceforge.net/p/kidbasic/patches/30/
8
--- Interpreter.cpp.orig	2016-09-03 10:00:06 UTC
9
+++ Interpreter.cpp
10
@@ -66,7 +66,6 @@ InpOut32OutType Out32 = NULL;
11
 
12
 #include <QtWidgets/QMessageBox>
13
 
14
-using namespace std;
15
 
16
 #include "LEX/basicParse.tab.h"
17
 #include "WordCodes.h"

Return to bug 212347