DynamoRIO / DynamoRIO/drmemory
operators.cpp test compilation failure under gcc 6.2.0
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
I have the following error when I'm trying to build drmemory in a recent version of Ubuntu with gcc 6.2.0:
`/home/osboxes/drmemory_clean/drmemory/tests/operators.cpp: In function ‘void test_throw()’:
/home/osboxes/drmemory_clean/drmemory/tests/operators.cpp:126:81: error: size of array is too large
hasdtr *lots = new hasdtr[IF_UNIX_ELSE(SIZE_OOM,SIZE_OOM/sizeof(hasdtr))];
^
tests/CMakeFiles/operators.dir/build.make:57: recipe for target 'tests/CMakeFiles/operators.dir/operators.cpp.o' failed
make[2]: *** [tests/CMakeFiles/operators.dir/operators.cpp.o] Error 1
CMakeFiles/Makefile2:3217: recipe for target 'tests/CMakeFiles/operators.dir/all' failed
make[1]: *** [tests/CMakeFiles/operators.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2`
The gcc 6.2.0 is not in a list of supported compilers but anyway it would be better to support new compilers as well.
Contributor guide
Assessment
This issue has not been assessed yet.