FreeBSD Bugzilla – Attachment 174331 Details for
Bug 212347
[PATCH] lang/basic256: Add patch (sent upstream) to drop 'using namespace std'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
basic256-namespace-std.diff (text/plain), 1.20 KB, created by
Raphael Kubo da Costa
on 2016-09-03 10:08:50 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Raphael Kubo da Costa
Created:
2016-09-03 10:08:50 UTC
Size:
1.20 KB
patch
obsolete
>Index: files/patch-Interpreter.cpp >=================================================================== >--- files/patch-Interpreter.cpp (nonexistent) >+++ files/patch-Interpreter.cpp (working copy) >@@ -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" > >Property changes on: files/patch-Interpreter.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
rakuco
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 212347
: 174331