catchorg / catchorg/Catch2

invalid operands to binary expression

Open
#1,381 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
21.5k
Forks
3.5k
Avg merge
3d 16h
Merged PRs (30d)
2

Description

The compiler fails on

REQUIRE(option & flag);

with "error: no match for 'operator&' ". However, it works fine with REQUIRE((option & flag));

Possibly this is of interest?

* Catch version: v2.0.1
* Operating System: Centos7
* Compiler+version: gcc 6.3.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.