KhronosGroup / KhronosGroup/OpenCL-Headers
Resolve MSVC syntax error for half literals
Open
- Dominant language
- C
- Stars
- 766
- Forks
- 273
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 3
Description
The cl_half rounding tests trigger `C2059: syntax error: 'bad suffix on number' ` on MSVC due to misformatted literals. Found [here](https://github.com/KhronosGroup/OpenCL-Headers/pull/107/commits/adf1f89fc6aa16b6423a54149d56216e73a9aca8).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the cl_half rounding tests and reproduce the C2059 bad-suffix error on MSVC. Compare the literals with the formatting shown in the linked pull-request commit; done means the rounding tests no longer trigger the MSVC syntax error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100