RobinHankin / clifford

https://robinhankin.github.io/clifford/
5 stars 0 forks source link

compiler warnings #69

Closed RobinHankin closed 2 years ago

RobinHankin commented 2 years ago

On the CRAN package check page I see

Version: 1.0-5
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     ./clifford.h:120:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:121:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:122:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:123:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:136:17: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:210:71: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:211:70: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:257:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:258:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:259:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:260:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:261:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:262:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:263:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:264:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:265:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:266:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:267:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:268:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:269:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:270:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:271:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:272:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:290:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:291:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:292:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:293:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:294:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:295:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:296:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:297:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:298:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:299:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:300:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:301:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:302:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:303:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:304:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./clifford.h:305:19: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
Flavors: [r-devel-linux-x86_64-debian-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/clifford-00check.html), [r-devel-linux-x86_64-fedora-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/clifford-00check.html)