[
https://issues.apache.org/jira/browse/PROTON-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17519193#comment-17519193
]
ASF GitHub Bot commented on PROTON-2529:
----------------------------------------
ffontaine opened a new pull request, #366:
URL: https://github.com/apache/qpid-proton/pull/366
Don't call `check_language(CXX)` if `BUILD_CPP` is not set to avoid the
following if a non working C++ compiler is installed on the system:
```
CMake Error at
/nvmedata/autobuild/instance-25/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59
(message):
The C++ compiler
"/usr/bin/c++"
is not able to compile a simple test program.
```
Fixes:
-
http://autobuild.buildroot.org/results/7bf05fb0208fa09543f841ec6e7adc6e4d984b0c
Signed-off-by: Fabrice Fontaine <[email protected]>
> Build failure without a working C++ compiler
> --------------------------------------------
>
> Key: PROTON-2529
> URL: https://issues.apache.org/jira/browse/PROTON-2529
> Project: Qpid Proton
> Issue Type: Bug
> Components: cpp-binding
> Affects Versions: proton-c-0.35.0
> Environment: buildroot
> Reporter: Fabrice Fontaine
> Priority: Minor
>
> Calling check_language(CXX) if BUILD_CPP is not set will raise the following
> if a non working C++ compiler is installed on the system:
> {code:cpp}
> CMake Error at
> /nvmedata/autobuild/instance-25/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59
> (message):
> The C++ compiler
> "/usr/bin/c++"
> is not able to compile a simple test program.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]