KhronosGroup / KhronosGroup/OpenCOLLADA
PCRE error
- Dominant language
- C++
- Stars
- 679
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/KhronosGroup/OpenCOLLADA/blob/a748c0e07e6b8bed78247a6b7b8bb780a6fe5a4d/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h#L16
Have a look at the current pcre header in line 324 (https://vcs.pcre.org/pcre/code/trunk/pcre.h.in?view=markup#L324):
```C
struct real_pcre8_or_16; /* declaration; the definition is private */
typedef struct real_pcre8_or_16 pcre;
```
The current OpenCOLLADA definition creates an error:
```
pcre.h(325): error C2371: 'pcre': redefinition; different basic types
```
https://vcs.pcre.org/pcre/code/trunk/pcre.h.in?r1=1454&r2=1710
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h at line 16, then compare its PCRE declaration with the referenced pcre.h.in definition around line 324. Reproduce the compiler error with the affected PCRE headers and confirm the build succeeds without the conflicting pcre definition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100