Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 749562 Details for
Bug 775620
media-gfx/nomacs-3.16.224-r2[-opencv] with gcc10: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [2]’)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
compile-as-CXX20-not-CXX11.patch
compile-as-CXX20-not-CXX11.patch (text/plain), 697 bytes, created by
genBTC
on 2021-11-08 15:28:37 UTC
(
hide
)
Description:
compile-as-CXX20-not-CXX11.patch
Filename:
MIME Type:
Creator:
genBTC
Created:
2021-11-08 15:28:37 UTC
Size:
697 bytes
patch
obsolete
>--- a/CMakeLists.txt 2020-07-17 03:05:29.000000000 -0400 >+++ b/CMakeLists.txt 2021-11-08 09:35:30.641580386 -0500 >@@ -91,9 +91,12 @@ > endif() > > include(CheckCXXCompilerFlag) >+CHECK_CXX_COMPILER_FLAG("-std=c++20" COMPILER_SUPPORTS_CXX20) > CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11) > CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X) >-if(COMPILER_SUPPORTS_CXX11) >+if(COMPILER_SUPPORTS_CXX20) >+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++20 -Wno-deprecated-enum-enum-conversion") >+elseif(COMPILER_SUPPORTS_CXX11) > set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") > elseif(COMPILER_SUPPORTS_CXX0X) > set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
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
Actions:
View
|
Diff
Attachments on
bug 775620
:
690978
| 749562