AcademySoftwareFoundation / AcademySoftwareFoundation/Imath
Error compiling with nvcc
Open
- Dominant language
- C++
- Stars
- 488
- Forks
- 161
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 3
Description
Compiling following program with nvcc:
```
#include
int main()
{
return 0;
}
```
Generates following errors:
```
./Imath/ImathTypeTraits.h:194:86: error: ‘type name’ declared as function returning an array
194 | template
Contributor guide
Research direction
Start with Imath/ImathTypeTraits.h around line 194 and reproduce the reported command, nvcc toy.cu -I /path/to/Imath/include/, using nvcc 11.5 and GCC 9.3. Investigate the reported template and lambda diagnostics; done means the sample including Imath/ImathTypeTraits.h compiles successfully with nvcc.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100